[: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.254/1.254, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1105/1.365, allocations: 27.5 MB / 145.7 MB, free: 4.168 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1814/1.546, allocations: 25.16 MB / 170.9 MB, free: 1.812 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5668/2.113, allocations: 235.9 MB / 406.8 MB, free: 37.58 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002774/2.114, allocations: 67.78 kB / 406.9 MB, free: 37.55 MB / 234.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.5935/2.707, allocations: 129 MB / 0.5233 GB, free: 1.422 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/2.707, allocations: 11.94 kB / 0.5233 GB, free: 1.41 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003351/2.708, allocations: 79.06 kB / 0.5234 GB, free: 1.332 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001673/2.709, allocations: 0.5665 MB / 0.524 GB, free: 0.7344 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.507e-05/2.709, allocations: 20 kB / 0.524 GB, free: 0.7148 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/2.709, allocations: 28 kB / 0.524 GB, free: 0.6875 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/2.711, allocations: 0.5642 MB / 0.5246 GB, free: 124 kB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09704/2.808, allocations: 0.6308 MB / 0.5252 GB, free: 54.91 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/2.808, allocations: 5.812 kB / 0.5252 GB, free: 54.91 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001078/2.808, allocations: 3.781 kB / 0.5252 GB, free: 54.91 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.581e-05/2.808, allocations: 49.5 kB / 0.5252 GB, free: 54.91 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005455/2.814, allocations: 2.711 MB / 0.5279 GB, free: 53.53 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007894/2.815, allocations: 367.3 kB / 0.5282 GB, free: 53.51 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/2.815, allocations: 232.9 kB / 0.5285 GB, free: 53.5 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003492/2.816, allocations: 421.7 kB / 0.5289 GB, free: 53.04 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/2.816, allocations: 44.19 kB / 0.5289 GB, free: 53 MB / 234.7 MB Notification: Performance of pre-optimization done (n=48): time 2.975e-06/2.816, allocations: 0 / 0.5289 GB, free: 53 MB / 234.7 MB Notification: Performance of matching and sorting (n=56): time 0.008979/2.825, allocations: 1.806 MB / 0.5307 GB, free: 52.61 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.486e-05/2.825, allocations: 85.17 kB / 0.5307 GB, free: 52.51 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008159/2.826, allocations: 426.8 kB / 0.5312 GB, free: 52.4 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000165/2.826, allocations: 32.7 kB / 0.5312 GB, free: 52.37 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001981/2.826, allocations: 255.4 kB / 0.5314 GB, free: 52.22 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002171/2.826, allocations: 190.6 kB / 0.5316 GB, free: 52.12 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.098e-05/2.826, allocations: 0 / 0.5316 GB, free: 52.12 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001298/2.826, allocations: 373 kB / 0.532 GB, free: 51.81 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006426/2.827, allocations: 247.2 kB / 0.5322 GB, free: 51.81 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008467/2.828, allocations: 411.2 kB / 0.5326 GB, free: 51.64 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002496/2.83, allocations: 417.9 kB / 0.533 GB, free: 51.64 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/2.83, allocations: 0 / 0.533 GB, free: 51.64 MB / 234.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.003593/2.834, allocations: 0.9233 MB / 0.5339 GB, free: 51.56 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/2.834, allocations: 7.812 kB / 0.5339 GB, free: 51.56 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.593e-05/2.834, allocations: 3.906 kB / 0.5339 GB, free: 51.56 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008145/2.835, allocations: 163 kB / 0.5341 GB, free: 51.55 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/2.836, allocations: 143.6 kB / 0.5342 GB, free: 51.55 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003096/2.839, allocations: 0.9552 MB / 0.5351 GB, free: 51.03 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/2.84, allocations: 41.56 kB / 0.5352 GB, free: 51.02 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.37e-05/2.84, allocations: 30.97 kB / 0.5352 GB, free: 51.02 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: tank2.level:VARIABLE(min = 0.0 start = tank2.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank2.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank2.T_start unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real tank1.level:VARIABLE(min = 0.0 start = tank1.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank1.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = tank1.T_start unit = "K" nominal = 300.0 stateSelect=StateSelect.prefer ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],tank2.ports_m_flow_out[1],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 77 * 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 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003611/2.841, allocations: 153.7 kB / 0.5353 GB, free: 50.91 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001613/2.841, allocations: 65.91 kB / 0.5354 GB, free: 50.88 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/2.845, allocations: 0.8554 MB / 0.5362 GB, free: 50.81 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.309e-05/2.845, allocations: 3.875 kB / 0.5362 GB, free: 50.81 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/2.845, allocations: 3.844 kB / 0.5362 GB, free: 50.81 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/2.845, allocations: 3.75 kB / 0.5363 GB, free: 50.81 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005204/2.85, allocations: 1.581 MB / 0.5378 GB, free: 50.5 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.873e-06/2.85, allocations: 3.562 kB / 0.5378 GB, free: 50.5 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009703/2.851, allocations: 105.1 kB / 0.5379 GB, free: 50.5 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008301/2.852, allocations: 163.1 kB / 0.5381 GB, free: 50.49 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.257e-05/2.852, allocations: 11.28 kB / 0.5381 GB, free: 50.49 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/2.854, allocations: 0.8889 MB / 0.5389 GB, free: 49.96 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/2.854, allocations: 0 / 0.5389 GB, free: 49.96 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006624/2.861, allocations: 1.267 MB / 0.5402 GB, free: 49.72 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007889/2.869, allocations: 2.023 MB / 0.5421 GB, free: 49.1 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004886/2.869, allocations: 141.7 kB / 0.5423 GB, free: 48.97 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/2.87, allocations: 13.11 kB / 0.5423 GB, free: 48.97 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001418/2.871, allocations: 35.73 kB / 0.5423 GB, free: 48.97 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002327/2.871, allocations: 45.7 kB / 0.5424 GB, free: 48.97 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/2.871, allocations: 25.7 kB / 0.5424 GB, free: 48.97 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0008373/2.872, allocations: 327.8 kB / 0.5427 GB, free: 48.88 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.00424/2.877, allocations: 435.3 kB / 0.5431 GB, free: 48.88 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank2.aboveLevel[1]) * Number of discrete states: 2 (tank2.aboveLevel[1],tank1.aboveLevel[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002363/2.879, allocations: 0.5394 MB / 0.5437 GB, free: 48.79 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002929/2.882, allocations: 0.652 MB / 0.5443 GB, free: 48.78 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 1.045e-05/2.882, allocations: 6.094 kB / 0.5443 GB, free: 48.78 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001782/2.884, allocations: 358.4 kB / 0.5446 GB, free: 48.78 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003411/2.887, allocations: 315.5 kB / 0.5449 GB, free: 48.77 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004567/2.892, allocations: 1.152 MB / 0.5461 GB, free: 48.5 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001004/2.893, allocations: 1.051 MB / 0.5471 GB, free: 47.8 MB / 234.7 MB Notification: Performance of SimCode: time 1.654e-06/2.893, allocations: 0 / 0.5471 GB, free: 47.8 MB / 234.7 MB