Opened 7 years ago
Closed 7 years ago
#4708 closed defect (fixed)
Profiling information reporting is broken in OMEdit
Reported by: | Francesco Casella | Owned by: | Adeel Asghar |
---|---|---|---|
Priority: | critical | Milestone: | 1.13.0 |
Component: | OMEdit | Version: | |
Keywords: | Cc: |
Description
I just tried to get the profiling information in OMEdit for the Modelica.Fluid.Examples.DrumBoiler.DrumBoiler
model. I set Profiling to all in the simulation flags window and run the simulation in debug mode. The simulation runs successfully, but eventually the process crashes with this error message:
LOG_SUCCESS | info | <p>The simulation finished successfully.</p> stdout | info | <p>Time measurements are stored in C:/Users/casella/AppData/Local/Temp/OpenModelica/OMEdit/Modelica.Fluid.Examples.DrumBoiler.DrumBoiler/Modelica.Fluid.Examples.DrumBoiler.DrumBoiler_prof.json</p> stdout | error | <p>Process crashed</p> stdout | error | <p>Process crashed<br> Simulation process failed. Exited with code -1073740940.</p>and no profiling info is reported in the debugger window
and no profiling info is provided in the debugger window. BTW, note that some information in the error message is put after the </p> tag, so it is not visible in the Simulation Output window but only if I copy&paste it somewhere else.
Note:
See TracTickets
for help on using tickets.
Fixed in bb64e1/OMEdit.
Try the new nightly build tomorrow. The problem was that I am deleting the intermediate compilation files right after the compilation and profiling need some of those files. So as workaround you can disable deletion of intermediate compilation files.