Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception when loading FMU file BouncingBall.fmu #9

Open
noar12 opened this issue Oct 11, 2024 · 1 comment
Open

Exception when loading FMU file BouncingBall.fmu #9

noar12 opened this issue Oct 11, 2024 · 1 comment

Comments

@noar12
Copy link

noar12 commented Oct 11, 2024

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 the BasicCoSimulation 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

@damian-leporis-se
Copy link

I have the same problem, I fixed it by renaming every variable / method name that contains something"BasicCoSimulation"something to something"CoSimulation"something

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants