Some additional debugging features has been added to make it easier to find the root-cause if a simulation does not function as it is supposed to.
Print to simulation log
A boolean constant printExternalFunctionCall
has been added to
MultiPhaseMixture.Templates.ExternalTwoPhaseMixture. Setting this constant to true in
your medium declaration will print property calls from Modelica to
the simulation log.
Print to external
log
Also logging on the external C-interface can be enabled by
setting CodeLogging=true
in the setup information, see
MultiPhaseMixture.Information.ExternalPropertyPackages.CapeOpen
for example. If enabled, the C-function call will be logged into a
file named testcode.log in your current directory.