Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.957e-05, allocations: 0 / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.898/8.011, allocations: 2.476 GB / 2.791 GB, free: 92.28 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/8.011, allocations: 82.83 kB / 2.791 GB, free: 92.24 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.613/9.624, allocations: 283.5 MB / 3.068 GB, free: 47.43 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.174e-06/9.624, allocations: 0 / 3.068 GB, free: 47.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.261e-05/9.625, allocations: 7.344 kB / 3.068 GB, free: 47.43 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.005547/9.63, allocations: 1.178 MB / 3.069 GB, free: 46.89 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/9.63, allocations: 9.594 kB / 3.069 GB, free: 46.89 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001031/9.63, allocations: 61.31 kB / 3.069 GB, free: 46.85 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/9.632, allocations: 118.3 kB / 3.069 GB, free: 46.83 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009056/9.633, allocations: 353.6 kB / 3.069 GB, free: 46.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.595e-05/9.633, allocations: 24.19 kB / 3.069 GB, free: 46.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/9.633, allocations: 25.97 kB / 3.069 GB, free: 46.62 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/9.634, allocations: 429.9 kB / 3.07 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/9.634, allocations: 1.969 kB / 3.07 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.415e-05/9.634, allocations: 15.84 kB / 3.07 GB, free: 46.5 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.76e-05/9.634, allocations: 15.64 kB / 3.07 GB, free: 46.49 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00132/9.636, allocations: 325.5 kB / 3.07 GB, free: 46.49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/9.639, allocations: 2.246 MB / 3.072 GB, free: 44.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/9.64, allocations: 218.2 kB / 3.073 GB, free: 44.72 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001423/9.64, allocations: 47.92 kB / 3.073 GB, free: 44.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005622/9.641, allocations: 486.2 kB / 3.073 GB, free: 44.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.492e-05/9.641, allocations: 32.34 kB / 3.073 GB, free: 44.21 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 4.508e-06/9.641, allocations: 0 / 3.073 GB, free: 44.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001564/9.643, allocations: 336.6 kB / 3.073 GB, free: 44.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.466e-05/9.643, allocations: 104.2 kB / 3.073 GB, free: 44.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003944/9.643, allocations: 251.3 kB / 3.074 GB, free: 43.93 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/9.643, allocations: 30.95 kB / 3.074 GB, free: 43.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001408/9.643, allocations: 275.1 kB / 3.074 GB, free: 43.71 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/9.643, allocations: 40.89 kB / 3.074 GB, free: 43.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/9.643, allocations: 4.656 kB / 3.074 GB, free: 43.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.153e-05/9.644, allocations: 323.8 kB / 3.074 GB, free: 43.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001411/9.644, allocations: 47.78 kB / 3.074 GB, free: 43.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002171/9.644, allocations: 191.2 kB / 3.075 GB, free: 43.2 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/9.644, allocations: 77.81 kB / 3.075 GB, free: 43.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/9.644, allocations: 0 / 3.075 GB, free: 43.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005708/9.645, allocations: 238.7 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/9.645, allocations: 7.219 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/9.645, allocations: 3.969 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.278e-05/9.645, allocations: 14.69 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004846/9.645, allocations: 70.39 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.701e-05/9.645, allocations: 18.31 kB / 3.075 GB, free: 43.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000481/9.646, allocations: 50.59 kB / 3.075 GB, free: 43.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/9.646, allocations: 11.44 kB / 3.075 GB, free: 43.15 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 2 (boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001073/9.646, allocations: 124.6 kB / 3.075 GB, free: 43.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.036e-05/9.646, allocations: 27.02 kB / 3.075 GB, free: 43.03 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/9.647, allocations: 0.6326 MB / 3.076 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/9.647, allocations: 6.219 kB / 3.076 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/9.647, allocations: 0 / 3.076 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/9.647, allocations: 7.562 kB / 3.076 GB, free: 42.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/9.648, allocations: 478 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-06/9.648, allocations: 3.125 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003618/9.648, allocations: 44.94 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/9.648, allocations: 0 / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.093e-05/9.648, allocations: 11.12 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.248e-06/9.648, allocations: 7.312 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/9.648, allocations: 2.312 kB / 3.076 GB, free: 42.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/9.649, allocations: 371.6 kB / 3.077 GB, free: 42.57 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001963/9.649, allocations: 155.5 kB / 3.077 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.41e-05/9.649, allocations: 0 / 3.077 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003223/9.65, allocations: 36.56 kB / 3.077 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.775e-05/9.65, allocations: 15 kB / 3.077 GB, free: 42.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.501e-05/9.65, allocations: 1.5 kB / 3.077 GB, free: 42.44 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003319/9.65, allocations: 229.9 kB / 3.077 GB, free: 42.35 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/9.65, allocations: 0 / 3.077 GB, free: 42.35 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004736/9.655, allocations: 0.8671 MB / 3.078 GB, free: 42.22 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse4.phase,$cse4.region,boundary_prescriberho_1.medium.phase,boundary_prescriberho_2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009741/9.665, allocations: 2.105 MB / 3.08 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005649/9.665, allocations: 191.4 kB / 3.08 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.428e-06/9.665, allocations: 2.812 kB / 3.08 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002065/9.666, allocations: 126.3 kB / 3.08 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001126/9.667, allocations: 129.7 kB / 3.08 GB, free: 41.38 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1952/9.862, allocations: 55.09 MB / 3.134 GB, free: 39.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003241/9.862, allocations: 0.8362 MB / 3.135 GB, free: 38.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00024/9.863, allocations: 134.2 kB / 3.135 GB, free: 38.79 MB / 426.7 MB Notification: Performance of SimCode: time 1.252e-06/9.863, allocations: 0 / 3.135 GB, free: 38.79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.272/13.13, allocations: 23.57 MB / 3.158 GB, free: 34.69 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat