OMSimulator
OMSimulator copied to clipboard
Event mode and termination requests from fmi2_completedIntegratorStep are ignored in SystemSC
Description
The HEAD of maintenance/v2.1 ignores values set to the enterEventMode and terminateSimulation arguments of calls to fmi2_completedIntegratorStep , requesting an immediate enter into event mode and simulation termination correspondingly.
The values read into SystemSC::enterEventMode are never accessed at all.
This was introduced in #1341. Before this, any request for events from fmi2_completedIntegratorStep resulted in an endless loop (see #1319).
Versions
Affected branches:
- master
- maintenance/v2.1