Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.474/2.474, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.053e-05/4.063e-05, allocations: 7.984 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.41/0.4101, allocations: 54.85 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.909/9.319, allocations: 2.952 GB / 3.303 GB, free: 91.96 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003753/9.32, allocations: 89.45 kB / 3.304 GB, free: 91.96 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.276/14.6, allocations: 1.135 GB / 4.439 GB, free: 67.95 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.703e-06/14.6, allocations: 0 / 4.439 GB, free: 67.95 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001027/14.6, allocations: 22.92 kB / 4.439 GB, free: 67.95 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.007957/14.6, allocations: 1.574 MB / 4.44 GB, free: 67.34 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/14.6, allocations: 10 kB / 4.44 GB, free: 67.34 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003544/14.6, allocations: 98.66 kB / 4.44 GB, free: 67.3 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006303/14.61, allocations: 93.55 kB / 4.44 GB, free: 67.27 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/14.61, allocations: 0.5374 MB / 4.441 GB, free: 67.01 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000148/14.61, allocations: 105.6 kB / 4.441 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002067/14.61, allocations: 58.44 kB / 4.441 GB, free: 66.94 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002017/14.61, allocations: 0.7854 MB / 4.442 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.446e-05/14.61, allocations: 4.062 kB / 4.442 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001268/14.61, allocations: 25.42 kB / 4.442 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/14.61, allocations: 37.2 kB / 4.442 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/14.61, allocations: 0.6066 MB / 4.442 GB, free: 66.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007562/14.62, allocations: 3.915 MB / 4.446 GB, free: 64.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/14.62, allocations: 379.6 kB / 4.447 GB, free: 64.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005075/14.62, allocations: 190.9 kB / 4.447 GB, free: 64.25 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005413/14.62, allocations: 0.498 MB / 4.447 GB, free: 63.68 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.083e-05/14.62, allocations: 44.17 kB / 4.447 GB, free: 63.64 MB / 490.7 MB Notification: Performance of pre-optimization done (n=40): time 4.86e-06/14.62, allocations: 0 / 4.447 GB, free: 63.64 MB / 490.7 MB Notification: Performance of matching and sorting (n=45): time 0.004632/14.63, allocations: 1.326 MB / 4.449 GB, free: 63.24 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.083e-05/14.63, allocations: 132.5 kB / 4.449 GB, free: 63.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001056/14.63, allocations: 488.5 kB / 4.449 GB, free: 62.96 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001406/14.63, allocations: 36.27 kB / 4.449 GB, free: 62.93 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/14.63, allocations: 400.1 kB / 4.45 GB, free: 62.67 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/14.63, allocations: 166.1 kB / 4.45 GB, free: 62.57 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.579e-05/14.63, allocations: 17.16 kB / 4.45 GB, free: 62.57 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.444e-05/14.63, allocations: 342.9 kB / 4.45 GB, free: 62.25 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005996/14.63, allocations: 210.5 kB / 4.45 GB, free: 62.25 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007727/14.63, allocations: 0.5195 MB / 4.451 GB, free: 61.86 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007906/14.63, allocations: 320.3 kB / 4.451 GB, free: 61.86 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/14.63, allocations: 3.219 kB / 4.451 GB, free: 61.86 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00299/14.63, allocations: 0.8913 MB / 4.452 GB, free: 61.79 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.558e-05/14.63, allocations: 9.781 kB / 4.452 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.469e-05/14.63, allocations: 10.84 kB / 4.452 GB, free: 61.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001734/14.64, allocations: 250.1 kB / 4.452 GB, free: 61.78 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/14.64, allocations: 135 kB / 4.452 GB, free: 61.78 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001273/14.64, allocations: 0.845 MB / 4.453 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/14.64, allocations: 51.11 kB / 4.453 GB, free: 61.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00012/14.64, allocations: 36.22 kB / 4.453 GB, free: 61.25 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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: 0 * Non-linear torn systems: 1 {2 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002837/14.64, allocations: 162.4 kB / 4.454 GB, free: 61.13 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/14.64, allocations: 71.88 kB / 4.454 GB, free: 61.1 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00204/14.64, allocations: 0.681 MB / 4.454 GB, free: 61.01 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-05/14.64, allocations: 12.98 kB / 4.454 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/14.64, allocations: 0.8125 kB / 4.454 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/14.64, allocations: 7 kB / 4.454 GB, free: 61 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/14.65, allocations: 1.349 MB / 4.456 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/14.65, allocations: 2.125 kB / 4.456 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001931/14.65, allocations: 197 kB / 4.456 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003759/14.65, allocations: 59 kB / 4.456 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/14.65, allocations: 13.84 kB / 4.456 GB, free: 60.62 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002552/14.65, allocations: 2.776 MB / 4.459 GB, free: 58.04 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/14.65, allocations: 0 / 4.459 GB, free: 58.04 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/14.65, allocations: 1.039 MB / 4.46 GB, free: 57.68 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005745/14.65, allocations: 200.9 kB / 4.46 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001513/14.65, allocations: 11 kB / 4.46 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/14.65, allocations: 33.09 kB / 4.46 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/14.65, allocations: 40.16 kB / 4.46 GB, free: 57.55 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.505e-05/14.65, allocations: 20.48 kB / 4.46 GB, free: 57.55 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007466/14.66, allocations: 376.3 kB / 4.46 GB, free: 57.46 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/14.66, allocations: 2.969 kB / 4.46 GB, free: 57.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001702/14.66, allocations: 237.4 kB / 4.46 GB, free: 57.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003292/14.66, allocations: 2.352 MB / 4.463 GB, free: 56.07 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001745/14.66, allocations: 0.5741 MB / 4.463 GB, free: 56.06 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.276e-06/14.66, allocations: 0 / 4.463 GB, free: 56.06 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001691/14.66, allocations: 442.8 kB / 4.464 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002646/14.67, allocations: 300.6 kB / 4.464 GB, free: 55.96 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003737/14.67, allocations: 1.222 MB / 4.465 GB, free: 55.58 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004917/14.67, allocations: 0.9497 MB / 4.466 GB, free: 54.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005692/14.67, allocations: 238.2 kB / 4.466 GB, free: 54.87 MB / 490.7 MB Notification: Performance of SimCode: time 1.703e-06/14.67, allocations: 1.312 kB / 4.466 GB, free: 54.87 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/17.78, allocations: 18.51 MB / 4.484 GB, free: 54.44 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat