modelon-community/fmi-library

Loading the Instantiate function for all 3 types of execution mode (ME, CS & SE) as common functions.

Closed this issue · 1 comments

Irrespective of simulation mode, instantiation functions for all the simulation kind are loaded as the common functions in fmi3_capi_load_common_fcn().

If I have a FMU built for Co-Simulation and doesn't have entry point for fmi3InstantiateModelExchange and fmi3InstantiateScheduledExecution, then fmi3_import_create_dllfmu fails with an error. This behavior mandates the FMU to have all the 3 instantiation function entry points irrespective of the simulation mode.

Kindly fix this!

This was changed in FMI 3.0.1: modelica/fmi-standard#1868