- Index
- » Users
- » Olivier Sohn
- » Profile
Posts
Posts
Hello,
I am trying to optimize the fmu binaries with cpp runtime, but the flags I set using cppFlags don't seem to be taken into account as the following commands produce the same binaries on windows :
omc +simCodeTarget=Cpp +cppFlags=-O0 test.mos
omc +simCodeTarget=Cpp +cppFlags=-O2 test.mos
omc +simCodeTarget=Cpp +cppFlags=-Os test.mos
Is it the right way to use cppFlags in this context?
Regards,
Olivier
Hello,
In OpenModelica 1.9.3, I compiled a fmu in two versions : against cpp runtime and against c runtime.
With cpp runtime, in the modelDescription.xml, numberOfEventIndicators is 0, whereas it is 1 with the c runtime.
I was wondering if this is a bug?
I'm trying to investigate a difference in results for both fmus, and thought this could be a reason?
Thank you,
Olivier
- Index
- » Users
- » Olivier Sohn
- » Profile