Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Air.MoistAir,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Air_MoistAir",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.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.994e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3055/0.3056, allocations: 38.76 MB / 263.8 MB, free: 9.871 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.69/10.99, allocations: 3.611 GB / 3.869 GB, free: 91.22 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/10.99, allocations: 88.75 kB / 3.869 GB, free: 91.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.703/12.7, allocations: 319.1 MB / 4.18 GB, free: 51.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.479e-06/12.7, allocations: 0 / 4.18 GB, free: 51.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.714e-05/12.7, allocations: 14.62 kB / 4.18 GB, free: 51.85 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.006858/12.7, allocations: 1.552 MB / 4.182 GB, free: 50.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.094e-05/12.7, allocations: 10.62 kB / 4.182 GB, free: 50.89 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001906/12.7, allocations: 80.5 kB / 4.182 GB, free: 50.85 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004738/12.7, allocations: 62.58 kB / 4.182 GB, free: 50.83 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000701/12.7, allocations: 360.3 kB / 4.182 GB, free: 50.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.63e-05/12.7, allocations: 36.58 kB / 4.182 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001083/12.7, allocations: 40.53 kB / 4.183 GB, free: 50.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/12.71, allocations: 498.7 kB / 4.183 GB, free: 50.55 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/12.71, allocations: 3.156 kB / 4.183 GB, free: 50.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.32e-05/12.71, allocations: 19.12 kB / 4.183 GB, free: 50.55 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.461e-05/12.71, allocations: 17.28 kB / 4.183 GB, free: 50.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/12.71, allocations: 0.5812 MB / 4.184 GB, free: 50.54 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004851/12.71, allocations: 1.996 MB / 4.186 GB, free: 49.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001837/12.71, allocations: 0.5398 MB / 4.186 GB, free: 49.3 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006347/12.72, allocations: 260.2 kB / 4.186 GB, free: 49.2 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006755/12.72, allocations: 0.7053 MB / 4.187 GB, free: 48.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.347e-05/12.72, allocations: 40.5 kB / 4.187 GB, free: 48.39 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.987e-06/12.72, allocations: 0 / 4.187 GB, free: 48.39 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02368/12.74, allocations: 3.36 MB / 4.19 GB, free: 47.43 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/12.74, allocations: 62.78 kB / 4.19 GB, free: 47.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004314/12.74, allocations: 263.9 kB / 4.191 GB, free: 47.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001546/12.74, allocations: 36.67 kB / 4.191 GB, free: 47.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/12.74, allocations: 246.6 kB / 4.191 GB, free: 46.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/12.74, allocations: 230.2 kB / 4.191 GB, free: 46.79 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.655e-05/12.74, allocations: 15.59 kB / 4.191 GB, free: 46.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.579e-05/12.74, allocations: 333.1 kB / 4.191 GB, free: 46.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006885/12.74, allocations: 275.4 kB / 4.192 GB, free: 46.35 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000727/12.74, allocations: 344.2 kB / 4.192 GB, free: 46.17 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007971/12.74, allocations: 311 kB / 4.192 GB, free: 46.05 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/12.74, allocations: 0 / 4.192 GB, free: 46.05 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.00269/12.75, allocations: 0.8828 MB / 4.193 GB, free: 45.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/12.75, allocations: 4 kB / 4.193 GB, free: 45.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/12.75, allocations: 4 kB / 4.193 GB, free: 45.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/12.75, allocations: 277.3 kB / 4.193 GB, free: 45.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/12.75, allocations: 125.1 kB / 4.194 GB, free: 45.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00329/12.75, allocations: 3.409 MB / 4.197 GB, free: 41.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00122/12.75, allocations: 57.52 kB / 4.197 GB, free: 41.65 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/12.75, allocations: 26.67 kB / 4.197 GB, free: 41.62 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 65 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 6,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002695/12.75, allocations: 148.3 kB / 4.197 GB, free: 41.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/12.75, allocations: 43.53 kB / 4.197 GB, free: 41.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006686/12.76, allocations: 1.254 MB / 4.198 GB, free: 40.45 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/12.76, allocations: 8 kB / 4.198 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/12.76, allocations: 0 / 4.198 GB, free: 40.44 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006057/12.77, allocations: 1.311 MB / 4.2 GB, free: 39.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003933/12.77, allocations: 1.593 MB / 4.201 GB, free: 37.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/12.77, allocations: 3.844 kB / 4.201 GB, free: 37.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/12.77, allocations: 118.6 kB / 4.201 GB, free: 37.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002245/12.77, allocations: 314.7 kB / 4.202 GB, free: 37.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/12.77, allocations: 27.52 kB / 4.202 GB, free: 37.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001077/12.78, allocations: 0.76 MB / 4.202 GB, free: 36.8 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/12.78, allocations: 4.031 kB / 4.202 GB, free: 36.8 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006521/12.78, allocations: 1.532 MB / 4.204 GB, free: 35.46 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002328/12.78, allocations: 119.5 kB / 4.204 GB, free: 35.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001461/12.78, allocations: 23.52 kB / 4.204 GB, free: 35.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/12.78, allocations: 63.53 kB / 4.204 GB, free: 35.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/12.78, allocations: 46.33 kB / 4.204 GB, free: 35.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/12.78, allocations: 31.27 kB / 4.204 GB, free: 35.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003286/12.78, allocations: 221.7 kB / 4.204 GB, free: 35.01 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.323e-06/12.78, allocations: 0 / 4.204 GB, free: 35.01 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002358/12.79, allocations: 0.5347 MB / 4.205 GB, free: 34.49 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 61 * 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: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01018/12.8, allocations: 3.235 MB / 4.208 GB, free: 31.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002416/12.8, allocations: 0.9189 MB / 4.209 GB, free: 30.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/12.8, allocations: 0 / 4.209 GB, free: 30.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/12.8, allocations: 377.4 kB / 4.209 GB, free: 30.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/12.8, allocations: 294 kB / 4.21 GB, free: 30.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005023/12.81, allocations: 1.344 MB / 4.211 GB, free: 29.14 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/12.81, allocations: 0.8633 MB / 4.212 GB, free: 28.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004929/12.81, allocations: 173.4 kB / 4.212 GB, free: 28.15 MB / 362.7 MB Notification: Performance of SimCode: time 1.203e-06/12.81, allocations: 0 / 4.212 GB, free: 28.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.347/16.16, allocations: 22.98 MB / 4.234 GB, free: 5.863 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.MoistAir_res.mat does not exist to compare? outputFormat=mat