Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Essotherm650",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.982/1.982, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.41e-05, allocations: 4 kB / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9191/1.026, allocations: 230.1 MB / 0.5336 GB, free: 93.27 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/1.027, allocations: 91.94 kB / 0.5337 GB, free: 93.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.238/2.265, allocations: 278.5 MB / 0.8056 GB, free: 6.406 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/2.265, allocations: 0 / 0.8056 GB, free: 6.406 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.526e-05/2.265, allocations: 27.98 kB / 0.8056 GB, free: 6.379 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.004516/2.27, allocations: 1.515 MB / 0.8071 GB, free: 4.812 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.743e-05/2.27, allocations: 12.03 kB / 0.8071 GB, free: 4.801 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001277/2.271, allocations: 135 kB / 0.8073 GB, free: 4.668 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00139/2.273, allocations: 0.5583 MB / 0.8078 GB, free: 4.066 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/2.273, allocations: 84.7 kB / 0.8079 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/2.273, allocations: 28 kB / 0.8079 GB, free: 3.945 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001189/2.274, allocations: 0.4906 MB / 0.8084 GB, free: 3.453 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001336/2.275, allocations: 0.7223 MB / 0.8091 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.928e-05/2.275, allocations: 3.938 kB / 0.8091 GB, free: 2.645 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-05/2.275, allocations: 4 kB / 0.8091 GB, free: 2.641 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-05/2.276, allocations: 45.28 kB / 0.8092 GB, free: 2.598 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3121/2.588, allocations: 4.31 MB / 0.8134 GB, free: 70.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008194/2.588, allocations: 285.9 kB / 0.8136 GB, free: 70.04 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003199/2.589, allocations: 119.8 kB / 0.8138 GB, free: 70.03 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003298/2.589, allocations: 341.7 kB / 0.8141 GB, free: 69.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/2.589, allocations: 42.06 kB / 0.8141 GB, free: 69.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.477e-06/2.589, allocations: 0 / 0.8141 GB, free: 69.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.005503/2.595, allocations: 1.201 MB / 0.8153 GB, free: 69.29 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/2.595, allocations: 137.3 kB / 0.8154 GB, free: 69.14 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009792/2.596, allocations: 477.9 kB / 0.8159 GB, free: 69.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001026/2.596, allocations: 27.56 kB / 0.8159 GB, free: 68.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003097/2.596, allocations: 444.5 kB / 0.8163 GB, free: 68.73 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001625/2.596, allocations: 126.5 kB / 0.8164 GB, free: 68.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/2.597, allocations: 0 / 0.8164 GB, free: 68.66 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/2.597, allocations: 339.7 kB / 0.8168 GB, free: 68.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/2.597, allocations: 182.4 kB / 0.8169 GB, free: 68.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006894/2.598, allocations: 0.4974 MB / 0.8174 GB, free: 67.95 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001601/2.599, allocations: 345.7 kB / 0.8178 GB, free: 67.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.181e-05/2.599, allocations: 4.406 kB / 0.8178 GB, free: 67.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002854/2.602, allocations: 0.8001 MB / 0.8185 GB, free: 67.88 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.904e-05/2.602, allocations: 9.75 kB / 0.8186 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/2.602, allocations: 13.16 kB / 0.8186 GB, free: 67.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/2.604, allocations: 206.7 kB / 0.8188 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008176/2.605, allocations: 138 kB / 0.8189 GB, free: 67.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001794/2.606, allocations: 1.392 MB / 0.8203 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/2.607, allocations: 25.89 kB / 0.8203 GB, free: 66.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/2.608, allocations: 47.36 kB / 0.8203 GB, free: 66.82 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002513/2.608, allocations: 138.4 kB / 0.8205 GB, free: 66.71 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002256/2.61, allocations: 0.4911 MB / 0.8209 GB, free: 66.63 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/2.61, allocations: 68.55 kB / 0.821 GB, free: 66.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002863/2.613, allocations: 0.6887 MB / 0.8217 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-05/2.613, allocations: 3.875 kB / 0.8217 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/2.613, allocations: 0.6562 kB / 0.8217 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/2.613, allocations: 2.062 kB / 0.8217 GB, free: 66.51 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003731/2.617, allocations: 1.15 MB / 0.8228 GB, free: 66.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/2.617, allocations: 3.953 kB / 0.8228 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003229/2.618, allocations: 41.98 kB / 0.8229 GB, free: 66.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008369/2.618, allocations: 152 kB / 0.823 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.884e-05/2.619, allocations: 12.53 kB / 0.823 GB, free: 66.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/2.62, allocations: 1.308 MB / 0.8243 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.536e-06/2.62, allocations: 0.8125 kB / 0.8243 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00252/2.623, allocations: 0.7981 MB / 0.8251 GB, free: 64.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005437/2.623, allocations: 200.3 kB / 0.8253 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001705/2.623, allocations: 2.906 kB / 0.8253 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/2.624, allocations: 14.19 kB / 0.8253 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001185/2.624, allocations: 20.41 kB / 0.8253 GB, free: 64.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.255e-05/2.624, allocations: 29.5 kB / 0.8253 GB, free: 64.77 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006783/2.625, allocations: 350.4 kB / 0.8257 GB, free: 64.69 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.1e-07/2.625, allocations: 0.5625 kB / 0.8257 GB, free: 64.69 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00226/2.627, allocations: 339.1 kB / 0.826 GB, free: 64.69 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.00443/2.632, allocations: 1.824 MB / 0.8278 GB, free: 63.79 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001821/2.634, allocations: 473.6 kB / 0.8282 GB, free: 63.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/2.634, allocations: 0 / 0.8282 GB, free: 63.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008281/2.635, allocations: 203.9 kB / 0.8284 GB, free: 63.78 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002427/2.637, allocations: 247.9 kB / 0.8286 GB, free: 63.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004977/2.642, allocations: 1.204 MB / 0.8298 GB, free: 63.44 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005446/2.643, allocations: 0.9451 MB / 0.8307 GB, free: 62.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006125/2.643, allocations: 236.4 kB / 0.831 GB, free: 62.74 MB / 426.7 MB Notification: Performance of SimCode: time 1.553e-06/2.643, allocations: 2.688 kB / 0.831 GB, free: 62.74 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.169/5.813, allocations: 20.49 MB / 0.851 GB, free: 62.33 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Essotherm650_res.mat does not exist to compare? outputFormat=mat