Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_IdealGasH2O",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.334e-05, allocations: 1.406 kB / 255.4 MB, free: 3.117 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09498/0.09506, allocations: 44.5 MB / 299.9 MB, free: 6.547 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.435/1.531, allocations: 438 MB / 0.7207 GB, free: 106.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002598/1.531, allocations: 62.12 kB / 0.7207 GB, free: 106.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1205/1.651, allocations: 24.82 MB / 0.745 GB, free: 90.38 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.403e-06/1.651, allocations: 0 / 0.745 GB, free: 90.38 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.492e-06/1.651, allocations: 4 kB / 0.745 GB, free: 90.37 MB / 410.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.652, allocations: 436.5 kB / 0.7454 GB, free: 89.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.652, allocations: 8.031 kB / 0.7454 GB, free: 89.9 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/1.653, allocations: 38.06 kB / 0.7454 GB, free: 89.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009908/1.663, allocations: 460.5 kB / 0.7459 GB, free: 89.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.679e-05/1.663, allocations: 167 kB / 0.746 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/1.663, allocations: 0 / 0.746 GB, free: 89.24 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.663, allocations: 11.5 kB / 0.746 GB, free: 89.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000748/1.664, allocations: 266.6 kB / 0.7463 GB, free: 89.03 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/1.664, allocations: 3.938 kB / 0.7463 GB, free: 89.03 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-05/1.664, allocations: 7.641 kB / 0.7463 GB, free: 89.02 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/1.664, allocations: 4 kB / 0.7463 GB, free: 89.02 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007511/1.664, allocations: 230.2 kB / 0.7465 GB, free: 88.87 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/1.666, allocations: 423.7 kB / 0.7469 GB, free: 88.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001285/1.667, allocations: 182.5 kB / 0.7471 GB, free: 88.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/1.667, allocations: 59.34 kB / 0.7471 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/1.667, allocations: 4 kB / 0.7472 GB, free: 88.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/1.667, allocations: 38.06 kB / 0.7472 GB, free: 88.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 3.066e-06/1.667, allocations: 4 kB / 0.7472 GB, free: 88.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.001783/1.669, allocations: 314.9 kB / 0.7475 GB, free: 87.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/1.669, allocations: 59.36 kB / 0.7475 GB, free: 87.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.933e-05/1.669, allocations: 92.69 kB / 0.7476 GB, free: 87.81 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.669, allocations: 28.95 kB / 0.7477 GB, free: 87.78 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.659e-05/1.669, allocations: 166.3 kB / 0.7478 GB, free: 87.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.292e-05/1.67, allocations: 61.67 kB / 0.7479 GB, free: 87.57 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/1.67, allocations: 8 kB / 0.7479 GB, free: 87.56 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.792e-05/1.67, allocations: 314.4 kB / 0.7482 GB, free: 87.25 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001925/1.67, allocations: 61.48 kB / 0.7482 GB, free: 87.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000213/1.67, allocations: 106.7 kB / 0.7483 GB, free: 87.11 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002063/1.67, allocations: 65.69 kB / 0.7484 GB, free: 87.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/1.67, allocations: 0 / 0.7484 GB, free: 87.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005562/1.671, allocations: 199 kB / 0.7486 GB, free: 86.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/1.671, allocations: 10.81 kB / 0.7486 GB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.671, allocations: 0 / 0.7486 GB, free: 86.91 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.924e-05/1.671, allocations: 4 kB / 0.7486 GB, free: 86.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/1.672, allocations: 55.39 kB / 0.7487 GB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.672, allocations: 4 kB / 0.7487 GB, free: 86.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004147/1.672, allocations: 15.94 kB / 0.7487 GB, free: 86.83 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.767e-05/1.672, allocations: 11.5 kB / 0.7487 GB, free: 86.82 MB / 410.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 9.633e-05/1.672, allocations: 116.4 kB / 0.7488 GB, free: 86.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.584e-05/1.672, allocations: 7.906 kB / 0.7488 GB, free: 86.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008016/1.673, allocations: 234.6 kB / 0.749 GB, free: 86.53 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/1.673, allocations: 4 kB / 0.749 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.221e-06/1.673, allocations: 3.984 kB / 0.749 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/1.673, allocations: 0 / 0.749 GB, free: 86.52 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001255/1.674, allocations: 0.5261 MB / 0.7496 GB, free: 86.01 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.189e-06/1.674, allocations: 7.953 kB / 0.7496 GB, free: 86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005653/1.675, allocations: 51.83 kB / 0.7496 GB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/1.675, allocations: 0 / 0.7496 GB, free: 85.95 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.529e-05/1.675, allocations: 11.55 kB / 0.7496 GB, free: 85.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/1.675, allocations: 0 / 0.7496 GB, free: 85.94 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.675, allocations: 3.938 kB / 0.7496 GB, free: 85.94 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/1.676, allocations: 311.3 kB / 0.7499 GB, free: 85.64 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.034e-05/1.676, allocations: 92.88 kB / 0.75 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.459e-05/1.676, allocations: 4 kB / 0.75 GB, free: 85.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.676, allocations: 15.8 kB / 0.75 GB, free: 85.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/1.676, allocations: 11.98 kB / 0.7501 GB, free: 85.51 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.739e-05/1.676, allocations: 11.98 kB / 0.7501 GB, free: 85.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.124e-05/1.676, allocations: 82.72 kB / 0.7501 GB, free: 85.42 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/1.676, allocations: 0 / 0.7501 GB, free: 85.42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006311/1.677, allocations: 68.98 kB / 0.7502 GB, free: 85.38 MB / 410.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.00145/1.678, allocations: 1.409 MB / 0.7516 GB, free: 83.99 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005014/1.679, allocations: 154 kB / 0.7517 GB, free: 83.88 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/1.679, allocations: 0 / 0.7517 GB, free: 83.88 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002176/1.679, allocations: 85.47 kB / 0.7518 GB, free: 83.82 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000483/1.68, allocations: 39.55 kB / 0.7518 GB, free: 83.79 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/1.681, allocations: 248 kB / 0.7521 GB, free: 83.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001454/1.681, allocations: 0.7013 MB / 0.7528 GB, free: 82.8 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003149/1.681, allocations: 42.34 kB / 0.7528 GB, free: 82.77 MB / 410.7 MB Notification: Performance of SimCode: time 8.41e-07/1.681, allocations: 0 / 0.7528 GB, free: 82.77 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.466/4.147, allocations: 5.201 MB / 0.7579 GB, free: 77.57 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat