Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.92/1.92, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.94e-05/3.986e-05, allocations: 0 / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.131, allocations: 333.9 MB / 0.619 GB, free: 50.28 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/1.131, allocations: 89.44 kB / 0.619 GB, free: 50.23 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.523/1.654, allocations: 87.12 MB / 0.7041 GB, free: 133.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.914e-06/1.654, allocations: 0 / 0.7041 GB, free: 133.3 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.603e-05/1.654, allocations: 14.02 kB / 0.7041 GB, free: 133.3 MB / 410.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.0008815/1.655, allocations: 0.5294 MB / 0.7047 GB, free: 132.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.655, allocations: 7.875 kB / 0.7047 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.948e-05/1.656, allocations: 61.55 kB / 0.7047 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003447/1.656, allocations: 43.14 kB / 0.7048 GB, free: 132.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004411/1.656, allocations: 290.2 kB / 0.705 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/1.656, allocations: 24.16 kB / 0.7051 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.531e-05/1.656, allocations: 21.88 kB / 0.7051 GB, free: 132.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006463/1.657, allocations: 286.3 kB / 0.7054 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.084e-05/1.657, allocations: 2.875 kB / 0.7054 GB, free: 132.4 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.403e-05/1.657, allocations: 15.33 kB / 0.7054 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.888e-06/1.657, allocations: 3.938 kB / 0.7054 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004444/1.658, allocations: 188.5 kB / 0.7056 GB, free: 132.3 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002126/1.66, allocations: 1.285 MB / 0.7068 GB, free: 131.1 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004965/1.66, allocations: 181.2 kB / 0.707 GB, free: 131.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/1.661, allocations: 86.39 kB / 0.7071 GB, free: 131 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000165/1.661, allocations: 172.8 kB / 0.7072 GB, free: 130.8 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/1.661, allocations: 34.28 kB / 0.7073 GB, free: 130.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.617e-06/1.661, allocations: 0 / 0.7073 GB, free: 130.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003299/1.664, allocations: 0.899 MB / 0.7081 GB, free: 130.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/1.664, allocations: 55.38 kB / 0.7082 GB, free: 130.1 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003364/1.665, allocations: 225.9 kB / 0.7084 GB, free: 129.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.021e-05/1.665, allocations: 32.98 kB / 0.7084 GB, free: 129.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/1.665, allocations: 240.3 kB / 0.7087 GB, free: 129.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.909e-05/1.665, allocations: 92.86 kB / 0.7088 GB, free: 129.6 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.195e-05/1.665, allocations: 4 kB / 0.7088 GB, free: 129.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.764e-05/1.665, allocations: 330.6 kB / 0.7091 GB, free: 129.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/1.665, allocations: 81.45 kB / 0.7092 GB, free: 129.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/1.665, allocations: 166.1 kB / 0.7093 GB, free: 129.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/1.666, allocations: 106.6 kB / 0.7094 GB, free: 129 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/1.666, allocations: 3.688 kB / 0.7094 GB, free: 129 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000838/1.667, allocations: 418 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/1.667, allocations: 3.844 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/1.667, allocations: 3.656 kB / 0.7098 GB, free: 128.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001981/1.667, allocations: 42.92 kB / 0.7099 GB, free: 128.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005642/1.667, allocations: 79.56 kB / 0.7099 GB, free: 128.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001858/1.669, allocations: 2.561 MB / 0.7124 GB, free: 126 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004588/1.67, allocations: 21.52 kB / 0.7125 GB, free: 126 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.245e-05/1.67, allocations: 22.28 kB / 0.7125 GB, free: 126 MB / 410.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.0001489/1.67, allocations: 124.2 kB / 0.7126 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.334e-05/1.67, allocations: 30.09 kB / 0.7126 GB, free: 125.9 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007277/1.671, allocations: 359.6 kB / 0.713 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.019e-06/1.671, allocations: 2.594 kB / 0.713 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/1.671, allocations: 0 / 0.713 GB, free: 125.6 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005916/1.671, allocations: 0.6134 MB / 0.7136 GB, free: 125 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001254/1.673, allocations: 0.7542 MB / 0.7143 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/1.673, allocations: 3.938 kB / 0.7143 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005422/1.673, allocations: 55.92 kB / 0.7144 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001091/1.673, allocations: 24.66 kB / 0.7144 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.494e-05/1.673, allocations: 4 kB / 0.7144 GB, free: 124.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008346/1.674, allocations: 1.27 MB / 0.7156 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/1.674, allocations: 3.984 kB / 0.7156 GB, free: 123 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008425/1.675, allocations: 0.5149 MB / 0.7161 GB, free: 122.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/1.675, allocations: 96.8 kB / 0.7162 GB, free: 122.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/1.675, allocations: 15.92 kB / 0.7163 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004519/1.676, allocations: 15.83 kB / 0.7163 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.699e-05/1.676, allocations: 19.84 kB / 0.7163 GB, free: 122.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/1.676, allocations: 11.83 kB / 0.7163 GB, free: 122.4 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002374/1.676, allocations: 181.7 kB / 0.7165 GB, free: 122.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.676, allocations: 0 / 0.7165 GB, free: 122.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007434/1.677, allocations: 123.9 kB / 0.7166 GB, free: 122.3 MB / 410.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.001371/1.678, allocations: 1.282 MB / 0.7178 GB, free: 121.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0008326/1.679, allocations: 424.3 kB / 0.7182 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/1.679, allocations: 4.188 kB / 0.7183 GB, free: 120.9 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000362/1.68, allocations: 201.8 kB / 0.7184 GB, free: 120.8 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001496/1.681, allocations: 166.8 kB / 0.7186 GB, free: 120.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/1.683, allocations: 0.5748 MB / 0.7192 GB, free: 120.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/1.683, allocations: 0.7672 MB / 0.7199 GB, free: 119.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002195/1.683, allocations: 90.69 kB / 0.72 GB, free: 119.5 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/1.683, allocations: 0 / 0.72 GB, free: 119.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.069/4.752, allocations: 8.391 MB / 0.7282 GB, free: 113 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat does not exist to compare? outputFormat=mat