I tried to load a custom FMU file from one of our simulations and received an exception stating that it cannot load the model description when calling the Model.Load(string fmuPath) method.
I then tried to load your BouncingBall.fmu simulation. I cloned the project to more easily follow the exception. I found that during the loading of the modelDescription.xml file, the variable coSimulationId was null. The attribute 'modelIdentifier' is searched for in the BasicCoSimulation tag, which seems to not exist.
I have the same problem, I fixed it by renaming every variable / method name that contains something"BasicCoSimulation"something to something"CoSimulation"something
Hello,
Thanks a lot for this project.
I tried to load a custom FMU file from one of our simulations and received an exception stating that it cannot load the model description when calling the Model.Load(string fmuPath) method.
I then tried to load your BouncingBall.fmu simulation. I cloned the project to more easily follow the exception. I found that during the loading of the modelDescription.xml file, the variable
coSimulationId
was null. The attribute 'modelIdentifier' is searched for in theBasicCoSimulation
tag, which seems to not exist.Am I misusing the API in some way?
Thank you for your help!
I used the fmu file from here: https://github.com/modelica/Reference-FMUs/releases/download/v0.0.35/Reference-FMUs-0.0.35.zip