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.674/1.674, allocations: 171.2 MB / 178.8 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.122e-05/2.132e-05, allocations: 4 kB / 219.5 MB, free: 7.336 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2835, allocations: 38.77 MB / 258.3 MB, free: 12.04 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.247/1.531, allocations: 431.6 MB / 0.6737 GB, free: 102.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/1.531, allocations: 61.97 kB / 0.6738 GB, free: 102.7 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08358/1.615, allocations: 24.31 MB / 0.6975 GB, free: 85.59 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.563e-06/1.615, allocations: 0 / 0.6975 GB, free: 85.59 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.132e-06/1.615, allocations: 0 / 0.6975 GB, free: 85.59 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.001018/1.616, allocations: 437.2 kB / 0.698 GB, free: 85.13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.616, allocations: 8.031 kB / 0.698 GB, free: 85.12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009728/1.625, allocations: 466.8 kB / 0.6984 GB, free: 84.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001108/1.626, allocations: 163 kB / 0.6986 GB, free: 84.5 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.626, allocations: 0 / 0.6986 GB, free: 84.5 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001334/1.626, allocations: 8 kB / 0.6986 GB, free: 84.49 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007122/1.626, allocations: 237.5 kB / 0.6988 GB, free: 84.34 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002685/1.627, allocations: 110.4 kB / 0.6989 GB, free: 84.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/1.627, allocations: 3.984 kB / 0.6989 GB, free: 84.24 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.834e-05/1.627, allocations: 0 / 0.6989 GB, free: 84.24 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/1.627, allocations: 4 kB / 0.6989 GB, free: 84.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.628, allocations: 402.9 kB / 0.6993 GB, free: 83.86 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001229/1.63, allocations: 181.7 kB / 0.6995 GB, free: 83.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000145/1.63, allocations: 59.92 kB / 0.6995 GB, free: 83.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/1.63, allocations: 3.75 kB / 0.6995 GB, free: 83.66 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.954e-05/1.63, allocations: 34.56 kB / 0.6996 GB, free: 83.62 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.567e-06/1.63, allocations: 4 kB / 0.6996 GB, free: 83.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001702/1.631, allocations: 285.9 kB / 0.6998 GB, free: 83.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.601e-05/1.632, allocations: 51.41 kB / 0.6999 GB, free: 83.33 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.273e-05/1.632, allocations: 96.78 kB / 0.7 GB, free: 83.23 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.031e-05/1.632, allocations: 29.7 kB / 0.7 GB, free: 83.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/1.632, allocations: 158.4 kB / 0.7002 GB, free: 83.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.044e-05/1.632, allocations: 62.53 kB / 0.7002 GB, free: 82.99 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.937e-05/1.632, allocations: 4 kB / 0.7002 GB, free: 82.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.541e-05/1.632, allocations: 314.6 kB / 0.7005 GB, free: 82.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/1.632, allocations: 58.73 kB / 0.7006 GB, free: 82.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001736/1.632, allocations: 90.97 kB / 0.7007 GB, free: 82.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001712/1.632, allocations: 69.12 kB / 0.7007 GB, free: 82.51 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.632, allocations: 0 / 0.7007 GB, free: 82.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005181/1.633, allocations: 193.9 kB / 0.7009 GB, free: 82.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/1.633, allocations: 8 kB / 0.7009 GB, free: 82.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.633, allocations: 0 / 0.7009 GB, free: 82.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.253e-05/1.633, allocations: 7.984 kB / 0.7009 GB, free: 82.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006286/1.634, allocations: 43.97 kB / 0.701 GB, free: 82.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/1.634, allocations: 8.047 kB / 0.701 GB, free: 82.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004063/1.634, allocations: 15.98 kB / 0.701 GB, free: 82.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.064e-05/1.634, allocations: 11.69 kB / 0.701 GB, free: 82.27 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.0001051/1.634, allocations: 110.3 kB / 0.7011 GB, free: 82.15 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004576/1.635, allocations: 173.4 kB / 0.7013 GB, free: 82.02 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.273e-05/1.635, allocations: 11.91 kB / 0.7013 GB, free: 82.01 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007345/1.636, allocations: 222.2 kB / 0.7015 GB, free: 81.84 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/1.636, allocations: 4 kB / 0.7015 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/1.636, allocations: 0 / 0.7015 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-06/1.636, allocations: 3.984 kB / 0.7015 GB, free: 81.83 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001226/1.637, allocations: 0.5065 MB / 0.702 GB, free: 81.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/1.637, allocations: 3.984 kB / 0.702 GB, free: 81.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/1.637, allocations: 43.91 kB / 0.702 GB, free: 81.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/1.637, allocations: 0 / 0.702 GB, free: 81.3 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.245e-05/1.638, allocations: 7.984 kB / 0.7021 GB, free: 81.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.638, allocations: 7.938 kB / 0.7021 GB, free: 81.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.469e-06/1.638, allocations: 8.016 kB / 0.7021 GB, free: 81.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000478/1.638, allocations: 299.7 kB / 0.7024 GB, free: 80.99 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.921e-05/1.638, allocations: 89.02 kB / 0.7024 GB, free: 80.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.598e-05/1.638, allocations: 3.953 kB / 0.7024 GB, free: 80.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.639, allocations: 15.98 kB / 0.7025 GB, free: 80.87 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/1.639, allocations: 7.984 kB / 0.7025 GB, free: 80.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.79e-05/1.639, allocations: 11.98 kB / 0.7025 GB, free: 80.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.022e-05/1.639, allocations: 82.91 kB / 0.7026 GB, free: 80.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.3e-07/1.639, allocations: 0 / 0.7026 GB, free: 80.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006113/1.639, allocations: 62.3 kB / 0.7026 GB, free: 80.73 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.001457/1.641, allocations: 1.465 MB / 0.704 GB, free: 79.28 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0004337/1.641, allocations: 150.6 kB / 0.7042 GB, free: 79.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/1.641, allocations: 0 / 0.7042 GB, free: 79.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00019/1.642, allocations: 73.42 kB / 0.7043 GB, free: 79.13 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005062/1.642, allocations: 31.84 kB / 0.7043 GB, free: 79.1 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009933/1.643, allocations: 231.9 kB / 0.7045 GB, free: 78.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001618/1.643, allocations: 0.701 MB / 0.7052 GB, free: 78.12 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003245/1.644, allocations: 38.78 kB / 0.7052 GB, free: 78.09 MB / 362.7 MB Notification: Performance of SimCode: time 1.032e-06/1.644, allocations: 0 / 0.7052 GB, free: 78.09 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.52/4.164, allocations: 5.11 MB / 0.7102 GB, free: 72.97 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