Skip to content

main: tolerance in fmi3EnterInitializationMode returns fmi3Discard; Feedthrough and StateSpace refuse Event Mode #719

Backlog

Description

@sjoelund

Note

🤖 Written by Claude Opus 5.5 (an AI model by Anthropic), posted from @sjoelund's account.

On main (e101bb5), two changes since v0.0.42 stop importers that worked with v0.0.42. Both are in src/common.c (since #718) and occur in the native and the wasm FMUs. We built with build/build.py x86_64-linux and called the shared libraries directly.

  1. fmi3EnterInitializationMode(instance, fmi3True, 1e-6, 0, fmi3False, 0) returns fmi3Discard and logs "Relative tolerance is not supported." for each model (common.c#L347-L350). v0.0.42 returns fmi3OK. An importer that gives the tolerance (for example the tolerance of the DefaultExperiment, which Roberts declares) cannot initialize a model.
  2. Feedthrough and StateSpace declare hasEventMode="true", but fmi3InstantiateCoSimulation with eventModeUsed = fmi3True returns NULL and logs "Event Mode is not supported." (common.c#L169-L179). Their config.h does not define EVENT_UPDATE. v0.0.42 accepts Event Mode for both models.

🤖 Generated with Claude Opus 5.5

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions