Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_Water_IdealSteam",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.72/1.72, allocations: 194.9 MB / 202.6 MB, free: 6.898 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2511/1.971, allocations: 46.84 MB / 249.4 MB, free: 5.332 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09315/2.064, allocations: 44.51 MB / 293.9 MB, free: 10.87 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.05/3.115, allocations: 433.9 MB / 0.7108 GB, free: 93.63 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/3.115, allocations: 83.77 kB / 0.7109 GB, free: 93.58 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.7192/3.834, allocations: 154.8 MB / 0.862 GB, free: 94.13 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/3.834, allocations: 7.906 kB / 0.8621 GB, free: 94.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/3.835, allocations: 40.34 kB / 0.8621 GB, free: 94.12 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/3.835, allocations: 282.6 kB / 0.8624 GB, free: 93.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.484e-05/3.835, allocations: 12.47 kB / 0.8624 GB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/3.835, allocations: 13.94 kB / 0.8624 GB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005755/3.836, allocations: 177 kB / 0.8626 GB, free: 93.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007031/3.837, allocations: 276.1 kB / 0.8628 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/3.837, allocations: 1.281 kB / 0.8628 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/3.837, allocations: 1.281 kB / 0.8628 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/3.837, allocations: 7.078 kB / 0.8628 GB, free: 93.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00259/3.84, allocations: 1.575 MB / 0.8644 GB, free: 92.51 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/3.84, allocations: 106 kB / 0.8645 GB, free: 92.49 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003881/3.84, allocations: 90.03 kB / 0.8646 GB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.05e-05/3.84, allocations: 2.656 kB / 0.8646 GB, free: 92.47 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.989e-05/3.84, allocations: 36.16 kB / 0.8646 GB, free: 92.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 6.362e-06/3.84, allocations: 0 / 0.8646 GB, free: 92.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.009185/3.85, allocations: 0.9751 MB / 0.8655 GB, free: 91.89 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.74e-05/3.85, allocations: 54.59 kB / 0.8656 GB, free: 91.83 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003517/3.85, allocations: 205.7 kB / 0.8658 GB, free: 91.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.364e-05/3.85, allocations: 28.33 kB / 0.8658 GB, free: 91.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.346e-05/3.85, allocations: 174.1 kB / 0.866 GB, free: 91.54 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.887e-05/3.85, allocations: 85.09 kB / 0.8661 GB, free: 91.48 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/3.85, allocations: 0 / 0.8661 GB, free: 91.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.791e-05/3.85, allocations: 333.8 kB / 0.8664 GB, free: 91.16 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003066/3.851, allocations: 74.59 kB / 0.8665 GB, free: 91.16 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003324/3.851, allocations: 179.8 kB / 0.8666 GB, free: 91.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/3.852, allocations: 110.3 kB / 0.8667 GB, free: 91.02 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.852, allocations: 1.781 kB / 0.8667 GB, free: 91.02 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001135/3.853, allocations: 352.9 kB / 0.8671 GB, free: 90.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/3.853, allocations: 5.281 kB / 0.8671 GB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/3.853, allocations: 3.125 kB / 0.8671 GB, free: 90.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003298/3.853, allocations: 66.41 kB / 0.8671 GB, free: 90.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007173/3.854, allocations: 84.83 kB / 0.8672 GB, free: 90.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001658/3.855, allocations: 1.807 MB / 0.869 GB, free: 88.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005383/3.856, allocations: 18.5 kB / 0.869 GB, free: 88.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.21e-05/3.856, allocations: 41.09 kB / 0.869 GB, free: 88.98 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001646/3.856, allocations: 111.6 kB / 0.8692 GB, free: 88.87 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001082/3.856, allocations: 24.09 kB / 0.8692 GB, free: 88.86 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001679/3.858, allocations: 401.2 kB / 0.8696 GB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/3.858, allocations: 5.656 kB / 0.8696 GB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-06/3.858, allocations: 1.562 kB / 0.8696 GB, free: 88.67 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007499/3.859, allocations: 0.5365 MB / 0.8701 GB, free: 88.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/3.861, allocations: 0.6609 MB / 0.8707 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/3.861, allocations: 8.656 kB / 0.8707 GB, free: 87.63 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006862/3.861, allocations: 70.58 kB / 0.8708 GB, free: 87.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001341/3.861, allocations: 20.59 kB / 0.8708 GB, free: 87.6 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.482e-05/3.862, allocations: 11.48 kB / 0.8708 GB, free: 87.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009859/3.863, allocations: 1.217 MB / 0.872 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/3.863, allocations: 4.969 kB / 0.872 GB, free: 86.33 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001106/3.864, allocations: 476.7 kB / 0.8725 GB, free: 86.01 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001468/3.865, allocations: 0.9695 MB / 0.8734 GB, free: 85.23 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001323/3.865, allocations: 95.45 kB / 0.8735 GB, free: 85.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.832e-05/3.865, allocations: 5.516 kB / 0.8735 GB, free: 85.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000526/3.866, allocations: 13.25 kB / 0.8735 GB, free: 85.11 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.648e-05/3.866, allocations: 23.91 kB / 0.8736 GB, free: 85.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.308e-05/3.866, allocations: 31.77 kB / 0.8736 GB, free: 85.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0002324/3.866, allocations: 159 kB / 0.8737 GB, free: 84.98 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002331/3.869, allocations: 231.9 kB / 0.874 GB, free: 84.88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001781/3.87, allocations: 0.909 MB / 0.8749 GB, free: 84.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001064/3.872, allocations: 328.9 kB / 0.8752 GB, free: 84.41 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.181e-06/3.872, allocations: 1.312 kB / 0.8752 GB, free: 84.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004209/3.872, allocations: 219.1 kB / 0.8754 GB, free: 84.26 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001486/3.874, allocations: 118.5 kB / 0.8755 GB, free: 84.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/3.875, allocations: 490 kB / 0.876 GB, free: 83.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009922/3.876, allocations: 0.8723 MB / 0.8768 GB, free: 83.19 MB / 410.7 MB Notification: Performance of SimCode: time 1.142e-06/3.876, allocations: 2.094 kB / 0.8768 GB, free: 83.19 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat