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.713/1.713, allocations: 171.2 MB / 183.8 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.208e-05/4.222e-05, allocations: 4 kB / 225.1 MB, free: 2.734 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.279/0.2791, allocations: 38.78 MB / 263.8 MB, free: 9.875 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9902/1.269, allocations: 328.5 MB / 0.5785 GB, free: 56.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.27, allocations: 83.64 kB / 0.5786 GB, free: 56.65 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5237/1.794, allocations: 87.14 MB / 0.6637 GB, free: 116.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.023e-06/1.794, allocations: 0 / 0.6637 GB, free: 116.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.649e-05/1.794, allocations: 6.5 kB / 0.6637 GB, free: 116.6 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.0009414/1.795, allocations: 0.5285 MB / 0.6642 GB, free: 116.2 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/1.795, allocations: 10.12 kB / 0.6642 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.746e-05/1.795, allocations: 60.03 kB / 0.6643 GB, free: 116.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003678/1.795, allocations: 42.09 kB / 0.6643 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004961/1.796, allocations: 295 kB / 0.6646 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.896e-05/1.796, allocations: 18.36 kB / 0.6646 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.03e-05/1.796, allocations: 24.97 kB / 0.6646 GB, free: 115.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007134/1.796, allocations: 292 kB / 0.6649 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/1.797, allocations: 2.688 kB / 0.6649 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.561e-05/1.797, allocations: 10.44 kB / 0.6649 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/1.797, allocations: 3.938 kB / 0.6649 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/1.797, allocations: 196.8 kB / 0.6651 GB, free: 115.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002603/1.8, allocations: 1.289 MB / 0.6664 GB, free: 115 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000584/1.8, allocations: 184.7 kB / 0.6665 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002095/1.801, allocations: 94.84 kB / 0.6666 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/1.801, allocations: 172.5 kB / 0.6668 GB, free: 114.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.961e-05/1.801, allocations: 30.75 kB / 0.6668 GB, free: 114.7 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 3.105e-06/1.801, allocations: 2.812 kB / 0.6668 GB, free: 114.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003515/1.804, allocations: 0.9013 MB / 0.6677 GB, free: 114.3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.278e-05/1.804, allocations: 55.12 kB / 0.6678 GB, free: 114.2 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003452/1.805, allocations: 233.7 kB / 0.668 GB, free: 114.1 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.306e-05/1.805, allocations: 33.02 kB / 0.668 GB, free: 114.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/1.805, allocations: 235.1 kB / 0.6682 GB, free: 113.9 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/1.805, allocations: 88.28 kB / 0.6683 GB, free: 113.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/1.805, allocations: 3.312 kB / 0.6683 GB, free: 113.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.129e-05/1.805, allocations: 336.6 kB / 0.6686 GB, free: 113.5 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002033/1.805, allocations: 81.31 kB / 0.6687 GB, free: 113.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002581/1.806, allocations: 175.4 kB / 0.6689 GB, free: 113.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/1.806, allocations: 112.3 kB / 0.669 GB, free: 113.4 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.806, allocations: 0 / 0.669 GB, free: 113.4 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008996/1.807, allocations: 422.2 kB / 0.6694 GB, free: 113.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/1.807, allocations: 7.75 kB / 0.6694 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/1.807, allocations: 5.844 kB / 0.6694 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002473/1.807, allocations: 49.45 kB / 0.6695 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/1.808, allocations: 72.45 kB / 0.6695 GB, free: 113.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001908/1.81, allocations: 2.566 MB / 0.672 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004898/1.81, allocations: 23.78 kB / 0.6721 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/1.81, allocations: 19.44 kB / 0.6721 GB, free: 110.7 MB / 362.7 MB 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.0001519/1.811, allocations: 123.2 kB / 0.6722 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.448e-05/1.811, allocations: 25.53 kB / 0.6722 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/1.811, allocations: 359.1 kB / 0.6726 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/1.811, allocations: 3.562 kB / 0.6726 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.811, allocations: 3.688 kB / 0.6726 GB, free: 110.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006194/1.812, allocations: 0.6164 MB / 0.6732 GB, free: 109.9 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00141/1.814, allocations: 0.7529 MB / 0.6739 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/1.814, allocations: 0 / 0.6739 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005391/1.814, allocations: 58.89 kB / 0.674 GB, free: 109.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001174/1.814, allocations: 20.33 kB / 0.674 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.145e-05/1.814, allocations: 11.62 kB / 0.674 GB, free: 109.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009385/1.815, allocations: 1.287 MB / 0.6753 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.815, allocations: 0 / 0.6753 GB, free: 108 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009451/1.816, allocations: 0.5036 MB / 0.6757 GB, free: 107.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001225/1.816, allocations: 108.6 kB / 0.6758 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-05/1.817, allocations: 7.938 kB / 0.6759 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004701/1.817, allocations: 18.77 kB / 0.6759 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.916e-05/1.817, allocations: 11.67 kB / 0.6759 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.872e-05/1.817, allocations: 14.61 kB / 0.6759 GB, free: 107.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002475/1.817, allocations: 181.9 kB / 0.6761 GB, free: 107.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.11e-07/1.817, allocations: 0 / 0.6761 GB, free: 107.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007115/1.818, allocations: 121 kB / 0.6762 GB, free: 107.4 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.001479/1.82, allocations: 1.269 MB / 0.6774 GB, free: 106.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000918/1.821, allocations: 448.1 kB / 0.6779 GB, free: 106.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.821, allocations: 10.19 kB / 0.6779 GB, free: 106.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/1.821, allocations: 212.6 kB / 0.6781 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/1.823, allocations: 153.1 kB / 0.6782 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/1.824, allocations: 0.5696 MB / 0.6788 GB, free: 105.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/1.825, allocations: 0.7716 MB / 0.6795 GB, free: 104.9 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/1.825, allocations: 93.02 kB / 0.6796 GB, free: 104.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/1.825, allocations: 0 / 0.6796 GB, free: 104.8 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.889/4.714, allocations: 8.392 MB / 0.6878 GB, free: 98.04 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