- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Problems with OM dlls and Model exe
Problems with OM dlls and Model exe
Problems with OM dlls and Model exe
Hi,
I recently noticed a strange issue while using OM.
Problem : Model exe is gets modified (date in the file explorer changes) and .dlls are getting corrupted.
I use OpenModelica1.12.0-alpha-64bit on a Windows 10 machine.
In my setup I have a compiled exe of my Model generated using OpenModelica. I have pasted the required .dlls from the bin folder into the %temp%/OpenModelica/OMEdit folder and I execute the exe using a batch file command
"start /b /d "%temp%/OpenModelica" <name of exe> -rt 1.0 -embeddeServer opc-ua"
What I have observed is the last modified date of the exe changes everytime I run the batch file. Also after a few minutes of simulation certain .dlls like "libsundials_nvecserial.dll" and a few more get corrupted (file size becomes 0kb)
I then just re copy the dlls from the bin folder and continue using the model.
Any idea why this happens??
- Index
- » Usage and Applications
- » OpenModelica Usage and Applications
- » Problems with OM dlls and Model exe