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 1.96/1.96, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.512e-05, allocations: 3.984 kB / 267.6 MB, free: 5.324 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 48.69 MB / 316.3 MB, free: 4.531 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.464/8.568, allocations: 2.797 GB / 3.106 GB, free: 104.2 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/8.569, allocations: 74.38 kB / 3.106 GB, free: 104.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.005/9.574, allocations: 203.1 MB / 3.304 GB, free: 72.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.663e-06/9.574, allocations: 4 kB / 3.304 GB, free: 72.32 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.492e-05/9.574, allocations: 3.875 kB / 3.304 GB, free: 72.32 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.005362/9.579, allocations: 1.144 MB / 3.305 GB, free: 71.63 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/9.579, allocations: 7.844 kB / 3.305 GB, free: 71.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002199/9.579, allocations: 34.69 kB / 3.305 GB, free: 71.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000315/9.58, allocations: 231.3 kB / 3.306 GB, free: 71.39 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001493/9.58, allocations: 118.8 kB / 3.306 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.879e-05/9.58, allocations: 14.38 kB / 3.306 GB, free: 71.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009871/9.581, allocations: 0.7098 MB / 3.306 GB, free: 71.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/9.581, allocations: 286.8 kB / 3.307 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/9.581, allocations: 0 / 3.307 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/9.581, allocations: 7.828 kB / 3.307 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/9.582, allocations: 3.906 kB / 3.307 GB, free: 71 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003493/9.585, allocations: 3.505 MB / 3.31 GB, free: 67.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/9.585, allocations: 55.8 kB / 3.31 GB, free: 67.34 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.376e-05/9.585, allocations: 20.27 kB / 3.31 GB, free: 67.33 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006531/9.586, allocations: 447.1 kB / 3.311 GB, free: 66.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.153e-05/9.586, allocations: 34.47 kB / 3.311 GB, free: 66.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.945e-06/9.586, allocations: 0 / 3.311 GB, free: 66.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002276/9.586, allocations: 51.42 kB / 3.311 GB, free: 66.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/9.586, allocations: 51.69 kB / 3.311 GB, free: 66.78 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/9.586, allocations: 220.4 kB / 3.311 GB, free: 66.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/9.586, allocations: 29.67 kB / 3.311 GB, free: 66.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001287/9.587, allocations: 319.1 kB / 3.311 GB, free: 66.31 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/9.587, allocations: 11.56 kB / 3.311 GB, free: 66.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/9.587, allocations: 0 / 3.311 GB, free: 66.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.254e-05/9.587, allocations: 333.5 kB / 3.312 GB, free: 65.98 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.766e-05/9.587, allocations: 34.16 kB / 3.312 GB, free: 65.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002291/9.587, allocations: 334.8 kB / 3.312 GB, free: 65.54 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005508/9.588, allocations: 112.1 kB / 3.312 GB, free: 65.5 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/9.588, allocations: 3.406 kB / 3.312 GB, free: 65.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0009506/9.589, allocations: 339.9 kB / 3.312 GB, free: 65.38 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/9.589, allocations: 11.34 kB / 3.312 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/9.589, allocations: 12.34 kB / 3.313 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.336e-05/9.589, allocations: 14.91 kB / 3.313 GB, free: 65.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000454/9.589, allocations: 101.2 kB / 3.313 GB, free: 65.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/9.589, allocations: 18.91 kB / 3.313 GB, free: 65.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004744/9.59, allocations: 48.56 kB / 3.313 GB, free: 65.33 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.434e-05/9.59, allocations: 33.81 kB / 3.313 GB, free: 65.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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.0001052/9.59, allocations: 139.2 kB / 3.313 GB, free: 65.19 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001373/9.59, allocations: 47.05 kB / 3.313 GB, free: 65.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.918e-05/9.59, allocations: 21.62 kB / 3.313 GB, free: 65.14 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/9.59, allocations: 20.19 kB / 3.313 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/9.59, allocations: 3.703 kB / 3.313 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/9.59, allocations: 0 / 3.313 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/9.59, allocations: 0 / 3.313 GB, free: 65.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002271/9.59, allocations: 173.8 kB / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/9.59, allocations: 0 / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.434e-06/9.59, allocations: 10.69 kB / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/9.59, allocations: 3.5 kB / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/9.591, allocations: 0 / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/9.591, allocations: 0 / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/9.591, allocations: 0 / 3.313 GB, free: 64.95 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/9.591, allocations: 164 kB / 3.313 GB, free: 64.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.72e-05/9.591, allocations: 103.5 kB / 3.313 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.153e-05/9.591, allocations: 0 / 3.313 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002335/9.591, allocations: 3.781 kB / 3.313 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.261e-05/9.591, allocations: 3.516 kB / 3.313 GB, free: 64.69 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/9.591, allocations: 0 / 3.313 GB, free: 64.69 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001316/9.591, allocations: 151.5 kB / 3.314 GB, free: 64.59 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/9.591, allocations: 0 / 3.314 GB, free: 64.59 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008695/9.592, allocations: 103 kB / 3.314 GB, free: 64.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * 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.0007162/9.593, allocations: 0.8866 MB / 3.314 GB, free: 63.87 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003064/9.593, allocations: 128.8 kB / 3.315 GB, free: 63.83 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/9.593, allocations: 3.719 kB / 3.315 GB, free: 63.83 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/9.593, allocations: 4 kB / 3.315 GB, free: 63.82 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003141/9.594, allocations: 12.09 kB / 3.315 GB, free: 63.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6068/10.2, allocations: 91.05 MB / 3.404 GB, free: 52.88 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001944/10.2, allocations: 0.7205 MB / 3.404 GB, free: 52.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001097/10.2, allocations: 57.7 kB / 3.404 GB, free: 52.17 MB / 426.7 MB Notification: Performance of SimCode: time 1.142e-06/10.2, allocations: 3.875 kB / 3.404 GB, free: 52.17 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.529/12.73, allocations: 4.729 MB / 3.409 GB, free: 52.09 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