thank you so much for your detailed post.
It seems to me that the entry point for Castalia is being taken as the entry point of the fuzzylite library.
I believe the behaviour you want with
data = subprocess.check_output([pathToCastaliaBin, ‘-f’, ‘omnetpp.tmp’, ‘-x’, ‘General’]).split(“\n”) is to execute Castalia and not fuzzylite. It seems that the binary is executing the
main method of the fuzzylite library.
To address this, I suggest that you exclude the
main.cpp file from building in your project.
Hope this works. Let me know if it does not.