Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.697/1.697, allocations: 171.2 MB / 183.8 MB, free: 12.02 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.691e-05, allocations: 7.984 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2653/0.2654, allocations: 38.76 MB / 263.8 MB, free: 9.758 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.291/1.557, allocations: 432.2 MB / 0.6798 GB, free: 89.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002429/1.557, allocations: 67.09 kB / 0.6798 GB, free: 89.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08515/1.642, allocations: 24.81 MB / 0.7041 GB, free: 69.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.775e-06/1.642, allocations: 0 / 0.7041 GB, free: 69.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.184e-06/1.642, allocations: 3.938 kB / 0.7041 GB, free: 69.02 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.001005/1.643, allocations: 433.6 kB / 0.7045 GB, free: 68.55 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/1.643, allocations: 16.03 kB / 0.7045 GB, free: 68.54 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/1.643, allocations: 34.31 kB / 0.7045 GB, free: 68.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009952/1.653, allocations: 464.4 kB / 0.705 GB, free: 68.08 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/1.653, allocations: 167 kB / 0.7051 GB, free: 67.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.653, allocations: 7.938 kB / 0.7051 GB, free: 67.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/1.654, allocations: 7.438 kB / 0.7051 GB, free: 67.87 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007582/1.654, allocations: 264.8 kB / 0.7054 GB, free: 67.67 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.654, allocations: 4 kB / 0.7054 GB, free: 67.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.086e-05/1.655, allocations: 4 kB / 0.7054 GB, free: 67.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.655, allocations: 0 / 0.7054 GB, free: 67.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/1.655, allocations: 231.8 kB / 0.7056 GB, free: 67.51 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001375/1.657, allocations: 434.7 kB / 0.706 GB, free: 67.09 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001289/1.658, allocations: 186.2 kB / 0.7062 GB, free: 66.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001669/1.658, allocations: 62.03 kB / 0.7063 GB, free: 66.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.4e-05/1.658, allocations: 4 kB / 0.7063 GB, free: 66.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.762e-05/1.658, allocations: 34.56 kB / 0.7063 GB, free: 66.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.435e-06/1.658, allocations: 0 / 0.7063 GB, free: 66.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001805/1.66, allocations: 314 kB / 0.7066 GB, free: 66.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/1.66, allocations: 55.41 kB / 0.7067 GB, free: 66.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.061e-05/1.66, allocations: 92.62 kB / 0.7067 GB, free: 66.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/1.66, allocations: 25.7 kB / 0.7068 GB, free: 66.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.431e-05/1.66, allocations: 177.8 kB / 0.7069 GB, free: 66.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.817e-05/1.66, allocations: 58.55 kB / 0.707 GB, free: 66.2 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/1.66, allocations: 4 kB / 0.707 GB, free: 66.19 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.996e-05/1.66, allocations: 318.3 kB / 0.7073 GB, free: 65.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001859/1.661, allocations: 62.61 kB / 0.7074 GB, free: 65.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000206/1.661, allocations: 97.78 kB / 0.7075 GB, free: 65.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002006/1.661, allocations: 68.56 kB / 0.7075 GB, free: 65.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/1.661, allocations: 0 / 0.7075 GB, free: 65.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005572/1.662, allocations: 208.2 kB / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.662, allocations: 4 kB / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.662, allocations: 8 kB / 0.7077 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.342e-05/1.662, allocations: 4.125 kB / 0.7077 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006885/1.662, allocations: 55.39 kB / 0.7078 GB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.109e-05/1.662, allocations: 4 kB / 0.7078 GB, free: 65.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004212/1.663, allocations: 15.61 kB / 0.7078 GB, free: 65.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.049e-05/1.663, allocations: 8 kB / 0.7078 GB, free: 65.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000103/1.663, allocations: 115.4 kB / 0.7079 GB, free: 65.34 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.82e-05/1.663, allocations: 11.91 kB / 0.7079 GB, free: 65.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008263/1.664, allocations: 235.8 kB / 0.7082 GB, free: 65.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/1.664, allocations: 7.922 kB / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.664, allocations: 3.984 kB / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/1.664, allocations: 0 / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001262/1.665, allocations: 0.534 MB / 0.7087 GB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/1.665, allocations: 0 / 0.7087 GB, free: 64.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/1.666, allocations: 47.89 kB / 0.7087 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/1.666, allocations: 3.938 kB / 0.7087 GB, free: 64.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.444e-05/1.666, allocations: 15.73 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/1.666, allocations: 4 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/1.666, allocations: 3.953 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/1.667, allocations: 309.1 kB / 0.7091 GB, free: 64.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/1.667, allocations: 96.95 kB / 0.7092 GB, free: 64.14 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/1.667, allocations: 3.812 kB / 0.7092 GB, free: 64.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/1.667, allocations: 11.98 kB / 0.7092 GB, free: 64.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.007e-05/1.667, allocations: 11.55 kB / 0.7092 GB, free: 64.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-05/1.667, allocations: 11.98 kB / 0.7092 GB, free: 64.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.491e-05/1.667, allocations: 83.22 kB / 0.7093 GB, free: 64.04 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.667, allocations: 0 / 0.7093 GB, free: 64.04 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000575/1.668, allocations: 74.36 kB / 0.7093 GB, free: 63.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001514/1.669, allocations: 1.399 MB / 0.7107 GB, free: 62.61 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005136/1.67, allocations: 157.6 kB / 0.7109 GB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/1.67, allocations: 0 / 0.7109 GB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002322/1.67, allocations: 91.53 kB / 0.7109 GB, free: 62.44 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004979/1.671, allocations: 31.72 kB / 0.711 GB, free: 62.41 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.672, allocations: 244.1 kB / 0.7112 GB, free: 62.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001535/1.672, allocations: 0.6974 MB / 0.7119 GB, free: 61.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003208/1.672, allocations: 47.28 kB / 0.7119 GB, free: 61.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.052e-06/1.672, allocations: 0 / 0.7119 GB, free: 61.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/4.19, allocations: 5.165 MB / 0.717 GB, free: 56.23 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat