Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Media_TestsWithFluid_MediaTestModels_LinearFluid_LinearWater_pT",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.71/2.71, allocations: 235.1 MB / 242 MB, free: 9.66 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1863/2.896, allocations: 57.2 MB / 299.2 MB, free: 340 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.329/3.225, allocations: 54.87 MB / 354.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.439/11.66, allocations: 2.951 GB / 3.297 GB, free: 90.96 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004018/11.67, allocations: 89.58 kB / 3.297 GB, free: 90.91 MB / 474.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 5.844/17.51, allocations: 1.131 GB / 4.428 GB, free: 51.95 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/17.51, allocations: 8 kB / 4.428 GB, free: 51.94 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008027/17.51, allocations: 94.02 kB / 4.429 GB, free: 51.85 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002018/17.51, allocations: 0.5523 MB / 4.429 GB, free: 51.34 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002011/17.51, allocations: 84.16 kB / 4.429 GB, free: 51.25 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/17.51, allocations: 28 kB / 4.429 GB, free: 51.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002295/17.52, allocations: 0.5602 MB / 4.43 GB, free: 50.72 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/17.52, allocations: 0.7466 MB / 4.43 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.667e-05/17.52, allocations: 3.828 kB / 4.43 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/17.52, allocations: 4 kB / 4.43 GB, free: 50 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.889e-05/17.52, allocations: 36.84 kB / 4.431 GB, free: 49.96 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008361/17.53, allocations: 3.985 MB / 4.434 GB, free: 46.16 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006403/17.53, allocations: 219.2 kB / 4.435 GB, free: 45.96 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/17.53, allocations: 160.2 kB / 4.435 GB, free: 45.81 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005363/17.53, allocations: 358.8 kB / 4.435 GB, free: 45.4 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/17.53, allocations: 38.84 kB / 4.435 GB, free: 45.36 MB / 490.7 MB Notification: Performance of pre-optimization done (n=34): time 3.366e-06/17.53, allocations: 1.531 kB / 4.435 GB, free: 45.36 MB / 490.7 MB Notification: Performance of matching and sorting (n=39): time 0.006733/17.53, allocations: 1.256 MB / 4.436 GB, free: 44.21 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.924e-05/17.53, allocations: 132.5 kB / 4.436 GB, free: 44.05 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/17.54, allocations: 456.4 kB / 4.437 GB, free: 43.64 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001268/17.54, allocations: 33.7 kB / 4.437 GB, free: 43.6 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/17.54, allocations: 328 kB / 4.437 GB, free: 43.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/17.54, allocations: 134.8 kB / 4.437 GB, free: 43.18 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.464e-05/17.54, allocations: 4 kB / 4.437 GB, free: 43.18 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001424/17.54, allocations: 372.3 kB / 4.438 GB, free: 42.82 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006038/17.54, allocations: 206.7 kB / 4.438 GB, free: 42.64 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007989/17.54, allocations: 0.5162 MB / 4.438 GB, free: 42 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001283/17.54, allocations: 331.9 kB / 4.439 GB, free: 41.73 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/17.54, allocations: 7.172 kB / 4.439 GB, free: 41.73 MB / 490.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003953/17.54, allocations: 0.8936 MB / 4.44 GB, free: 40.95 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/17.54, allocations: 8.031 kB / 4.44 GB, free: 40.94 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/17.54, allocations: 8 kB / 4.44 GB, free: 40.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001689/17.54, allocations: 231.8 kB / 4.44 GB, free: 40.75 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/17.55, allocations: 130.9 kB / 4.44 GB, free: 40.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/17.55, allocations: 0.8816 MB / 4.441 GB, free: 39.78 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/17.55, allocations: 43.64 kB / 4.441 GB, free: 39.74 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001722/17.55, allocations: 40 kB / 4.441 GB, free: 39.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (77): * Single equations (assignments): 76 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002774/17.55, allocations: 132.7 kB / 4.441 GB, free: 39.57 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002102/17.55, allocations: 63.14 kB / 4.441 GB, free: 39.51 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/17.55, allocations: 0.6152 MB / 4.442 GB, free: 38.99 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.888e-05/17.55, allocations: 4 kB / 4.442 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.254e-05/17.55, allocations: 3.25 kB / 4.442 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/17.55, allocations: 3.188 kB / 4.442 GB, free: 38.98 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004504/17.56, allocations: 1.488 MB / 4.443 GB, free: 37.61 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.385e-06/17.56, allocations: 4.031 kB / 4.443 GB, free: 37.6 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002221/17.56, allocations: 174.2 kB / 4.443 GB, free: 37.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000563/17.56, allocations: 59.75 kB / 4.443 GB, free: 37.42 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.872e-05/17.56, allocations: 8 kB / 4.443 GB, free: 37.41 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003083/17.56, allocations: 2.675 MB / 4.446 GB, free: 34.6 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.412e-06/17.56, allocations: 0 / 4.446 GB, free: 34.6 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003352/17.57, allocations: 0.9784 MB / 4.447 GB, free: 33.64 MB / 490.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00407/17.57, allocations: 1.667 MB / 4.449 GB, free: 32.01 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006047/17.57, allocations: 198.1 kB / 4.449 GB, free: 31.82 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/17.57, allocations: 10.14 kB / 4.449 GB, free: 31.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009596/17.57, allocations: 19.59 kB / 4.449 GB, free: 31.79 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/17.57, allocations: 31.19 kB / 4.449 GB, free: 31.77 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.051e-05/17.57, allocations: 19.8 kB / 4.449 GB, free: 31.76 MB / 490.7 MB Notification: Performance of sort global known variables: time 0.0007752/17.57, allocations: 335.7 kB / 4.449 GB, free: 31.46 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003423/17.58, allocations: 251.7 kB / 4.449 GB, free: 31.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001191/17.58, allocations: 413.8 kB / 4.45 GB, free: 30.89 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002203/17.58, allocations: 0.5473 MB / 4.45 GB, free: 30.38 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/17.58, allocations: 1 kB / 4.45 GB, free: 30.38 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002996/17.58, allocations: 468.5 kB / 4.451 GB, free: 29.97 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003351/17.59, allocations: 254.1 kB / 4.451 GB, free: 29.78 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003465/17.59, allocations: 0.9829 MB / 4.452 GB, free: 28.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001068/17.59, allocations: 1.022 MB / 4.453 GB, free: 27.93 MB / 490.7 MB Notification: Performance of SimCode: time 1.934e-06/17.59, allocations: 0 / 4.453 GB, free: 27.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearWater_pT_res.mat does not exist to compare? outputFormat=mat