Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.833/1.833, allocations: 171.3 MB / 178.8 MB, free: 172 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.728e-05/2.759e-05, allocations: 4 kB / 219.6 MB, free: 7.316 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.2775, allocations: 38.77 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9308/1.208, allocations: 327.9 MB / 0.5725 GB, free: 68.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003272/1.209, allocations: 83.2 kB / 0.5725 GB, free: 68.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5026/1.711, allocations: 86.75 MB / 0.6573 GB, free: 114.2 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.894e-06/1.711, allocations: 0 / 0.6573 GB, free: 114.2 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.394e-05/1.711, allocations: 9.938 kB / 0.6573 GB, free: 114.2 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.0008626/1.712, allocations: 0.5236 MB / 0.6578 GB, free: 113.8 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.477e-05/1.712, allocations: 11.72 kB / 0.6578 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003506/1.713, allocations: 42.97 kB / 0.6578 GB, free: 113.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/1.713, allocations: 287 kB / 0.6581 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/1.713, allocations: 8.484 kB / 0.6581 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/1.713, allocations: 11.81 kB / 0.6581 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004469/1.714, allocations: 178.9 kB / 0.6583 GB, free: 113.6 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005304/1.714, allocations: 259.7 kB / 0.6585 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.161e-05/1.714, allocations: 3.062 kB / 0.6585 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/1.714, allocations: 0 / 0.6585 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/1.714, allocations: 10.56 kB / 0.6586 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002087/1.716, allocations: 1.222 MB / 0.6598 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/1.717, allocations: 176.3 kB / 0.6599 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000167/1.717, allocations: 80.95 kB / 0.66 GB, free: 112.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000159/1.717, allocations: 169.7 kB / 0.6602 GB, free: 112.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.32e-05/1.717, allocations: 37.19 kB / 0.6602 GB, free: 112.4 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.036e-06/1.717, allocations: 0 / 0.6602 GB, free: 112.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.002567/1.72, allocations: 0.7907 MB / 0.661 GB, free: 112 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.895e-05/1.72, allocations: 57.16 kB / 0.661 GB, free: 112 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002437/1.72, allocations: 190.4 kB / 0.6612 GB, free: 111.9 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.459e-05/1.72, allocations: 25.7 kB / 0.6612 GB, free: 111.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.601e-05/1.72, allocations: 244.9 kB / 0.6615 GB, free: 111.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.013e-05/1.72, allocations: 91.84 kB / 0.6615 GB, free: 111.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.912e-05/1.721, allocations: 5.969 kB / 0.6616 GB, free: 111.6 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.878e-05/1.721, allocations: 325.6 kB / 0.6619 GB, free: 111.3 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/1.721, allocations: 75.75 kB / 0.6619 GB, free: 111.3 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/1.721, allocations: 159.5 kB / 0.6621 GB, free: 111.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/1.721, allocations: 101 kB / 0.6622 GB, free: 111.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/1.721, allocations: 0 / 0.6622 GB, free: 111.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008243/1.722, allocations: 407.8 kB / 0.6626 GB, free: 111 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.122e-05/1.722, allocations: 6.812 kB / 0.6626 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.722, allocations: 3.531 kB / 0.6626 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000213/1.722, allocations: 38.64 kB / 0.6626 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/1.723, allocations: 77.64 kB / 0.6627 GB, free: 111 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001693/1.725, allocations: 2.466 MB / 0.6651 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/1.725, allocations: 22.14 kB / 0.6651 GB, free: 108.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.057e-05/1.725, allocations: 15.33 kB / 0.6651 GB, free: 108.6 MB / 362.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002201/1.725, allocations: 125.6 kB / 0.6653 GB, free: 108.5 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00067/1.726, allocations: 309.2 kB / 0.6656 GB, free: 108.4 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/1.726, allocations: 22.98 kB / 0.6656 GB, free: 108.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006838/1.727, allocations: 336.3 kB / 0.6659 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/1.727, allocations: 3.906 kB / 0.6659 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.727, allocations: 0 / 0.6659 GB, free: 108.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005902/1.728, allocations: 0.598 MB / 0.6665 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001201/1.729, allocations: 0.6966 MB / 0.6672 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.729, allocations: 0 / 0.6672 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/1.729, allocations: 56.56 kB / 0.6672 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/1.729, allocations: 20.05 kB / 0.6672 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.523e-05/1.729, allocations: 7.734 kB / 0.6672 GB, free: 107.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007841/1.73, allocations: 1.223 MB / 0.6684 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/1.73, allocations: 7.562 kB / 0.6684 GB, free: 106.1 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/1.731, allocations: 498 kB / 0.6689 GB, free: 105.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/1.731, allocations: 103.7 kB / 0.669 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.478e-05/1.731, allocations: 3.875 kB / 0.669 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/1.732, allocations: 7.156 kB / 0.669 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/1.732, allocations: 21.22 kB / 0.669 GB, free: 105.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.263e-05/1.732, allocations: 13.67 kB / 0.6691 GB, free: 105.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000172/1.732, allocations: 149.6 kB / 0.6692 GB, free: 105.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.383e-06/1.732, allocations: 5.75 kB / 0.6692 GB, free: 105.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007435/1.733, allocations: 112 kB / 0.6693 GB, free: 105.6 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 (25): * Single equations (assignments): 24 * 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%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001388/1.734, allocations: 1.247 MB / 0.6705 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000771/1.735, allocations: 410 kB / 0.6709 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/1.735, allocations: 3.219 kB / 0.6709 GB, free: 104.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003683/1.735, allocations: 208.4 kB / 0.6711 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/1.737, allocations: 121.1 kB / 0.6712 GB, free: 104.4 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001514/1.738, allocations: 0.5448 MB / 0.6718 GB, free: 104.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/1.739, allocations: 0.7751 MB / 0.6725 GB, free: 103.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002231/1.739, allocations: 91.27 kB / 0.6726 GB, free: 103.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.242e-06/1.739, allocations: 1.641 kB / 0.6726 GB, free: 103.5 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.824/4.562, allocations: 8.007 MB / 0.6804 GB, free: 103.1 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.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat