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.834/1.834, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.565e-05/3.572e-05, allocations: 0 / 225.1 MB, free: 2.602 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2733, allocations: 38.77 MB / 263.9 MB, free: 9.746 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9526/1.226, allocations: 328.5 MB / 0.5785 GB, free: 56.17 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003996/1.226, allocations: 84.14 kB / 0.5786 GB, free: 56.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5269/1.753, allocations: 87.14 MB / 0.6637 GB, free: 116.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.713e-06/1.753, allocations: 2.875 kB / 0.6637 GB, free: 116.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.138e-05/1.753, allocations: 3.844 kB / 0.6637 GB, free: 116.7 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.0008453/1.754, allocations: 0.5267 MB / 0.6642 GB, free: 116.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.754, allocations: 10.61 kB / 0.6642 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.277e-05/1.754, allocations: 61.58 kB / 0.6643 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003373/1.755, allocations: 44.84 kB / 0.6643 GB, free: 116.3 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004427/1.755, allocations: 285 kB / 0.6646 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.625e-05/1.755, allocations: 20.95 kB / 0.6646 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.829e-05/1.755, allocations: 23.38 kB / 0.6647 GB, free: 116.1 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006116/1.756, allocations: 284 kB / 0.6649 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/1.756, allocations: 6.906 kB / 0.6649 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.387e-05/1.756, allocations: 16.81 kB / 0.6649 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/1.756, allocations: 5.031 kB / 0.6649 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004405/1.757, allocations: 187.7 kB / 0.6651 GB, free: 116 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/1.759, allocations: 1.292 MB / 0.6664 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004749/1.759, allocations: 184.3 kB / 0.6666 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001872/1.759, allocations: 84.95 kB / 0.6666 GB, free: 115.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001571/1.759, allocations: 177.5 kB / 0.6668 GB, free: 114.9 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.28e-05/1.76, allocations: 34.5 kB / 0.6668 GB, free: 114.8 MB / 362.7 MB Notification: Performance of pre-optimization done (n=21): time 2.415e-06/1.76, allocations: 6.469 kB / 0.6669 GB, free: 114.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.003115/1.763, allocations: 0.8879 MB / 0.6677 GB, free: 114.4 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/1.763, allocations: 55.31 kB / 0.6678 GB, free: 114.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000334/1.763, allocations: 231.7 kB / 0.668 GB, free: 114.3 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/1.763, allocations: 33.23 kB / 0.668 GB, free: 114.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.855e-05/1.763, allocations: 242 kB / 0.6683 GB, free: 114 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.948e-05/1.763, allocations: 85.77 kB / 0.6683 GB, free: 114 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/1.763, allocations: 7.438 kB / 0.6683 GB, free: 114 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.733e-05/1.763, allocations: 320 kB / 0.6687 GB, free: 113.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001981/1.764, allocations: 85.17 kB / 0.6687 GB, free: 113.7 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/1.764, allocations: 174.1 kB / 0.6689 GB, free: 113.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002583/1.764, allocations: 110 kB / 0.669 GB, free: 113.5 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/1.764, allocations: 0 / 0.669 GB, free: 113.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007894/1.765, allocations: 423.6 kB / 0.6694 GB, free: 113.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/1.765, allocations: 3.812 kB / 0.6694 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/1.765, allocations: 3.969 kB / 0.6694 GB, free: 113.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001924/1.765, allocations: 44.67 kB / 0.6695 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005584/1.766, allocations: 78.03 kB / 0.6695 GB, free: 113.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/1.768, allocations: 2.56 MB / 0.672 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/1.768, allocations: 18.3 kB / 0.6721 GB, free: 110.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/1.768, allocations: 14.56 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.0001356/1.768, allocations: 134.6 kB / 0.6722 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.256e-05/1.768, allocations: 26.78 kB / 0.6722 GB, free: 110.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006952/1.769, allocations: 349.7 kB / 0.6726 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/1.769, allocations: 3.656 kB / 0.6726 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.769, allocations: 0 / 0.6726 GB, free: 110.3 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005628/1.77, allocations: 0.6204 MB / 0.6732 GB, free: 109.7 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001192/1.771, allocations: 0.7538 MB / 0.6739 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.771, allocations: 0 / 0.6739 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005312/1.771, allocations: 59.67 kB / 0.674 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-05/1.772, allocations: 19.8 kB / 0.674 GB, free: 109.2 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.635e-05/1.772, allocations: 7.094 kB / 0.674 GB, free: 109.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008038/1.772, allocations: 1.288 MB / 0.6752 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.772, allocations: 0 / 0.6752 GB, free: 107.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007837/1.773, allocations: 0.5109 MB / 0.6757 GB, free: 107.5 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.12e-05/1.773, allocations: 95.58 kB / 0.6758 GB, free: 107.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.136e-05/1.773, allocations: 7.062 kB / 0.6758 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/1.774, allocations: 21.53 kB / 0.6759 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/1.774, allocations: 22.36 kB / 0.6759 GB, free: 107.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/1.774, allocations: 14.39 kB / 0.6759 GB, free: 107.3 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002246/1.774, allocations: 181.8 kB / 0.6761 GB, free: 107.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.774, allocations: 2.562 kB / 0.6761 GB, free: 107.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007044/1.775, allocations: 122.8 kB / 0.6762 GB, free: 107.2 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.001324/1.776, allocations: 1.273 MB / 0.6774 GB, free: 106.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007834/1.777, allocations: 427.9 kB / 0.6778 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/1.777, allocations: 0 / 0.6778 GB, free: 105.9 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003597/1.777, allocations: 209 kB / 0.678 GB, free: 105.8 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/1.779, allocations: 153.8 kB / 0.6782 GB, free: 105.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/1.78, allocations: 0.5687 MB / 0.6787 GB, free: 105.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002299/1.781, allocations: 0.7668 MB / 0.6795 GB, free: 104.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000216/1.781, allocations: 93.7 kB / 0.6796 GB, free: 104.6 MB / 362.7 MB Notification: Performance of SimCode: time 8.22e-07/1.781, allocations: 0 / 0.6796 GB, free: 104.6 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.973/4.754, allocations: 8.389 MB / 0.6878 GB, free: 97.54 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