Skip to content

Add fatal status check to allowedState function - #701

Open
Tc-Fast wants to merge 1 commit into
modelica:mainfrom
Tc-Fast:check-for-fatal-state
Open

Tc-Fast wants to merge 1 commit into
modelica:mainfrom
Tc-Fast:check-for-fatal-state

Conversation

@Tc-Fast

@Tc-Fast Tc-Fast commented Sep 21, 2026

Copy link
Copy Markdown
Contributor

Closes #141

Disallows any state transition after status has been set to fatal.
fmi2/3FreeInstance still succeeds after fatal, because it bypasses the check (preexisting behavior).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Check for error or fatal state in assertState()

1 participant