Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register
  • Index
  • » Users
  • » Rabuzin
  • » Profile

Posts

Posts

Since I wrote the first post, I have switched to Cpp as target and the problem seems to have disappeared.

Hi,

I tried exporting FMUs v2.0 from different versions of OpenModelica (1.14, 1.16 dev and latest) and both me and cs. With every type of FMU I have tried to run a parameter sweep usign fmpy.
At the end of each simulation, I call fmi2reset. However, whenever fmi2ExitInitializationMode is called again, an exception is raised saying

Code:

access violation writing 0x0000000000000000

.

One example of such failing FMU is attached.

Do you have any idea what might have went wrong?

Regards
FMU.fmu

  • Index
  • » Users
  • » Rabuzin
  • » Profile
You are here: