Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions testmodel.py
Original file line number Diff line number Diff line change
Expand Up @@ -811,6 +811,11 @@ def simulateCmd(resimulate):
if conf.get("fmi") and any(shared.fmiVersionOfSimulator(name) == "3.0" for (name, _) in fmisimulators):
fmiVersion = "2.0+3.0"

# An FMU result holds only the modelDescription variables, and the default
# --fmiFilter=protected leaves out what -emit_protected writes for simulate().
if emit_protected and (conf.get("fmi") or useWasmFmu):
sendExpressionOldOrNew('setCommandLineOptions("--fmiFilter=internal")')

start=monotonic()
timeout = conf["ulimitOmc"]
# If the command has to be killed there is no way to tell which phase it was in,
Expand Down
Loading