Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.749/1.749, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.711e-05/3.727e-05, allocations: 4 kB / 225.1 MB, free: 2.688 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 38.76 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.505/8.795, allocations: 2.791 GB / 3.049 GB, free: 51.97 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003073/8.795, allocations: 88.95 kB / 3.049 GB, free: 51.92 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.456/13.25, allocations: 0.9482 GB / 3.997 GB, free: 53.8 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.837e-06/13.25, allocations: 3.141 kB / 3.997 GB, free: 53.8 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.369e-05/13.25, allocations: 5.969 kB / 3.997 GB, free: 53.8 MB / 362.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.006398/13.26, allocations: 1.191 MB / 3.998 GB, free: 53.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.701e-05/13.26, allocations: 13.47 kB / 3.998 GB, free: 53.13 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001216/13.26, allocations: 60.36 kB / 3.998 GB, free: 53.09 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005853/13.26, allocations: 44.23 kB / 3.998 GB, free: 53.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/13.26, allocations: 283.4 kB / 3.999 GB, free: 52.85 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/13.26, allocations: 22.66 kB / 3.999 GB, free: 52.85 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/13.26, allocations: 27.12 kB / 3.999 GB, free: 52.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009533/13.26, allocations: 289.4 kB / 3.999 GB, free: 52.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.832e-05/13.26, allocations: 6.375 kB / 3.999 GB, free: 52.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.233e-05/13.26, allocations: 14.09 kB / 3.999 GB, free: 52.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/13.26, allocations: 7.844 kB / 3.999 GB, free: 52.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007067/13.26, allocations: 189.7 kB / 3.999 GB, free: 52.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002952/13.26, allocations: 1.445 MB / 4.001 GB, free: 51.72 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/13.26, allocations: 159.5 kB / 4.001 GB, free: 51.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002691/13.26, allocations: 86.55 kB / 4.001 GB, free: 51.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.386e-05/13.26, allocations: 10.02 kB / 4.001 GB, free: 51.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.681e-05/13.26, allocations: 38.48 kB / 4.001 GB, free: 51.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 4.128e-06/13.26, allocations: 0 / 4.001 GB, free: 51.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.004631/13.27, allocations: 0.8667 MB / 4.002 GB, free: 51.33 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.15e-05/13.27, allocations: 55.06 kB / 4.002 GB, free: 51.27 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/13.27, allocations: 231.6 kB / 4.002 GB, free: 51.16 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.385e-05/13.27, allocations: 34.36 kB / 4.002 GB, free: 51.12 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/13.27, allocations: 236.2 kB / 4.002 GB, free: 50.93 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/13.27, allocations: 95.5 kB / 4.002 GB, free: 50.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.183e-05/13.27, allocations: 3.75 kB / 4.002 GB, free: 50.87 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.925e-05/13.27, allocations: 327.4 kB / 4.003 GB, free: 50.56 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003165/13.27, allocations: 83.78 kB / 4.003 GB, free: 50.55 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004012/13.27, allocations: 172.8 kB / 4.003 GB, free: 50.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/13.27, allocations: 112.6 kB / 4.003 GB, free: 50.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.289e-06/13.27, allocations: 3.938 kB / 4.003 GB, free: 50.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001412/13.27, allocations: 364.2 kB / 4.003 GB, free: 50.37 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.712e-05/13.27, allocations: 7.719 kB / 4.003 GB, free: 50.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/13.27, allocations: 3.75 kB / 4.003 GB, free: 50.37 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005163/13.27, allocations: 60.48 kB / 4.003 GB, free: 50.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006968/13.27, allocations: 68.41 kB / 4.003 GB, free: 50.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003191/13.28, allocations: 2.667 MB / 4.006 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007325/13.28, allocations: 15.44 kB / 4.006 GB, free: 47.79 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/13.28, allocations: 19.12 kB / 4.006 GB, free: 47.78 MB / 362.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.0001784/13.28, allocations: 129 kB / 4.006 GB, free: 47.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/13.28, allocations: 27.59 kB / 4.006 GB, free: 47.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001424/13.28, allocations: 40.98 kB / 4.006 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-06/13.28, allocations: 7.688 kB / 4.006 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/13.28, allocations: 0 / 4.006 GB, free: 47.61 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00109/13.28, allocations: 0.5549 MB / 4.007 GB, free: 47.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001928/13.28, allocations: 0.6953 MB / 4.007 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/13.28, allocations: 0 / 4.007 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004899/13.28, allocations: 50.53 kB / 4.008 GB, free: 46.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004543/13.28, allocations: 53.64 kB / 4.008 GB, free: 46.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.214e-05/13.28, allocations: 10.44 kB / 4.008 GB, free: 46.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001678/13.28, allocations: 1.385 MB / 4.009 GB, free: 45.24 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/13.28, allocations: 0 / 4.009 GB, free: 45.24 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001389/13.29, allocations: 485.6 kB / 4.009 GB, free: 44.95 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000162/13.29, allocations: 96.7 kB / 4.01 GB, free: 44.84 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.123e-05/13.29, allocations: 7.5 kB / 4.01 GB, free: 44.83 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000574/13.29, allocations: 19 kB / 4.01 GB, free: 44.82 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.502e-05/13.29, allocations: 21.98 kB / 4.01 GB, free: 44.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.302e-05/13.29, allocations: 11.91 kB / 4.01 GB, free: 44.82 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003506/13.29, allocations: 183.2 kB / 4.01 GB, free: 44.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.51e-07/13.29, allocations: 0 / 4.01 GB, free: 44.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001217/13.29, allocations: 113.6 kB / 4.01 GB, free: 44.69 MB / 362.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.00222/13.29, allocations: 1.274 MB / 4.011 GB, free: 43.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001396/13.29, allocations: 469.6 kB / 4.012 GB, free: 43.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/13.29, allocations: 0 / 4.012 GB, free: 43.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006979/13.29, allocations: 231.6 kB / 4.012 GB, free: 43.31 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/13.3, allocations: 159.3 kB / 4.012 GB, free: 43.28 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002282/13.3, allocations: 0.5769 MB / 4.012 GB, free: 42.96 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003206/13.3, allocations: 0.7676 MB / 4.013 GB, free: 42.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/13.3, allocations: 94.5 kB / 4.013 GB, free: 42.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/13.3, allocations: 0 / 4.013 GB, free: 42.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.047/16.35, allocations: 8.46 MB / 4.022 GB, free: 41.19 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat