Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Consistency between Modelica language external functions, and source code FMUs #545
For all Modelica tools, it should be possible to generate a source code FMU from Modelica. Therefore, source code FMUs should allow at least the same languages as the Modelica external function interface.
This will also have consequences for Modelica Libraries, where sources for external dependencies are not always included. This is handled separately in the Modelica specification repo.
For reference, here is the text from the Modelica external function interface. Unfortunately, in latex source, but probably still readable.
Here, the word function is used to refer to an arbitrary external
The format of an external function declaration is as follows.
The language-specification must currently be one of "builtin", "C",
The "builtin" specification is only used for functions that are defined
The external-function-call specification allows functions whose
The only permissible kinds of expressions in the argument list are
A component reference to a component that is part of an input or output