- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMI co-simulation 1.0
FMI co-simulation 1.0
FMI co-simulation 1.0
Hi,
I found an Open Modelica version which export FMI co-simulation 1.0, which is what is needed to co-simulate with IPG CarMaker. I am Connected to OpenModelica v1.9.4-dev.beta2-18-g812a38e.
The model works fine with compiler C language and gcc. But this model has LoadLibrary() error when co-simulated in IPG CarMaker. Then I learned that the same FMU model when exported from Dymola with visual studio complier can be co-simulated in IPG CarMaker without any issues.
Then I tried changing the compiler used by my Open Modelica to C and msvc, but the model does not compiler with this compiler. Can someone please suggest me a way to compile with visual studio compilers in Open Modelica?
Thank you!!
Best Regards
Akshay
Re: FMI co-simulation 1.0
Hi,
It seems the C MVSC runtime is a bit broken. I'll have a look at it.
You can try selecting the Cpp target language in Tools->Options->Simulation.
Cheers,
Adrian Pop/
- adrpo
- 885 Posts
Re: FMI co-simulation 1.0
I opened a ticket about the broken C runtime for MSVC:
https://trac.openmodelica.org/OpenModelica/ticket/3790
- adrpo
- 885 Posts
Re: FMI co-simulation 1.0
- adrpo
- 885 Posts
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » FMI co-simulation 1.0