Opened 5 years ago

Last modified 4 years ago

#6062 new enhancement

Proper handling of changed global settings — at Version 1

Reported by: Oliver Lenord Owned by: Adeel Asghar
Priority: high Milestone:
Component: OMEdit Version: v1.16.0-dev
Keywords: compiler flags Cc:

Description (last modified by Oliver Lenord)

As reported in https://trac.openmodelica.org/OpenModelica/ticket/6059 and https://trac.openmodelica.org/OpenModelica/ticket/6061 it is unexpected that changes to the settings, e.g. compiler flags, are not carried over to the simulation unless OMEdit is restarted.

The dialog box has a disclaimer saying: "Global flags applied to the Simulation Setup dialog upon the first simulation of a model."

In other words once a model has been simulated the only way to apply changes to the settings is through the "Simulation Setup" dialog.

None of the following helps to update the local settings:

  • Simulate
  • Re-simulate
  • Re-simulate Setup (at least this should work)
  • Unload+reload+simulate
  • Delete results+simulate

Only a restart of OMEdit will carry over the global settings to the new simulation.

As this behavior is at least partially unexpected it can cause a significant amount of frustration when trying out different compiler flags.

I suggest that when a model is re-compiled, then it should also appreciate the latest global settings.

Change History (1)

comment:1 by Oliver Lenord, 5 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.