Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Sensors_TestSpecificEntropy",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.012/2.012, allocations: 209.4 MB / 216.9 MB, free: 6.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.669e-05/2.675e-05, allocations: 4 kB / 267.6 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1116/0.1117, allocations: 48.7 MB / 316.3 MB, free: 4.547 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.675/7.786, allocations: 2.477 GB / 2.786 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/7.787, allocations: 81.36 kB / 2.786 GB, free: 106 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.712/9.499, allocations: 300.4 MB / 3.079 GB, free: 47.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.154e-06/9.499, allocations: 0 / 3.079 GB, free: 47.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.913e-05/9.499, allocations: 9.516 kB / 3.079 GB, free: 47.93 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: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.005684/9.505, allocations: 1.293 MB / 3.08 GB, free: 47.42 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/9.505, allocations: 8.562 kB / 3.08 GB, free: 47.42 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002238/9.507, allocations: 184.4 kB / 3.08 GB, free: 47.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007626/9.508, allocations: 356.8 kB / 3.081 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.082e-05/9.508, allocations: 12.94 kB / 3.081 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.738e-05/9.508, allocations: 16.12 kB / 3.081 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006534/9.509, allocations: 224.2 kB / 3.081 GB, free: 47.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006641/9.509, allocations: 323.8 kB / 3.081 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/9.509, allocations: 8.734 kB / 3.081 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/9.509, allocations: 1.25 kB / 3.081 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/9.509, allocations: 6.906 kB / 3.081 GB, free: 47.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003037/9.512, allocations: 2.236 MB / 3.084 GB, free: 45.35 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004239/9.513, allocations: 132.6 kB / 3.084 GB, free: 45.33 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001402/9.513, allocations: 61.81 kB / 3.084 GB, free: 45.32 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0607/9.574, allocations: 15.76 MB / 3.099 GB, free: 37.61 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/9.574, allocations: 31.83 kB / 3.099 GB, free: 37.57 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.687e-06/9.574, allocations: 0 / 3.099 GB, free: 37.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=15): time 0.001404/9.575, allocations: 294.5 kB / 3.099 GB, free: 37.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/9.575, allocations: 113 kB / 3.1 GB, free: 37.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003179/9.576, allocations: 229.3 kB / 3.1 GB, free: 37.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.339e-05/9.576, allocations: 25.7 kB / 3.1 GB, free: 37.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/9.576, allocations: 277.1 kB / 3.1 GB, free: 37.08 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.753e-05/9.576, allocations: 47.83 kB / 3.1 GB, free: 37.05 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/9.576, allocations: 0 / 3.1 GB, free: 37.05 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.637e-05/9.576, allocations: 326.5 kB / 3.1 GB, free: 36.74 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001186/9.576, allocations: 43.25 kB / 3.1 GB, free: 36.74 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002008/9.576, allocations: 187.7 kB / 3.101 GB, free: 36.57 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003554/9.577, allocations: 94.19 kB / 3.101 GB, free: 36.57 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/9.577, allocations: 5.562 kB / 3.101 GB, free: 36.57 MB / 426.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006834/9.577, allocations: 251.8 kB / 3.101 GB, free: 36.53 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/9.578, allocations: 11.89 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/9.578, allocations: 5.094 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/9.578, allocations: 6.938 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000504/9.578, allocations: 81.81 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.19e-05/9.578, allocations: 11.78 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004344/9.579, allocations: 41.69 kB / 3.101 GB, free: 36.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.543e-05/9.579, allocations: 22.66 kB / 3.101 GB, free: 36.52 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 (34): * Single equations (assignments): 34 * 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 9.988e-05/9.579, allocations: 110 kB / 3.101 GB, free: 36.41 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004768/9.579, allocations: 160 kB / 3.101 GB, free: 36.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.185e-05/9.579, allocations: 32.98 kB / 3.101 GB, free: 36.35 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001277/9.581, allocations: 0.8887 MB / 3.102 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/9.581, allocations: 14.59 kB / 3.102 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/9.581, allocations: 1.875 kB / 3.102 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/9.581, allocations: 3 kB / 3.102 GB, free: 36.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000684/9.581, allocations: 0.5094 MB / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/9.581, allocations: 0 / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003521/9.582, allocations: 57.67 kB / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/9.582, allocations: 6.828 kB / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/9.582, allocations: 2.812 kB / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/9.582, allocations: 3.75 kB / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/9.582, allocations: 0 / 3.103 GB, free: 36.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006724/9.582, allocations: 468.8 kB / 3.103 GB, free: 35.87 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/9.583, allocations: 164.8 kB / 3.103 GB, free: 35.74 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.04e-05/9.583, allocations: 6.578 kB / 3.103 GB, free: 35.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003093/9.583, allocations: 26.3 kB / 3.103 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/9.583, allocations: 18.05 kB / 3.104 GB, free: 35.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/9.583, allocations: 7.875 kB / 3.104 GB, free: 35.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002416/9.583, allocations: 206.4 kB / 3.104 GB, free: 35.65 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/9.583, allocations: 3.609 kB / 3.104 GB, free: 35.65 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004306/9.588, allocations: 0.8399 MB / 3.105 GB, free: 35.52 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: 8 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse5.phase,$cse5.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 (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.00947/9.597, allocations: 2.276 MB / 3.107 GB, free: 34.67 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006082/9.598, allocations: 230.9 kB / 3.107 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/9.598, allocations: 0 / 3.107 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002435/9.598, allocations: 176.8 kB / 3.107 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001172/9.599, allocations: 136.6 kB / 3.107 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1869/9.786, allocations: 54.28 MB / 3.16 GB, free: 32.18 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003295/9.787, allocations: 0.8478 MB / 3.161 GB, free: 31.48 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000259/9.787, allocations: 153.5 kB / 3.161 GB, free: 31.47 MB / 426.7 MB Notification: Performance of SimCode: time 9.92e-07/9.787, allocations: 0 / 3.161 GB, free: 31.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.455/13.24, allocations: 24.59 MB / 3.185 GB, free: 24.2 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Sensors.TestSpecificEntropy_res.mat does not exist to compare? outputFormat=mat