Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.657e-05/3.671e-05, allocations: 4 kB / 255.5 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09743/0.0975, allocations: 44.51 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.053/1.151, allocations: 362.5 MB / 0.647 GB, free: 27.66 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003226/1.151, allocations: 88.25 kB / 0.647 GB, free: 27.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5143/1.666, allocations: 80.85 MB / 0.726 GB, free: 124.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.804e-06/1.666, allocations: 4.188 kB / 0.726 GB, free: 124.4 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.48e-05/1.666, allocations: 8 kB / 0.726 GB, free: 124.4 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001211/1.667, allocations: 0.5987 MB / 0.7266 GB, free: 123.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/1.667, allocations: 8.031 kB / 0.7266 GB, free: 123.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.961e-05/1.667, allocations: 62.47 kB / 0.7267 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003484/1.667, allocations: 47.7 kB / 0.7267 GB, free: 123.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/1.668, allocations: 270.7 kB / 0.727 GB, free: 123.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.397e-05/1.668, allocations: 20.56 kB / 0.727 GB, free: 123.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.633e-05/1.668, allocations: 24 kB / 0.727 GB, free: 123.3 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000636/1.669, allocations: 290.6 kB / 0.7273 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/1.669, allocations: 3.984 kB / 0.7273 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.988e-05/1.669, allocations: 15.94 kB / 0.7273 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.669, allocations: 4 kB / 0.7273 GB, free: 123 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004512/1.669, allocations: 184.8 kB / 0.7275 GB, free: 122.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/1.671, allocations: 1.443 MB / 0.7289 GB, free: 121.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004254/1.672, allocations: 163 kB / 0.729 GB, free: 121.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/1.672, allocations: 89.22 kB / 0.7291 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.036e-05/1.672, allocations: 6.844 kB / 0.7291 GB, free: 121 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/1.672, allocations: 46.69 kB / 0.7292 GB, free: 120.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 4.148e-06/1.672, allocations: 0 / 0.7292 GB, free: 120.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003488/1.676, allocations: 0.8566 MB / 0.73 GB, free: 120 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.484e-05/1.676, allocations: 55.41 kB / 0.7301 GB, free: 120 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003362/1.676, allocations: 226.9 kB / 0.7303 GB, free: 119.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/1.676, allocations: 33.7 kB / 0.7303 GB, free: 119.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.676, allocations: 230.3 kB / 0.7305 GB, free: 119.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.231e-05/1.676, allocations: 101.8 kB / 0.7306 GB, free: 119.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/1.676, allocations: 4 kB / 0.7306 GB, free: 119.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.111e-05/1.676, allocations: 326.8 kB / 0.731 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/1.677, allocations: 83.94 kB / 0.731 GB, free: 119 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/1.677, allocations: 167.2 kB / 0.7312 GB, free: 118.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00028/1.677, allocations: 115.9 kB / 0.7313 GB, free: 118.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.677, allocations: 0 / 0.7313 GB, free: 118.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009638/1.678, allocations: 354.9 kB / 0.7316 GB, free: 118.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.357e-05/1.678, allocations: 12.31 kB / 0.7317 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.868e-06/1.678, allocations: 4 kB / 0.7317 GB, free: 118.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003638/1.679, allocations: 57.67 kB / 0.7317 GB, free: 118.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005195/1.679, allocations: 71.91 kB / 0.7318 GB, free: 118.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002284/1.681, allocations: 2.666 MB / 0.7344 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005315/1.682, allocations: 12 kB / 0.7344 GB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/1.682, allocations: 19.98 kB / 0.7344 GB, free: 115.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001418/1.682, allocations: 132.8 kB / 0.7345 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.576e-05/1.682, allocations: 31.66 kB / 0.7346 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/1.682, allocations: 33.97 kB / 0.7346 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/1.682, allocations: 7.984 kB / 0.7346 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.682, allocations: 0 / 0.7346 GB, free: 115 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007439/1.683, allocations: 0.5515 MB / 0.7351 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/1.685, allocations: 0.6996 MB / 0.7358 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/1.685, allocations: 0 / 0.7358 GB, free: 113.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003763/1.685, allocations: 39.98 kB / 0.7359 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/1.685, allocations: 52.78 kB / 0.7359 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.009e-05/1.685, allocations: 12.03 kB / 0.7359 GB, free: 113.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/1.687, allocations: 1.382 MB / 0.7373 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.687, allocations: 4.031 kB / 0.7373 GB, free: 111.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009926/1.688, allocations: 466.8 kB / 0.7377 GB, free: 111.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001243/1.688, allocations: 104.8 kB / 0.7378 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/1.688, allocations: 8.125 kB / 0.7378 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/1.688, allocations: 8 kB / 0.7378 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/1.689, allocations: 23.92 kB / 0.7379 GB, free: 111.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.04e-05/1.689, allocations: 11.98 kB / 0.7379 GB, free: 111.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002444/1.689, allocations: 179.1 kB / 0.7381 GB, free: 111.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.689, allocations: 0 / 0.7381 GB, free: 111.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006988/1.69, allocations: 96 kB / 0.7381 GB, free: 111 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/1.691, allocations: 1.175 MB / 0.7393 GB, free: 109.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009981/1.692, allocations: 445.5 kB / 0.7397 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.838e-06/1.692, allocations: 0 / 0.7397 GB, free: 109.4 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004954/1.693, allocations: 225.6 kB / 0.7399 GB, free: 109.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/1.694, allocations: 152.7 kB / 0.7401 GB, free: 109 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/1.696, allocations: 0.5787 MB / 0.7406 GB, free: 108.4 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/1.696, allocations: 0.7726 MB / 0.7414 GB, free: 107.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/1.696, allocations: 91.41 kB / 0.7415 GB, free: 107.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.82e-07/1.696, allocations: 4 kB / 0.7415 GB, free: 107.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.822/4.518, allocations: 7.554 MB / 0.7489 GB, free: 99.91 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat