Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.469/2.469, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.922e-05, allocations: 7.984 kB / 305 MB, free: 5.562 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.42/0.4201, allocations: 54.86 MB / 359.9 MB, free: 2.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.731/9.151, allocations: 2.909 GB / 3.26 GB, free: 48.42 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/9.152, allocations: 72.89 kB / 3.26 GB, free: 48.38 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.086/10.24, allocations: 211.3 MB / 3.466 GB, free: 45.23 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.745e-06/10.24, allocations: 0 / 3.466 GB, free: 45.23 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/10.24, allocations: 4 kB / 3.466 GB, free: 45.22 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.006201/10.24, allocations: 1.153 MB / 3.467 GB, free: 44.02 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.059e-05/10.24, allocations: 8.031 kB / 3.467 GB, free: 44.02 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.119e-05/10.24, allocations: 62.53 kB / 3.468 GB, free: 43.95 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002002/10.24, allocations: 23.81 kB / 3.468 GB, free: 43.92 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003181/10.24, allocations: 222.8 kB / 3.468 GB, free: 43.66 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/10.24, allocations: 127.3 kB / 3.468 GB, free: 43.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/10.24, allocations: 24 kB / 3.468 GB, free: 43.49 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000582/10.25, allocations: 318.5 kB / 3.468 GB, free: 43.15 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/10.25, allocations: 0 / 3.468 GB, free: 43.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.245e-05/10.25, allocations: 12 kB / 3.468 GB, free: 43.14 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.277e-05/10.25, allocations: 15.92 kB / 3.468 GB, free: 43.12 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001022/10.25, allocations: 0.7188 MB / 3.469 GB, free: 42.41 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/10.25, allocations: 1.237 MB / 3.47 GB, free: 41.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004365/10.25, allocations: 151.4 kB / 3.47 GB, free: 40.92 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/10.25, allocations: 77.52 kB / 3.47 GB, free: 40.84 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003337/10.25, allocations: 3.035 MB / 3.473 GB, free: 37.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/10.25, allocations: 38.56 kB / 3.473 GB, free: 37.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=13): time 3.326e-06/10.25, allocations: 0 / 3.473 GB, free: 37.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003808/10.25, allocations: 101.5 kB / 3.473 GB, free: 37.14 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/10.25, allocations: 55.41 kB / 3.474 GB, free: 37.08 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/10.25, allocations: 193.9 kB / 3.474 GB, free: 36.88 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/10.25, allocations: 29.7 kB / 3.474 GB, free: 36.85 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/10.25, allocations: 277.3 kB / 3.474 GB, free: 36.57 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/10.25, allocations: 55.28 kB / 3.474 GB, free: 36.52 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-05/10.25, allocations: 12 kB / 3.474 GB, free: 36.51 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.612e-05/10.25, allocations: 330.8 kB / 3.474 GB, free: 36.18 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001149/10.25, allocations: 44.88 kB / 3.474 GB, free: 36.13 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002527/10.25, allocations: 336.3 kB / 3.475 GB, free: 35.66 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002132/10.25, allocations: 99.83 kB / 3.475 GB, free: 35.57 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/10.25, allocations: 4 kB / 3.475 GB, free: 35.56 MB / 490.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007224/10.25, allocations: 329.8 kB / 3.475 GB, free: 35.23 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/10.25, allocations: 12.25 kB / 3.475 GB, free: 35.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/10.25, allocations: 15.98 kB / 3.475 GB, free: 35.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.355e-05/10.25, allocations: 16 kB / 3.475 GB, free: 35.19 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004841/10.26, allocations: 95.83 kB / 3.475 GB, free: 35.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.405e-05/10.26, allocations: 15.94 kB / 3.475 GB, free: 35.08 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/10.26, allocations: 51.53 kB / 3.475 GB, free: 35.03 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.451e-05/10.26, allocations: 27.98 kB / 3.475 GB, free: 35 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001337/10.26, allocations: 140.7 kB / 3.476 GB, free: 34.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.823e-05/10.26, allocations: 23.81 kB / 3.476 GB, free: 34.84 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/10.26, allocations: 169.5 kB / 3.476 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.719e-05/10.26, allocations: 4 kB / 3.476 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/10.26, allocations: 0 / 3.476 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/10.26, allocations: 0 / 3.476 GB, free: 34.65 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006273/10.26, allocations: 429.7 kB / 3.476 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/10.26, allocations: 3.938 kB / 3.476 GB, free: 34.16 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/10.26, allocations: 19.92 kB / 3.476 GB, free: 34.14 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/10.26, allocations: 4 kB / 3.476 GB, free: 34.13 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.24e-05/10.26, allocations: 0 / 3.476 GB, free: 34.13 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/10.26, allocations: 4.094 kB / 3.476 GB, free: 34.13 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/10.26, allocations: 7.891 kB / 3.476 GB, free: 34.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/10.26, allocations: 257.6 kB / 3.476 GB, free: 33.82 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/10.26, allocations: 112.9 kB / 3.477 GB, free: 33.69 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.097e-05/10.26, allocations: 4 kB / 3.477 GB, free: 33.68 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002532/10.26, allocations: 15.97 kB / 3.477 GB, free: 33.67 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/10.26, allocations: 4 kB / 3.477 GB, free: 33.66 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-05/10.26, allocations: 12.06 kB / 3.477 GB, free: 33.65 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001533/10.26, allocations: 153.4 kB / 3.477 GB, free: 33.5 MB / 490.7 MB Notification: Performance of sort global known variables: time 4.81e-07/10.26, allocations: 0 / 3.477 GB, free: 33.5 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0009247/10.26, allocations: 115.9 kB / 3.477 GB, free: 33.39 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009386/10.26, allocations: 1.234 MB / 3.478 GB, free: 32.1 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.000442/10.26, allocations: 150.2 kB / 3.478 GB, free: 31.95 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/10.26, allocations: 0 / 3.478 GB, free: 31.95 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/10.26, allocations: 27.94 kB / 3.478 GB, free: 31.93 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000536/10.26, allocations: 40.84 kB / 3.478 GB, free: 31.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7086/10.97, allocations: 98.03 MB / 3.574 GB, free: 82.35 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002213/10.97, allocations: 0.7307 MB / 3.575 GB, free: 81.64 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/10.97, allocations: 65.2 kB / 3.575 GB, free: 81.64 MB / 490.7 MB Notification: Performance of SimCode: time 2.364e-06/10.97, allocations: 0 / 3.575 GB, free: 81.64 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.607/13.58, allocations: 4.924 MB / 3.58 GB, free: 81.25 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat