Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.048/2.048, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.456e-05/3.482e-05, allocations: 4 kB / 255.4 MB, free: 3.102 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1028, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.999/9.102, allocations: 2.901 GB / 3.194 GB, free: 95.95 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/9.102, allocations: 89.97 kB / 3.194 GB, free: 95.95 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.635/13.74, allocations: 0.98 GB / 4.174 GB, free: 53.76 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.674e-06/13.74, allocations: 0 / 4.174 GB, free: 53.76 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.382e-05/13.74, allocations: 7.312 kB / 4.174 GB, free: 53.76 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.005072/13.74, allocations: 1.198 MB / 4.175 GB, free: 53.09 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/13.74, allocations: 14.11 kB / 4.175 GB, free: 53.09 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.551e-05/13.74, allocations: 63.73 kB / 4.175 GB, free: 53.05 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003641/13.74, allocations: 44.5 kB / 4.176 GB, free: 53.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000441/13.74, allocations: 266.1 kB / 4.176 GB, free: 52.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.495e-05/13.74, allocations: 17.25 kB / 4.176 GB, free: 52.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.018e-05/13.74, allocations: 27.59 kB / 4.176 GB, free: 52.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006334/13.74, allocations: 295.2 kB / 4.176 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.264e-05/13.74, allocations: 0 / 4.176 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.974e-05/13.74, allocations: 10.73 kB / 4.176 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.217e-05/13.74, allocations: 11.73 kB / 4.176 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004601/13.75, allocations: 192.8 kB / 4.176 GB, free: 52.73 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/13.75, allocations: 1.441 MB / 4.178 GB, free: 51.7 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004105/13.75, allocations: 168.3 kB / 4.178 GB, free: 51.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/13.75, allocations: 83.08 kB / 4.178 GB, free: 51.67 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.926e-05/13.75, allocations: 7.859 kB / 4.178 GB, free: 51.67 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/13.75, allocations: 44 kB / 4.178 GB, free: 51.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.126e-06/13.75, allocations: 0 / 4.178 GB, free: 51.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003392/13.75, allocations: 0.8545 MB / 4.179 GB, free: 51.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.267e-05/13.75, allocations: 61.31 kB / 4.179 GB, free: 51.24 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/13.75, allocations: 228.9 kB / 4.179 GB, free: 51.14 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/13.75, allocations: 34.86 kB / 4.179 GB, free: 51.11 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.915e-05/13.75, allocations: 233.5 kB / 4.179 GB, free: 50.92 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.871e-05/13.75, allocations: 91.5 kB / 4.179 GB, free: 50.86 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.299e-05/13.75, allocations: 3.688 kB / 4.179 GB, free: 50.86 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.869e-05/13.75, allocations: 332.3 kB / 4.18 GB, free: 50.55 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000212/13.75, allocations: 79.94 kB / 4.18 GB, free: 50.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000259/13.75, allocations: 171.1 kB / 4.18 GB, free: 50.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002791/13.75, allocations: 114.4 kB / 4.18 GB, free: 50.45 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/13.75, allocations: 3.953 kB / 4.18 GB, free: 50.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009852/13.75, allocations: 361.3 kB / 4.18 GB, free: 50.38 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/13.75, allocations: 7.781 kB / 4.18 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/13.75, allocations: 3.812 kB / 4.18 GB, free: 50.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004035/13.75, allocations: 59.27 kB / 4.181 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/13.76, allocations: 69.78 kB / 4.181 GB, free: 50.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002326/13.76, allocations: 2.672 MB / 4.183 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005232/13.76, allocations: 21.47 kB / 4.183 GB, free: 47.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.582e-05/13.76, allocations: 16.88 kB / 4.183 GB, free: 47.84 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.000138/13.76, allocations: 126.7 kB / 4.183 GB, free: 47.72 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/13.76, allocations: 22.56 kB / 4.183 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/13.76, allocations: 36.27 kB / 4.183 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/13.76, allocations: 9.359 kB / 4.183 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.872e-06/13.76, allocations: 3.594 kB / 4.183 GB, free: 47.71 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000786/13.76, allocations: 0.5645 MB / 4.184 GB, free: 47.25 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001395/13.76, allocations: 0.6906 MB / 4.185 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/13.76, allocations: 3.938 kB / 4.185 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003821/13.76, allocations: 48.05 kB / 4.185 GB, free: 46.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003492/13.76, allocations: 44.17 kB / 4.185 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/13.76, allocations: 10.42 kB / 4.185 GB, free: 46.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/13.76, allocations: 1.387 MB / 4.186 GB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/13.76, allocations: 7.656 kB / 4.186 GB, free: 45.65 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009971/13.76, allocations: 471 kB / 4.187 GB, free: 45.46 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001163/13.76, allocations: 99.52 kB / 4.187 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.422e-05/13.76, allocations: 10.48 kB / 4.187 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000403/13.76, allocations: 18.16 kB / 4.187 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.693e-05/13.76, allocations: 15.23 kB / 4.187 GB, free: 45.36 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/13.76, allocations: 11.19 kB / 4.187 GB, free: 45.36 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002409/13.76, allocations: 185 kB / 4.187 GB, free: 45.27 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-07/13.76, allocations: 0 / 4.187 GB, free: 45.27 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007731/13.77, allocations: 116.8 kB / 4.187 GB, free: 45.27 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.001603/13.77, allocations: 1.284 MB / 4.188 GB, free: 44.47 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001029/13.77, allocations: 465 kB / 4.189 GB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/13.77, allocations: 3.656 kB / 4.189 GB, free: 44.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005035/13.77, allocations: 227.5 kB / 4.189 GB, free: 44.12 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001451/13.77, allocations: 158.1 kB / 4.189 GB, free: 44.11 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/13.77, allocations: 0.5829 MB / 4.19 GB, free: 43.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/13.77, allocations: 0.7717 MB / 4.19 GB, free: 43.1 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/13.77, allocations: 89.98 kB / 4.19 GB, free: 43.04 MB / 410.7 MB Notification: Performance of SimCode: time 9.12e-07/13.77, allocations: 0 / 4.19 GB, free: 43.04 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.974/16.75, allocations: 8.463 MB / 4.199 GB, free: 42.59 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.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat