OMSimulator icon indicating copy to clipboard operation
OMSimulator copied to clipboard

Event mode and termination requests from fmi2_completedIntegratorStep are ignored in SystemSC

Open rruusu opened this issue 3 months ago • 1 comments

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

rruusu avatar Oct 17 '25 13:10 rruusu