[: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.083/1.083, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1516/1.235, allocations: 27.52 MB / 145.7 MB, free: 4.164 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/1.39, allocations: 25.15 MB / 170.9 MB, free: 1.844 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5416/1.931, allocations: 238.7 MB / 409.6 MB, free: 35.21 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/1.932, allocations: 68.59 kB / 409.7 MB, free: 35.18 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.7169/2.649, allocations: 131.8 MB / 0.5288 GB, free: 24.52 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/2.649, allocations: 10.81 kB / 0.5288 GB, free: 24.52 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004943/2.649, allocations: 84.88 kB / 0.5289 GB, free: 24.48 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002276/2.652, allocations: 0.6263 MB / 0.5295 GB, free: 24.23 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/2.652, allocations: 77.23 kB / 0.5296 GB, free: 24.17 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001372/2.652, allocations: 26.44 kB / 0.5296 GB, free: 24.17 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001609/2.654, allocations: 0.5411 MB / 0.5301 GB, free: 24.17 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/2.655, allocations: 0.7009 MB / 0.5308 GB, free: 24.01 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.53e-05/2.655, allocations: 10.09 kB / 0.5308 GB, free: 24 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001041/2.655, allocations: 0 / 0.5308 GB, free: 24 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.099e-05/2.655, allocations: 42.73 kB / 0.5308 GB, free: 24 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007169/2.663, allocations: 3.521 MB / 0.5343 GB, free: 21.75 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007792/2.664, allocations: 293.9 kB / 0.5346 GB, free: 21.74 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004976/2.664, allocations: 224.2 kB / 0.5348 GB, free: 21.73 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00278/2.667, allocations: 1.378 MB / 0.5361 GB, free: 20.78 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005746/2.667, allocations: 283.8 kB / 0.5364 GB, free: 20.69 MB / 234.7 MB Notification: Performance of pre-optimization done (n=33): time 4.509e-06/2.667, allocations: 0 / 0.5364 GB, free: 20.69 MB / 234.7 MB Notification: Performance of matching and sorting (n=37): time 0.004758/2.672, allocations: 1.23 MB / 0.5376 GB, free: 20.31 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/2.672, allocations: 165.6 kB / 0.5378 GB, free: 20.12 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/2.673, allocations: 0.5088 MB / 0.5383 GB, free: 19.99 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001217/2.674, allocations: 32.48 kB / 0.5383 GB, free: 19.96 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000252/2.674, allocations: 327 kB / 0.5386 GB, free: 19.75 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/2.674, allocations: 124.6 kB / 0.5387 GB, free: 19.67 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/2.674, allocations: 0 / 0.5387 GB, free: 19.67 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001362/2.674, allocations: 383.3 kB / 0.5391 GB, free: 19.36 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/2.675, allocations: 218.2 kB / 0.5393 GB, free: 19.36 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006968/2.675, allocations: 0.4921 MB / 0.5398 GB, free: 19.02 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/2.677, allocations: 317.7 kB / 0.5401 GB, free: 19.01 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.905e-06/2.677, allocations: 3.844 kB / 0.5401 GB, free: 19.01 MB / 234.7 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002873/2.679, allocations: 0.7991 MB / 0.5409 GB, free: 18.93 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.603e-05/2.68, allocations: 5.906 kB / 0.5409 GB, free: 18.93 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.803e-05/2.68, allocations: 11.48 kB / 0.5409 GB, free: 18.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006335/2.68, allocations: 114.2 kB / 0.541 GB, free: 18.92 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001025/2.681, allocations: 134.2 kB / 0.5411 GB, free: 18.92 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/2.682, allocations: 0.699 MB / 0.5418 GB, free: 18.39 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001182/2.684, allocations: 29.84 kB / 0.5418 GB, free: 18.39 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001171/2.684, allocations: 44.55 kB / 0.5419 GB, free: 18.39 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: tank.level:VARIABLE(min = 0.0 start = tank.level_start unit = "m" stateSelect=StateSelect.prefer ) "Fluid level in the tank" type: Real tank.medium.T:VARIABLE(min = max(1.0, max(1.0, 1.0)) max = min(10000.0, min(10000.0, 10000.0)) start = 293.15 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: 40 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.tank.ports_m_flow_out[1],tank.ports_m_flow_out[1],$PRE.tank.aboveLevel[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003795/2.684, allocations: 183.7 kB / 0.542 GB, free: 18.25 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/2.684, allocations: 67.06 kB / 0.5421 GB, free: 18.21 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/2.687, allocations: 0.5848 MB / 0.5427 GB, free: 18.15 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.201e-05/2.687, allocations: 7.734 kB / 0.5427 GB, free: 18.15 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/2.687, allocations: 0 / 0.5427 GB, free: 18.15 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/2.687, allocations: 3.469 kB / 0.5427 GB, free: 18.15 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003569/2.69, allocations: 1.187 MB / 0.5438 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/2.69, allocations: 2.656 kB / 0.5438 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000566/2.691, allocations: 56.92 kB / 0.5439 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006025/2.691, allocations: 101.9 kB / 0.544 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-05/2.692, allocations: 11.16 kB / 0.544 GB, free: 17.86 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009893/2.693, allocations: 0.6878 MB / 0.5447 GB, free: 17.34 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/2.693, allocations: 0 / 0.5447 GB, free: 17.34 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002719/2.695, allocations: 0.9195 MB / 0.5456 GB, free: 17.12 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003313/2.699, allocations: 1.584 MB / 0.5471 GB, free: 16.54 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/2.699, allocations: 136.9 kB / 0.5473 GB, free: 16.41 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/2.699, allocations: 9.5 kB / 0.5473 GB, free: 16.41 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007904/2.7, allocations: 27.97 kB / 0.5473 GB, free: 16.41 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001519/2.7, allocations: 33.81 kB / 0.5473 GB, free: 16.41 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.912e-05/2.7, allocations: 22.95 kB / 0.5473 GB, free: 16.41 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0008/2.701, allocations: 392.1 kB / 0.5477 GB, free: 16.32 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003977/2.705, allocations: 396.1 kB / 0.5481 GB, free: 16.26 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 7 ($whenCondition1,tank.ports_m_flow_out[1],tank.aboveLevel[1],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 7 (tank.aboveLevel[1],tank.ports_m_flow_out[1],timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/2.707, allocations: 0.5268 MB / 0.5486 GB, free: 16.1 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.001726/2.709, allocations: 0.5297 MB / 0.5491 GB, free: 16.06 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/2.709, allocations: 0 / 0.5491 GB, free: 16.06 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007237/2.71, allocations: 264.9 kB / 0.5494 GB, free: 16.02 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002672/2.713, allocations: 259.2 kB / 0.5496 GB, free: 16.02 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004386/2.717, allocations: 1.031 MB / 0.5506 GB, free: 15.75 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008267/2.718, allocations: 1.031 MB / 0.5516 GB, free: 15.04 MB / 234.7 MB Notification: Performance of SimCode: time 1.373e-06/2.718, allocations: 2.656 kB / 0.5516 GB, free: 15.04 MB / 234.7 MB