Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEnthalpy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 235 MB / 247.6 MB, free: 14.3 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.773e-05/3.783e-05, allocations: 0 / 305 MB, free: 5.555 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5004/0.5005, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.942/8.442, allocations: 2.587 GB / 2.939 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002792/8.443, allocations: 87.45 kB / 2.939 GB, free: 106.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.353/9.796, allocations: 290.3 MB / 3.222 GB, free: 77.07 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.164e-06/9.796, allocations: 0 / 3.222 GB, free: 77.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.958e-05/9.796, allocations: 11.44 kB / 3.222 GB, free: 77.07 MB / 490.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.005513/9.802, allocations: 1.199 MB / 3.223 GB, free: 76.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/9.802, allocations: 11.47 kB / 3.223 GB, free: 76.25 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.984e-05/9.802, allocations: 64.14 kB / 3.223 GB, free: 76.2 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/9.803, allocations: 121.2 kB / 3.223 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007267/9.804, allocations: 348.9 kB / 3.224 GB, free: 75.9 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/9.804, allocations: 24.28 kB / 3.224 GB, free: 75.89 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.673e-05/9.804, allocations: 34.48 kB / 3.224 GB, free: 75.87 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001339/9.805, allocations: 434.1 kB / 3.224 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.552e-05/9.805, allocations: 3.797 kB / 3.224 GB, free: 75.64 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.358e-05/9.805, allocations: 15.62 kB / 3.224 GB, free: 75.63 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.189e-05/9.805, allocations: 11.69 kB / 3.224 GB, free: 75.63 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001153/9.807, allocations: 319.2 kB / 3.225 GB, free: 75.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003055/9.81, allocations: 2.252 MB / 3.227 GB, free: 73.58 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/9.811, allocations: 215.5 kB / 3.227 GB, free: 73.5 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/9.811, allocations: 49.67 kB / 3.227 GB, free: 73.48 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005277/9.811, allocations: 483.4 kB / 3.228 GB, free: 72.99 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/9.811, allocations: 38.41 kB / 3.228 GB, free: 72.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=12): time 2.415e-06/9.811, allocations: 0 / 3.228 GB, free: 72.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=12): time 0.001463/9.813, allocations: 339.2 kB / 3.228 GB, free: 72.84 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.716e-05/9.813, allocations: 102.8 kB / 3.228 GB, free: 72.71 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003499/9.813, allocations: 240 kB / 3.228 GB, free: 72.57 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/9.813, allocations: 29.7 kB / 3.228 GB, free: 72.54 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000132/9.813, allocations: 276.7 kB / 3.228 GB, free: 72.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.09e-05/9.814, allocations: 34.64 kB / 3.229 GB, free: 72.27 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.725e-05/9.814, allocations: 7.406 kB / 3.229 GB, free: 72.27 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.086e-05/9.814, allocations: 326 kB / 3.229 GB, free: 71.95 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/9.814, allocations: 52.91 kB / 3.229 GB, free: 71.93 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002137/9.814, allocations: 178.8 kB / 3.229 GB, free: 71.73 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001903/9.814, allocations: 88.86 kB / 3.229 GB, free: 71.7 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/9.814, allocations: 3.938 kB / 3.229 GB, free: 71.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005451/9.815, allocations: 233.5 kB / 3.229 GB, free: 71.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/9.815, allocations: 7.938 kB / 3.229 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/9.815, allocations: 3.969 kB / 3.229 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/9.815, allocations: 7.906 kB / 3.229 GB, free: 71.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/9.815, allocations: 79.44 kB / 3.229 GB, free: 71.59 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.547e-05/9.815, allocations: 7.875 kB / 3.229 GB, free: 71.58 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/9.816, allocations: 53.44 kB / 3.23 GB, free: 71.56 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.355e-05/9.816, allocations: 18.75 kB / 3.23 GB, free: 71.56 MB / 490.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.0001029/9.816, allocations: 124.8 kB / 3.23 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.375e-05/9.816, allocations: 23.59 kB / 3.23 GB, free: 71.42 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/9.817, allocations: 0.6221 MB / 3.23 GB, free: 71.11 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/9.817, allocations: 11.67 kB / 3.23 GB, free: 71.1 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/9.817, allocations: 3.938 kB / 3.23 GB, free: 71.1 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/9.817, allocations: 0 / 3.23 GB, free: 71.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000672/9.818, allocations: 485.7 kB / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/9.818, allocations: 0 / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/9.818, allocations: 55.7 kB / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/9.818, allocations: 0 / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/9.818, allocations: 0 / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/9.818, allocations: 0 / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/9.818, allocations: 0 / 3.231 GB, free: 70.76 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/9.819, allocations: 389.2 kB / 3.231 GB, free: 70.51 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/9.819, allocations: 143.5 kB / 3.231 GB, free: 70.38 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/9.819, allocations: 3.234 kB / 3.231 GB, free: 70.38 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003048/9.819, allocations: 32.8 kB / 3.231 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.349e-05/9.819, allocations: 13.22 kB / 3.231 GB, free: 70.37 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/9.819, allocations: 3.75 kB / 3.231 GB, free: 70.37 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003048/9.82, allocations: 227.3 kB / 3.232 GB, free: 70.25 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.2e-07/9.82, allocations: 3.938 kB / 3.232 GB, free: 70.24 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005137/9.825, allocations: 0.8693 MB / 3.232 GB, free: 70.06 MB / 490.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.009729/9.835, allocations: 2.102 MB / 3.235 GB, free: 69.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0005478/9.835, allocations: 201.3 kB / 3.235 GB, free: 69.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/9.835, allocations: 0 / 3.235 GB, free: 69.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002044/9.835, allocations: 129.4 kB / 3.235 GB, free: 68.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00108/9.837, allocations: 116.2 kB / 3.235 GB, free: 68.94 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1919/10.03, allocations: 55.11 MB / 3.289 GB, free: 23.29 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/10.03, allocations: 0.8347 MB / 3.29 GB, free: 22.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002448/10.03, allocations: 131.4 kB / 3.29 GB, free: 22.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.613e-06/10.03, allocations: 0 / 3.29 GB, free: 22.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.698/13.73, allocations: 23.64 MB / 3.313 GB, free: 74.97 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEnthalpy_res.mat does not exist to compare? outputFormat=mat