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.724/1.724, allocations: 171.2 MB / 183.8 MB, free: 12.04 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.4e-05/3.412e-05, allocations: 4 kB / 225.1 MB, free: 2.684 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2677, allocations: 38.78 MB / 263.9 MB, free: 9.863 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.95/11.22, allocations: 3.611 GB / 3.869 GB, free: 91.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003011/11.22, allocations: 93.59 kB / 3.869 GB, free: 91.18 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.704/12.92, allocations: 319.1 MB / 4.18 GB, free: 51.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.106e-06/12.92, allocations: 0 / 4.18 GB, free: 51.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.243e-05/12.92, allocations: 6.844 kB / 4.18 GB, free: 51.54 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.008985/12.93, allocations: 1.555 MB / 4.182 GB, free: 50.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001016/12.93, allocations: 9.875 kB / 4.182 GB, free: 50.58 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00036/12.93, allocations: 86.91 kB / 4.182 GB, free: 50.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007324/12.93, allocations: 55.66 kB / 4.182 GB, free: 50.52 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/12.93, allocations: 359.3 kB / 4.182 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.491e-05/12.93, allocations: 39.14 kB / 4.183 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/12.93, allocations: 40.62 kB / 4.183 GB, free: 50.28 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002626/12.93, allocations: 491.4 kB / 4.183 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/12.93, allocations: 3 kB / 4.183 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/12.93, allocations: 25.38 kB / 4.183 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.781e-05/12.93, allocations: 7.562 kB / 4.183 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/12.94, allocations: 0.5827 MB / 4.184 GB, free: 50.23 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004707/12.94, allocations: 2 MB / 4.186 GB, free: 49.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/12.94, allocations: 0.5404 MB / 4.186 GB, free: 49.04 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006093/12.94, allocations: 250.5 kB / 4.186 GB, free: 48.94 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007245/12.94, allocations: 0.6997 MB / 4.187 GB, free: 48.17 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/12.94, allocations: 37.81 kB / 4.187 GB, free: 48.13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=53): time 3.747e-06/12.94, allocations: 5.781 kB / 4.187 GB, free: 48.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=65): time 0.02394/12.97, allocations: 3.34 MB / 4.19 GB, free: 47.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/12.97, allocations: 66.5 kB / 4.19 GB, free: 47.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004389/12.97, allocations: 267.5 kB / 4.191 GB, free: 46.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001946/12.97, allocations: 36.61 kB / 4.191 GB, free: 46.94 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/12.97, allocations: 251.1 kB / 4.191 GB, free: 46.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002269/12.97, allocations: 224.3 kB / 4.191 GB, free: 46.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.496e-05/12.97, allocations: 14.62 kB / 4.191 GB, free: 46.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.074e-05/12.97, allocations: 340.1 kB / 4.191 GB, free: 46.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007288/12.97, allocations: 269.7 kB / 4.192 GB, free: 46.09 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/12.97, allocations: 337.2 kB / 4.192 GB, free: 45.93 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007875/12.97, allocations: 311.4 kB / 4.192 GB, free: 45.8 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/12.97, allocations: 0 / 4.192 GB, free: 45.8 MB / 362.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.002608/12.97, allocations: 0.8605 MB / 4.193 GB, free: 45.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.786e-05/12.98, allocations: 8 kB / 4.193 GB, free: 45.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/12.98, allocations: 0 / 4.193 GB, free: 45.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001739/12.98, allocations: 280.8 kB / 4.193 GB, free: 45.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/12.98, allocations: 117.2 kB / 4.194 GB, free: 44.94 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003387/12.98, allocations: 3.399 MB / 4.197 GB, free: 41.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/12.98, allocations: 66.14 kB / 4.197 GB, free: 41.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/12.98, allocations: 28.83 kB / 4.197 GB, free: 41.29 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.0002749/12.98, allocations: 136.9 kB / 4.197 GB, free: 41.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/12.98, allocations: 50.83 kB / 4.197 GB, free: 41.1 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006673/12.99, allocations: 1.252 MB / 4.198 GB, free: 40.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.978e-05/12.99, allocations: 4 kB / 4.198 GB, free: 40.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/12.99, allocations: 8 kB / 4.198 GB, free: 40.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006147/13, allocations: 1.301 MB / 4.2 GB, free: 38.94 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00408/13, allocations: 1.603 MB / 4.201 GB, free: 37.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/13, allocations: 0 / 4.201 GB, free: 37.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/13, allocations: 122 kB / 4.201 GB, free: 37.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002259/13, allocations: 299 kB / 4.202 GB, free: 37.24 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001602/13, allocations: 31.83 kB / 4.202 GB, free: 37.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/13.01, allocations: 0.7678 MB / 4.202 GB, free: 36.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/13.01, allocations: 3.906 kB / 4.202 GB, free: 36.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006663/13.01, allocations: 1.525 MB / 4.204 GB, free: 35.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002376/13.01, allocations: 124.1 kB / 4.204 GB, free: 34.98 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001565/13.01, allocations: 25.47 kB / 4.204 GB, free: 34.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/13.01, allocations: 58.61 kB / 4.204 GB, free: 34.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/13.01, allocations: 42.75 kB / 4.204 GB, free: 34.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001061/13.01, allocations: 30.38 kB / 4.204 GB, free: 34.88 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003389/13.01, allocations: 224.2 kB / 4.204 GB, free: 34.68 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/13.01, allocations: 3.5 kB / 4.204 GB, free: 34.68 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002553/13.02, allocations: 0.5413 MB / 4.205 GB, free: 34.16 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.01027/13.03, allocations: 3.239 MB / 4.208 GB, free: 31.44 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002423/13.03, allocations: 0.8976 MB / 4.209 GB, free: 30.57 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.156e-06/13.03, allocations: 4 kB / 4.209 GB, free: 30.57 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001176/13.03, allocations: 370.6 kB / 4.209 GB, free: 30.24 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002851/13.03, allocations: 293.8 kB / 4.21 GB, free: 30.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005105/13.04, allocations: 1.339 MB / 4.211 GB, free: 28.8 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/13.04, allocations: 0.8616 MB / 4.212 GB, free: 27.98 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005343/13.04, allocations: 167.5 kB / 4.212 GB, free: 27.84 MB / 362.7 MB Notification: Performance of SimCode: time 1.212e-06/13.04, allocations: 0 / 4.212 GB, free: 27.84 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.48/16.52, allocations: 23.04 MB / 4.234 GB, free: 5.312 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