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.695/1.695, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.77e-05/3.778e-05, allocations: 0 / 225.1 MB, free: 2.625 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.26/0.2601, allocations: 38.77 MB / 263.8 MB, free: 9.762 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.358/1.618, allocations: 432.3 MB / 0.6798 GB, free: 89.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/1.619, allocations: 63.84 kB / 0.6798 GB, free: 89.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08647/1.705, allocations: 24.81 MB / 0.7041 GB, free: 69 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/1.705, allocations: 0 / 0.7041 GB, free: 69 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/1.705, allocations: 0 / 0.7041 GB, free: 69 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.0009957/1.706, allocations: 437.1 kB / 0.7045 GB, free: 68.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.706, allocations: 16.03 kB / 0.7045 GB, free: 68.53 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.11e-05/1.706, allocations: 38.11 kB / 0.7045 GB, free: 68.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01169/1.718, allocations: 462.7 kB / 0.705 GB, free: 68.07 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.201e-05/1.718, allocations: 167 kB / 0.7051 GB, free: 67.86 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.871e-05/1.718, allocations: 4 kB / 0.7052 GB, free: 67.86 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/1.718, allocations: 11.38 kB / 0.7052 GB, free: 67.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001022/1.719, allocations: 259.3 kB / 0.7054 GB, free: 67.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/1.719, allocations: 4 kB / 0.7054 GB, free: 67.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/1.719, allocations: 7.438 kB / 0.7054 GB, free: 67.65 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/1.719, allocations: 0 / 0.7054 GB, free: 67.65 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001032/1.72, allocations: 230.6 kB / 0.7056 GB, free: 67.5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00181/1.722, allocations: 431.7 kB / 0.7061 GB, free: 67.08 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/1.724, allocations: 189.6 kB / 0.7062 GB, free: 66.93 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/1.724, allocations: 58.78 kB / 0.7063 GB, free: 66.89 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.983e-05/1.724, allocations: 0 / 0.7063 GB, free: 66.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/1.724, allocations: 42.38 kB / 0.7063 GB, free: 66.84 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.076e-06/1.724, allocations: 0 / 0.7063 GB, free: 66.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002624/1.727, allocations: 312.8 kB / 0.7066 GB, free: 66.59 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.171e-05/1.727, allocations: 51.41 kB / 0.7067 GB, free: 66.53 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.075e-05/1.727, allocations: 96.8 kB / 0.7068 GB, free: 66.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.068e-05/1.727, allocations: 37.27 kB / 0.7068 GB, free: 66.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.23e-05/1.727, allocations: 158.4 kB / 0.707 GB, free: 66.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/1.728, allocations: 62.22 kB / 0.707 GB, free: 66.18 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.502e-05/1.728, allocations: 3.5 kB / 0.707 GB, free: 66.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.103e-05/1.728, allocations: 330.2 kB / 0.7073 GB, free: 65.86 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002938/1.728, allocations: 53.94 kB / 0.7074 GB, free: 65.82 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/1.728, allocations: 97.45 kB / 0.7075 GB, free: 65.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003155/1.729, allocations: 67.47 kB / 0.7075 GB, free: 65.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/1.729, allocations: 0 / 0.7075 GB, free: 65.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.000859/1.73, allocations: 204.1 kB / 0.7077 GB, free: 65.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.73, allocations: 4 kB / 0.7077 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/1.73, allocations: 4 kB / 0.7077 GB, free: 65.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/1.73, allocations: 4.125 kB / 0.7077 GB, free: 65.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008875/1.731, allocations: 51.89 kB / 0.7078 GB, free: 65.47 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.301e-05/1.731, allocations: 4 kB / 0.7078 GB, free: 65.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/1.731, allocations: 15.92 kB / 0.7078 GB, free: 65.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.769e-05/1.731, allocations: 11.98 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.0001346/1.731, allocations: 119.9 kB / 0.7079 GB, free: 65.33 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.246e-05/1.732, allocations: 7.906 kB / 0.7079 GB, free: 65.32 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/1.733, allocations: 234.3 kB / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.77e-06/1.733, allocations: 3.938 kB / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/1.733, allocations: 0 / 0.7082 GB, free: 65.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-06/1.733, allocations: 4 kB / 0.7082 GB, free: 65.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/1.734, allocations: 0.5403 MB / 0.7087 GB, free: 64.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/1.734, allocations: 0 / 0.7087 GB, free: 64.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007475/1.735, allocations: 47.64 kB / 0.7088 GB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/1.735, allocations: 0 / 0.7088 GB, free: 64.56 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/1.735, allocations: 8.062 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/1.735, allocations: 4 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.735, allocations: 3.953 kB / 0.7088 GB, free: 64.55 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007151/1.736, allocations: 312.3 kB / 0.7091 GB, free: 64.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.739e-05/1.736, allocations: 92.91 kB / 0.7092 GB, free: 64.15 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.257e-05/1.736, allocations: 8 kB / 0.7092 GB, free: 64.14 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/1.737, allocations: 15.17 kB / 0.7092 GB, free: 64.13 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/1.737, allocations: 11.97 kB / 0.7092 GB, free: 64.12 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/1.737, allocations: 11.5 kB / 0.7092 GB, free: 64.11 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.611e-05/1.737, allocations: 79.28 kB / 0.7093 GB, free: 64.03 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/1.737, allocations: 0 / 0.7093 GB, free: 64.03 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009142/1.738, allocations: 73.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.001955/1.74, allocations: 1.409 MB / 0.7107 GB, free: 62.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006788/1.741, allocations: 149 kB / 0.7109 GB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/1.741, allocations: 3.938 kB / 0.7109 GB, free: 62.5 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00033/1.741, allocations: 84.55 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.0006991/1.742, allocations: 35.7 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.00146/1.743, allocations: 243 kB / 0.7112 GB, free: 62.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001959/1.743, allocations: 0.6973 MB / 0.7119 GB, free: 61.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004521/1.744, allocations: 46.89 kB / 0.7119 GB, free: 61.39 MB / 362.7 MB Notification: Performance of SimCode: time 9.52e-07/1.744, allocations: 0 / 0.7119 GB, free: 61.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.465/4.209, allocations: 5.202 MB / 0.717 GB, free: 56.19 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