Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",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 2.021/2.021, allocations: 194.9 MB / 202.6 MB, free: 6.895 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2558/2.277, allocations: 46.84 MB / 249.4 MB, free: 5.344 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0954/2.372, allocations: 44.51 MB / 293.9 MB, free: 10.86 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/3.406, allocations: 361.8 MB / 0.6403 GB, free: 108 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004577/3.407, allocations: 80.42 kB / 0.6404 GB, free: 108 MB / 394.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.3033/3.71, allocations: 81.51 MB / 0.72 GB, free: 63.34 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/3.71, allocations: 12 kB / 0.72 GB, free: 63.33 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004536/3.711, allocations: 35.7 kB / 0.7201 GB, free: 63.29 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004907/3.711, allocations: 290.4 kB / 0.7203 GB, free: 62.97 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/3.711, allocations: 11.91 kB / 0.7203 GB, free: 62.96 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.355e-05/3.711, allocations: 12 kB / 0.7204 GB, free: 62.95 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005494/3.712, allocations: 169 kB / 0.7205 GB, free: 62.78 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006287/3.712, allocations: 261.9 kB / 0.7208 GB, free: 62.5 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/3.712, allocations: 0 / 0.7208 GB, free: 62.5 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.548e-05/3.712, allocations: 0 / 0.7208 GB, free: 62.5 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/3.712, allocations: 8 kB / 0.7208 GB, free: 62.49 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/3.715, allocations: 1.366 MB / 0.7221 GB, free: 61.02 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/3.715, allocations: 122.1 kB / 0.7222 GB, free: 60.89 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/3.715, allocations: 81.23 kB / 0.7223 GB, free: 60.81 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.22e-05/3.715, allocations: 4.188 kB / 0.7223 GB, free: 60.81 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/3.715, allocations: 34.75 kB / 0.7223 GB, free: 60.77 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.565e-06/3.715, allocations: 0 / 0.7223 GB, free: 60.77 MB / 394.7 MB Notification: Performance of matching and sorting (n=26): time 0.003113/3.719, allocations: 0.7548 MB / 0.7231 GB, free: 59.95 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/3.719, allocations: 59.31 kB / 0.7231 GB, free: 59.88 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002853/3.719, allocations: 191.1 kB / 0.7233 GB, free: 59.69 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.532e-05/3.719, allocations: 25.7 kB / 0.7233 GB, free: 59.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.026e-05/3.719, allocations: 171.8 kB / 0.7235 GB, free: 59.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.642e-05/3.719, allocations: 94.64 kB / 0.7236 GB, free: 59.39 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.525e-05/3.719, allocations: 0 / 0.7236 GB, free: 59.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.908e-05/3.719, allocations: 334.8 kB / 0.7239 GB, free: 59.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002443/3.719, allocations: 76 kB / 0.724 GB, free: 58.98 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002901/3.72, allocations: 162.9 kB / 0.7241 GB, free: 58.78 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003212/3.72, allocations: 111.9 kB / 0.7243 GB, free: 58.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/3.72, allocations: 4 kB / 0.7243 GB, free: 58.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001133/3.721, allocations: 342.9 kB / 0.7246 GB, free: 58.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/3.721, allocations: 4 kB / 0.7246 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/3.721, allocations: 4 kB / 0.7246 GB, free: 58.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/3.722, allocations: 57.67 kB / 0.7246 GB, free: 58.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006309/3.722, allocations: 63.92 kB / 0.7247 GB, free: 58.18 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00262/3.725, allocations: 2.551 MB / 0.7272 GB, free: 55.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/3.726, allocations: 20.09 kB / 0.7272 GB, free: 55.39 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/3.726, allocations: 12.14 kB / 0.7272 GB, free: 55.38 MB / 394.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001977/3.726, allocations: 124.7 kB / 0.7273 GB, free: 55.25 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.106e-05/3.726, allocations: 23.72 kB / 0.7274 GB, free: 55.22 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001207/3.726, allocations: 37.73 kB / 0.7274 GB, free: 55.19 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/3.726, allocations: 4 kB / 0.7274 GB, free: 55.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.595e-06/3.726, allocations: 0 / 0.7274 GB, free: 55.18 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008739/3.727, allocations: 0.5318 MB / 0.7279 GB, free: 54.56 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/3.729, allocations: 0.6448 MB / 0.7286 GB, free: 53.87 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.191e-06/3.729, allocations: 4 kB / 0.7286 GB, free: 53.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/3.729, allocations: 39.92 kB / 0.7286 GB, free: 53.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000457/3.73, allocations: 52.7 kB / 0.7287 GB, free: 53.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.481e-05/3.73, allocations: 7.984 kB / 0.7287 GB, free: 53.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00155/3.731, allocations: 1.311 MB / 0.7299 GB, free: 52.33 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/3.731, allocations: 4.062 kB / 0.7299 GB, free: 52.33 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00116/3.733, allocations: 455.5 kB / 0.7304 GB, free: 51.86 MB / 394.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001461/3.734, allocations: 0.9216 MB / 0.7313 GB, free: 50.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/3.734, allocations: 100.8 kB / 0.7314 GB, free: 50.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.346e-05/3.734, allocations: 4 kB / 0.7314 GB, free: 50.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005021/3.735, allocations: 8.062 kB / 0.7314 GB, free: 50.77 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/3.735, allocations: 11.97 kB / 0.7314 GB, free: 50.76 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.999e-05/3.735, allocations: 12 kB / 0.7314 GB, free: 50.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.0002103/3.735, allocations: 153.6 kB / 0.7316 GB, free: 50.6 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001917/3.737, allocations: 107.9 kB / 0.7317 GB, free: 50.5 MB / 394.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 (24): * Single equations (assignments): 23 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003011/3.737, allocations: 170.2 kB / 0.7318 GB, free: 50.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/3.738, allocations: 432.4 kB / 0.7322 GB, free: 49.88 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.06e-06/3.739, allocations: 0 / 0.7322 GB, free: 49.88 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006107/3.739, allocations: 217.5 kB / 0.7324 GB, free: 49.66 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/3.741, allocations: 108.8 kB / 0.7325 GB, free: 49.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/3.742, allocations: 474.9 kB / 0.733 GB, free: 49.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000428/3.743, allocations: 0.7992 MB / 0.7338 GB, free: 48.25 MB / 394.7 MB Notification: Performance of SimCode: time 1.302e-06/3.743, allocations: 4 kB / 0.7338 GB, free: 48.24 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat