Running command: "" <> buildModelFMU(Modelica.Media.Examples.IdealGasH2O,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_IdealGasH2O",fmuType="cs",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Modelica): time 1.797/1.797, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2242/2.021, allocations: 46.81 MB / 249.4 MB, free: 5.32 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09327/2.115, allocations: 44.52 MB / 293.9 MB, free: 10.9 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.08/3.195, allocations: 437.3 MB / 0.714 GB, free: 90.93 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002342/3.195, allocations: 66.78 kB / 0.7141 GB, free: 90.9 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.09876/3.294, allocations: 24.68 MB / 0.7382 GB, free: 70.64 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/3.294, allocations: 11.94 kB / 0.7382 GB, free: 70.63 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/3.307, allocations: 0.5368 MB / 0.7387 GB, free: 70.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.971e-05/3.307, allocations: 163 kB / 0.7389 GB, free: 69.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/3.307, allocations: 4 kB / 0.7389 GB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/3.307, allocations: 7.562 kB / 0.7389 GB, free: 69.92 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009226/3.308, allocations: 224.7 kB / 0.7391 GB, free: 69.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/3.309, allocations: 116.4 kB / 0.7392 GB, free: 69.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/3.309, allocations: 3.906 kB / 0.7392 GB, free: 69.67 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.302e-05/3.309, allocations: 0 / 0.7392 GB, free: 69.67 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/3.309, allocations: 4 kB / 0.7392 GB, free: 69.67 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00171/3.31, allocations: 398.2 kB / 0.7396 GB, free: 69.29 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/3.312, allocations: 153.3 kB / 0.7398 GB, free: 69.17 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/3.312, allocations: 48.48 kB / 0.7398 GB, free: 69.13 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/3.312, allocations: 8 kB / 0.7398 GB, free: 69.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.752e-05/3.312, allocations: 37.06 kB / 0.7398 GB, free: 69.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=13): time 2.335e-06/3.312, allocations: 3.938 kB / 0.7399 GB, free: 69.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.002124/3.314, allocations: 288.4 kB / 0.7401 GB, free: 68.85 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.277e-05/3.314, allocations: 55.41 kB / 0.7402 GB, free: 68.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.518e-05/3.314, allocations: 92.56 kB / 0.7403 GB, free: 68.69 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/3.315, allocations: 29.7 kB / 0.7403 GB, free: 68.66 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.57e-05/3.315, allocations: 99.5 kB / 0.7404 GB, free: 68.56 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.012e-05/3.315, allocations: 53.7 kB / 0.7404 GB, free: 68.51 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.198e-05/3.315, allocations: 0 / 0.7404 GB, free: 68.51 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.649e-05/3.315, allocations: 321.9 kB / 0.7407 GB, free: 68.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000194/3.315, allocations: 56.11 kB / 0.7408 GB, free: 68.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002166/3.315, allocations: 100.1 kB / 0.7409 GB, free: 68.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/3.315, allocations: 60.25 kB / 0.741 GB, free: 68.03 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/3.315, allocations: 0 / 0.741 GB, free: 68.03 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005946/3.316, allocations: 193.7 kB / 0.7411 GB, free: 67.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/3.316, allocations: 4 kB / 0.7411 GB, free: 67.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.273e-06/3.316, allocations: 4 kB / 0.7411 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/3.316, allocations: 4.125 kB / 0.7412 GB, free: 67.87 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/3.317, allocations: 51.89 kB / 0.7412 GB, free: 67.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/3.317, allocations: 4 kB / 0.7412 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/3.317, allocations: 11.98 kB / 0.7412 GB, free: 67.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.844e-05/3.318, allocations: 11.5 kB / 0.7412 GB, free: 67.79 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 0.000108/3.318, allocations: 108.7 kB / 0.7413 GB, free: 67.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.106e-05/3.318, allocations: 12.08 kB / 0.7413 GB, free: 67.67 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001067/3.319, allocations: 240.8 kB / 0.7416 GB, free: 67.48 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.462e-06/3.319, allocations: 4 kB / 0.7416 GB, free: 67.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/3.319, allocations: 0 / 0.7416 GB, free: 67.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/3.319, allocations: 3.984 kB / 0.7416 GB, free: 67.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001426/3.32, allocations: 0.5065 MB / 0.7421 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/3.32, allocations: 3.938 kB / 0.7421 GB, free: 66.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007167/3.321, allocations: 43.91 kB / 0.7421 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/3.321, allocations: 3.984 kB / 0.7421 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.986e-05/3.321, allocations: 4 kB / 0.7421 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/3.321, allocations: 0 / 0.7421 GB, free: 66.93 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/3.321, allocations: 4 kB / 0.7421 GB, free: 66.92 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005551/3.322, allocations: 318.5 kB / 0.7424 GB, free: 66.62 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006988/3.322, allocations: 0.6851 MB / 0.7431 GB, free: 65.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.342e-05/3.322, allocations: 89.02 kB / 0.7432 GB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.55e-05/3.323, allocations: 0 / 0.7432 GB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005676/3.323, allocations: 11.98 kB / 0.7432 GB, free: 65.85 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.312e-05/3.323, allocations: 7.984 kB / 0.7432 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.976e-05/3.323, allocations: 19.3 kB / 0.7432 GB, free: 65.82 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.182e-05/3.323, allocations: 83.19 kB / 0.7433 GB, free: 65.74 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001752/3.325, allocations: 105.3 kB / 0.7434 GB, free: 65.7 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.0009453/3.326, allocations: 0.6067 MB / 0.744 GB, free: 65.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005207/3.327, allocations: 153.4 kB / 0.7441 GB, free: 64.98 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/3.327, allocations: 0 / 0.7441 GB, free: 64.98 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002347/3.327, allocations: 76.61 kB / 0.7442 GB, free: 64.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005641/3.327, allocations: 35.28 kB / 0.7443 GB, free: 64.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001045/3.328, allocations: 169.7 kB / 0.7444 GB, free: 64.72 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005529/3.329, allocations: 0.7473 MB / 0.7451 GB, free: 63.95 MB / 410.7 MB Notification: Performance of SimCode: time 8.62e-07/3.329, allocations: 4 kB / 0.7451 GB, free: 63.95 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.IdealGasH2O_res.mat does not exist to compare? outputFormat=mat