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 1.976/1.976, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.141e-05/4.166e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1198, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.818/7.938, allocations: 2.476 GB / 2.791 GB, free: 92.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/7.938, allocations: 80.39 kB / 2.791 GB, free: 92.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.588/9.527, allocations: 283.5 MB / 3.068 GB, free: 47.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/9.527, allocations: 0 / 3.068 GB, free: 47.05 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.261e-05/9.527, allocations: 11.81 kB / 3.068 GB, free: 47.05 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.005223/9.532, allocations: 1.182 MB / 3.069 GB, free: 46.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.471e-05/9.532, allocations: 9.031 kB / 3.069 GB, free: 46.51 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.728e-05/9.532, allocations: 64.34 kB / 3.069 GB, free: 46.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001301/9.533, allocations: 118.6 kB / 3.069 GB, free: 46.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/9.534, allocations: 344.7 kB / 3.069 GB, free: 46.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.489e-05/9.534, allocations: 28.59 kB / 3.069 GB, free: 46.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/9.534, allocations: 26.3 kB / 3.069 GB, free: 46.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/9.536, allocations: 436.2 kB / 3.07 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/9.536, allocations: 3.594 kB / 3.07 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.105e-05/9.536, allocations: 14.81 kB / 3.07 GB, free: 46.12 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.554e-05/9.536, allocations: 10.95 kB / 3.07 GB, free: 46.11 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001166/9.537, allocations: 331.5 kB / 3.07 GB, free: 46.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002997/9.54, allocations: 2.244 MB / 3.072 GB, free: 44.37 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009495/9.541, allocations: 224.9 kB / 3.073 GB, free: 44.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/9.541, allocations: 54.89 kB / 3.073 GB, free: 44.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/9.542, allocations: 479.9 kB / 3.073 GB, free: 43.87 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/9.542, allocations: 33.88 kB / 3.073 GB, free: 43.83 MB / 426.7 MB Notification: Performance of pre-optimization done (n=12): time 2.705e-06/9.542, allocations: 2.188 kB / 3.073 GB, free: 43.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=12): time 0.001475/9.543, allocations: 336.8 kB / 3.073 GB, free: 43.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/9.543, allocations: 107 kB / 3.073 GB, free: 43.66 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003439/9.544, allocations: 241.7 kB / 3.074 GB, free: 43.55 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.673e-05/9.544, allocations: 30.95 kB / 3.074 GB, free: 43.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/9.544, allocations: 274.8 kB / 3.074 GB, free: 43.32 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.384e-05/9.544, allocations: 40.55 kB / 3.074 GB, free: 43.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.708e-05/9.544, allocations: 4.938 kB / 3.074 GB, free: 43.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.223e-05/9.544, allocations: 320.7 kB / 3.074 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/9.544, allocations: 49.94 kB / 3.074 GB, free: 42.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002319/9.544, allocations: 185.1 kB / 3.075 GB, free: 42.82 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/9.545, allocations: 79.47 kB / 3.075 GB, free: 42.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/9.545, allocations: 1.312 kB / 3.075 GB, free: 42.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005543/9.545, allocations: 261.8 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/9.545, allocations: 7.062 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.978e-06/9.545, allocations: 3.969 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/9.545, allocations: 7.594 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/9.546, allocations: 77.27 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.475e-05/9.546, allocations: 7.375 kB / 3.075 GB, free: 42.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000443/9.546, allocations: 54.69 kB / 3.075 GB, free: 42.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.192e-05/9.546, allocations: 12.78 kB / 3.075 GB, free: 42.77 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.0001054/9.546, allocations: 127.8 kB / 3.075 GB, free: 42.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/9.546, allocations: 27.45 kB / 3.075 GB, free: 42.65 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009654/9.547, allocations: 0.6317 MB / 3.076 GB, free: 42.55 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/9.547, allocations: 3.797 kB / 3.076 GB, free: 42.55 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/9.547, allocations: 10.58 kB / 3.076 GB, free: 42.55 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/9.547, allocations: 3.125 kB / 3.076 GB, free: 42.55 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000609/9.548, allocations: 478.9 kB / 3.076 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/9.548, allocations: 3 kB / 3.076 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003172/9.548, allocations: 49.25 kB / 3.076 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/9.548, allocations: 0 / 3.076 GB, free: 42.36 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/9.548, allocations: 3.953 kB / 3.076 GB, free: 42.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/9.548, allocations: 3.125 kB / 3.076 GB, free: 42.35 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/9.548, allocations: 0 / 3.076 GB, free: 42.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004694/9.549, allocations: 380.8 kB / 3.077 GB, free: 42.19 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001595/9.549, allocations: 159.8 kB / 3.077 GB, free: 42.07 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.065e-05/9.549, allocations: 0 / 3.077 GB, free: 42.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003103/9.55, allocations: 26.95 kB / 3.077 GB, free: 42.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/9.55, allocations: 17.56 kB / 3.077 GB, free: 42.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.476e-05/9.55, allocations: 10.5 kB / 3.077 GB, free: 42.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002844/9.55, allocations: 226.5 kB / 3.077 GB, free: 41.98 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.55, allocations: 0 / 3.077 GB, free: 41.98 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004432/9.554, allocations: 0.8552 MB / 3.078 GB, free: 41.85 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.007853/9.562, allocations: 2.108 MB / 3.08 GB, free: 41.01 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000569/9.563, allocations: 199.2 kB / 3.08 GB, free: 41.01 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/9.563, allocations: 0 / 3.08 GB, free: 41.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002037/9.563, allocations: 131.6 kB / 3.08 GB, free: 41.01 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001127/9.564, allocations: 128.3 kB / 3.08 GB, free: 41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1927/9.757, allocations: 55.09 MB / 3.134 GB, free: 39.13 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/9.757, allocations: 0.8297 MB / 3.135 GB, free: 38.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002413/9.758, allocations: 136.5 kB / 3.135 GB, free: 38.42 MB / 426.7 MB Notification: Performance of SimCode: time 1.633e-06/9.758, allocations: 0 / 3.135 GB, free: 38.42 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.352/13.11, allocations: 23.55 MB / 3.158 GB, free: 34.34 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