Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_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(ModelicaTest): time 2.595/2.595, allocations: 235.1 MB / 242 MB, free: 9.746 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1977/2.793, allocations: 57.21 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3041/3.097, allocations: 54.86 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.512/4.609, allocations: 0.5035 GB / 0.8493 GB, free: 124.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/4.61, allocations: 97.08 kB / 0.8494 GB, free: 124.3 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 1.357/5.967, allocations: 232.4 MB / 1.076 GB, free: 107.6 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/5.967, allocations: 12 kB / 1.076 GB, free: 107.6 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001967/5.969, allocations: 134.7 kB / 1.077 GB, free: 107.4 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/5.972, allocations: 0.5517 MB / 1.077 GB, free: 106.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002013/5.972, allocations: 84.39 kB / 1.077 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002863/5.972, allocations: 31.91 kB / 1.077 GB, free: 106.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002585/5.975, allocations: 0.54 MB / 1.078 GB, free: 106.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/5.977, allocations: 0.7331 MB / 1.078 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.787e-05/5.977, allocations: 7.156 kB / 1.078 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001393/5.977, allocations: 3.938 kB / 1.078 GB, free: 105.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.63e-05/5.977, allocations: 44.59 kB / 1.078 GB, free: 105.3 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008475/5.986, allocations: 3.999 MB / 1.082 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007282/5.986, allocations: 198.3 kB / 1.083 GB, free: 100.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003692/5.987, allocations: 133.2 kB / 1.083 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001095/5.987, allocations: 32.05 kB / 1.083 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/5.987, allocations: 38.8 kB / 1.083 GB, free: 100.7 MB / 490.7 MB Notification: Performance of pre-optimization done (n=27): time 3.356e-06/5.987, allocations: 0 / 1.083 GB, free: 100.7 MB / 490.7 MB Notification: Performance of matching and sorting (n=32): time 0.01279/6, allocations: 1.401 MB / 1.084 GB, free: 99.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.951e-05/6, allocations: 140.4 kB / 1.084 GB, free: 99.1 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/6.001, allocations: 477.8 kB / 1.085 GB, free: 98.63 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001511/6.001, allocations: 25.7 kB / 1.085 GB, free: 98.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/6.001, allocations: 346.6 kB / 1.085 GB, free: 98.26 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/6.002, allocations: 118.4 kB / 1.085 GB, free: 98.14 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/6.002, allocations: 0 / 1.085 GB, free: 98.14 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001458/6.002, allocations: 370.7 kB / 1.086 GB, free: 97.77 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005917/6.002, allocations: 185.5 kB / 1.086 GB, free: 97.59 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007639/6.003, allocations: 0.5116 MB / 1.086 GB, free: 96.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001331/6.005, allocations: 350.2 kB / 1.087 GB, free: 96.6 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.885e-06/6.005, allocations: 0 / 1.087 GB, free: 96.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002903/6.008, allocations: 0.8382 MB / 1.087 GB, free: 95.76 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/6.008, allocations: 8 kB / 1.087 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/6.008, allocations: 8 kB / 1.087 GB, free: 95.75 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002479/6.01, allocations: 273.3 kB / 1.088 GB, free: 95.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/6.011, allocations: 133.9 kB / 1.088 GB, free: 95.35 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002031/6.013, allocations: 0.9402 MB / 1.089 GB, free: 94.39 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001399/6.015, allocations: 34.27 kB / 1.089 GB, free: 94.36 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001848/6.015, allocations: 71.98 kB / 1.089 GB, free: 94.29 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002776/6.015, allocations: 132.7 kB / 1.089 GB, free: 94.15 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/6.015, allocations: 65.47 kB / 1.089 GB, free: 94.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00263/6.018, allocations: 0.5546 MB / 1.09 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/6.018, allocations: 7.906 kB / 1.09 GB, free: 93.55 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/6.018, allocations: 4 kB / 1.09 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.648e-06/6.018, allocations: 6.391 kB / 1.09 GB, free: 93.54 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002904/6.021, allocations: 0.965 MB / 1.091 GB, free: 92.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.252e-06/6.021, allocations: 2.875 kB / 1.091 GB, free: 92.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002362/6.024, allocations: 183.8 kB / 1.091 GB, free: 92.35 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001746/6.024, allocations: 30.91 kB / 1.091 GB, free: 92.32 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.763e-05/6.024, allocations: 12 kB / 1.091 GB, free: 92.31 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002616/6.026, allocations: 2.576 MB / 1.093 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/6.027, allocations: 0 / 1.093 GB, free: 89.52 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001927/6.028, allocations: 0.6841 MB / 1.094 GB, free: 88.8 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002673/6.031, allocations: 1.287 MB / 1.095 GB, free: 87.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006032/6.032, allocations: 174.6 kB / 1.095 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002498/6.032, allocations: 4 kB / 1.095 GB, free: 87.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/6.033, allocations: 18.67 kB / 1.095 GB, free: 87.28 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/6.033, allocations: 27.91 kB / 1.095 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001037/6.033, allocations: 39.97 kB / 1.095 GB, free: 87.21 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0009656/6.034, allocations: 346.9 kB / 1.096 GB, free: 86.88 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003701/6.038, allocations: 439.6 kB / 1.096 GB, free: 86.45 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.003136/6.041, allocations: 1.185 MB / 1.097 GB, free: 85.5 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001946/6.043, allocations: 491.5 kB / 1.098 GB, free: 85.03 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.584e-06/6.043, allocations: 0 / 1.098 GB, free: 85.03 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002625/6.046, allocations: 393.6 kB / 1.098 GB, free: 84.64 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002747/6.049, allocations: 225.1 kB / 1.098 GB, free: 84.43 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0132/6.062, allocations: 2.343 MB / 1.101 GB, free: 82.13 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/6.064, allocations: 1.07 MB / 1.102 GB, free: 81.04 MB / 490.7 MB Notification: Performance of SimCode: time 2.976e-06/6.064, allocations: 4 kB / 1.102 GB, free: 81.03 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam_res.mat does not exist to compare? outputFormat=mat