Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearWater_pT_Ambient",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.018/2.018, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.462e-05/4.485e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.648/8.758, allocations: 2.797 GB / 3.112 GB, free: 90.27 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/8.758, allocations: 72.58 kB / 3.112 GB, free: 90.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.057/9.815, allocations: 206.1 MB / 3.313 GB, free: 47.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/9.815, allocations: 0 / 3.313 GB, free: 47.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.561e-05/9.815, allocations: 0 / 3.313 GB, free: 47.12 MB / 426.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.006091/9.822, allocations: 1.164 MB / 3.314 GB, free: 45.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.788e-05/9.822, allocations: 11.97 kB / 3.314 GB, free: 45.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001072/9.822, allocations: 57.89 kB / 3.314 GB, free: 45.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/9.822, allocations: 31.42 kB / 3.314 GB, free: 45.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/9.822, allocations: 221.5 kB / 3.314 GB, free: 45.65 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/9.822, allocations: 127.4 kB / 3.315 GB, free: 45.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.943e-05/9.823, allocations: 20 kB / 3.315 GB, free: 45.48 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/9.823, allocations: 317.2 kB / 3.315 GB, free: 45.19 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/9.823, allocations: 4 kB / 3.315 GB, free: 45.18 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.25e-05/9.823, allocations: 11.95 kB / 3.315 GB, free: 45.17 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.947e-05/9.823, allocations: 8 kB / 3.315 GB, free: 45.16 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/9.824, allocations: 0.7364 MB / 3.316 GB, free: 44.62 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/9.826, allocations: 1.228 MB / 3.317 GB, free: 43.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004334/9.827, allocations: 155.6 kB / 3.317 GB, free: 43.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/9.827, allocations: 77.12 kB / 3.317 GB, free: 43.22 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003294/9.83, allocations: 3.036 MB / 3.32 GB, free: 39.83 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.594e-05/9.83, allocations: 34.56 kB / 3.32 GB, free: 39.79 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.194e-06/9.83, allocations: 3.938 kB / 3.32 GB, free: 39.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003543/9.83, allocations: 100.7 kB / 3.32 GB, free: 39.69 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/9.831, allocations: 55.41 kB / 3.32 GB, free: 39.62 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001926/9.831, allocations: 186.2 kB / 3.32 GB, free: 39.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.391e-05/9.831, allocations: 37.64 kB / 3.32 GB, free: 39.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/9.831, allocations: 284.1 kB / 3.321 GB, free: 39.13 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.939e-05/9.831, allocations: 45.56 kB / 3.321 GB, free: 39.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/9.831, allocations: 8 kB / 3.321 GB, free: 39.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/9.831, allocations: 322.5 kB / 3.321 GB, free: 38.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/9.831, allocations: 51.77 kB / 3.321 GB, free: 38.71 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002376/9.831, allocations: 331.1 kB / 3.321 GB, free: 38.26 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002014/9.832, allocations: 104.5 kB / 3.322 GB, free: 38.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-06/9.832, allocations: 4 kB / 3.322 GB, free: 38.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000707/9.832, allocations: 364.9 kB / 3.322 GB, free: 37.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/9.832, allocations: 12.06 kB / 3.322 GB, free: 37.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.622e-05/9.832, allocations: 12 kB / 3.322 GB, free: 37.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.037e-05/9.832, allocations: 16 kB / 3.322 GB, free: 37.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004748/9.833, allocations: 94.84 kB / 3.322 GB, free: 37.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.42e-05/9.833, allocations: 18.89 kB / 3.322 GB, free: 37.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003883/9.833, allocations: 59.47 kB / 3.322 GB, free: 37.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/9.833, allocations: 28 kB / 3.322 GB, free: 37.62 MB / 426.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.0001076/9.834, allocations: 143.8 kB / 3.322 GB, free: 37.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.816e-05/9.834, allocations: 27.75 kB / 3.322 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004613/9.834, allocations: 170.6 kB / 3.322 GB, free: 37.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/9.834, allocations: 4 kB / 3.322 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/9.834, allocations: 0 / 3.322 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/9.834, allocations: 0 / 3.322 GB, free: 37.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006136/9.835, allocations: 429.5 kB / 3.323 GB, free: 36.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-06/9.835, allocations: 0 / 3.323 GB, free: 36.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/9.835, allocations: 16 kB / 3.323 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/9.835, allocations: 0 / 3.323 GB, free: 36.82 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/9.835, allocations: 11.7 kB / 3.323 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/9.835, allocations: 0 / 3.323 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/9.835, allocations: 0 / 3.323 GB, free: 36.81 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002341/9.835, allocations: 265.3 kB / 3.323 GB, free: 36.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000103/9.835, allocations: 120.2 kB / 3.323 GB, free: 36.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.936e-05/9.835, allocations: 3.953 kB / 3.323 GB, free: 36.37 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002504/9.836, allocations: 15.7 kB / 3.323 GB, free: 36.36 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/9.836, allocations: 4 kB / 3.323 GB, free: 36.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/9.836, allocations: 12.08 kB / 3.323 GB, free: 36.35 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001459/9.836, allocations: 148.8 kB / 3.323 GB, free: 36.21 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.71e-07/9.836, allocations: 3.938 kB / 3.323 GB, free: 36.21 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009124/9.837, allocations: 115.9 kB / 3.324 GB, free: 36.09 MB / 426.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.0009307/9.838, allocations: 1.232 MB / 3.325 GB, free: 34.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004856/9.838, allocations: 169.8 kB / 3.325 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.469e-06/9.838, allocations: 0 / 3.325 GB, free: 34.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 6.185e-05/9.838, allocations: 24 kB / 3.325 GB, free: 34.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005489/9.839, allocations: 43.94 kB / 3.325 GB, free: 34.62 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6312/10.47, allocations: 93.32 MB / 3.416 GB, free: 43.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002008/10.47, allocations: 0.7254 MB / 3.417 GB, free: 42.79 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/10.47, allocations: 62.73 kB / 3.417 GB, free: 42.78 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/10.47, allocations: 7.719 kB / 3.417 GB, free: 42.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.604/13.07, allocations: 4.913 MB / 3.422 GB, free: 42.39 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearWater_pT_Ambient_res.mat does not exist to compare? outputFormat=mat