[: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.138/1.138, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1183/1.257, allocations: 27.5 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/1.405, allocations: 25.16 MB / 170.9 MB, free: 1.816 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5485/1.954, allocations: 235.6 MB / 406.5 MB, free: 37.86 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002654/1.954, allocations: 67.64 kB / 406.6 MB, free: 37.83 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.624/2.578, allocations: 123.1 MB / 0.5172 GB, free: 13.29 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/2.578, allocations: 15.92 kB / 0.5172 GB, free: 13.27 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003878/2.579, allocations: 87 kB / 0.5173 GB, free: 13.19 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001815/2.58, allocations: 0.5887 MB / 0.5179 GB, free: 12.57 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/2.581, allocations: 96.39 kB / 0.518 GB, free: 12.46 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001415/2.581, allocations: 31.91 kB / 0.518 GB, free: 12.43 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001801/2.583, allocations: 0.6777 MB / 0.5187 GB, free: 11.75 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001867/2.585, allocations: 0.7667 MB / 0.5194 GB, free: 10.96 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/2.585, allocations: 3.938 kB / 0.5194 GB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/2.585, allocations: 3.984 kB / 0.5194 GB, free: 10.95 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.283e-05/2.585, allocations: 48.97 kB / 0.5195 GB, free: 10.9 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007909/2.593, allocations: 3.026 MB / 0.5224 GB, free: 7.746 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/2.594, allocations: 487.4 kB / 0.5229 GB, free: 7.258 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007543/2.595, allocations: 334 kB / 0.5232 GB, free: 6.93 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004501/2.599, allocations: 1.887 MB / 0.5251 GB, free: 4.883 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/2.599, allocations: 46.94 kB / 0.5251 GB, free: 4.828 MB / 234.7 MB Notification: Performance of pre-optimization done (n=52): time 5.22e-06/2.599, allocations: 3.984 kB / 0.5251 GB, free: 4.824 MB / 234.7 MB Notification: Performance of matching and sorting (n=60): time 0.01349/2.613, allocations: 2.443 MB / 0.5275 GB, free: 2.328 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/2.613, allocations: 89.61 kB / 0.5276 GB, free: 2.223 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007717/2.614, allocations: 405.3 kB / 0.528 GB, free: 1.82 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001703/2.614, allocations: 25.7 kB / 0.528 GB, free: 1.789 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000141/2.614, allocations: 260.2 kB / 0.5283 GB, free: 1.531 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002348/2.614, allocations: 201 kB / 0.5284 GB, free: 1.332 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.081e-05/2.614, allocations: 4 kB / 0.5284 GB, free: 1.328 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/2.615, allocations: 374.8 kB / 0.5288 GB, free: 0.9531 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/2.615, allocations: 309.3 kB / 0.5291 GB, free: 0.6523 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008424/2.616, allocations: 462.7 kB / 0.5295 GB, free: 148 kB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.09196/2.708, allocations: 0.5621 MB / 0.5301 GB, free: 58.52 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/2.708, allocations: 0 / 0.5301 GB, free: 58.52 MB / 234.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.005487/2.714, allocations: 1.198 MB / 0.5313 GB, free: 58.47 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.511e-05/2.714, allocations: 10.84 kB / 0.5313 GB, free: 58.47 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/2.714, allocations: 3.781 kB / 0.5313 GB, free: 58.47 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/2.715, allocations: 352 kB / 0.5316 GB, free: 58.46 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/2.717, allocations: 142.3 kB / 0.5317 GB, free: 58.46 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003785/2.72, allocations: 1.244 MB / 0.533 GB, free: 57.95 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/2.722, allocations: 37.23 kB / 0.533 GB, free: 57.95 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001237/2.722, allocations: 31.38 kB / 0.533 GB, free: 57.95 MB / 234.7 MB Warning: Assuming fixed start value for the following 4 variables: tank2.level:VARIABLE(min = max(0.0, 0.0) start = max(tank2.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of 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 = max(0.0, 0.0) start = max(tank1.level_start, 1e-15) unit = "m" stateSelect=StateSelect.prefer ) "Level height of 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: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.0004158/2.722, allocations: 163.7 kB / 0.5332 GB, free: 57.84 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002007/2.723, allocations: 60.66 kB / 0.5332 GB, free: 57.84 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005383/2.728, allocations: 1.201 MB / 0.5344 GB, free: 57.77 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.38e-05/2.728, allocations: 6.969 kB / 0.5344 GB, free: 57.77 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.678e-06/2.728, allocations: 3.469 kB / 0.5344 GB, free: 57.77 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/2.728, allocations: 3.656 kB / 0.5344 GB, free: 57.77 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006808/2.735, allocations: 2.001 MB / 0.5364 GB, free: 57.48 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/2.735, allocations: 0 / 0.5364 GB, free: 57.48 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001148/2.736, allocations: 115.3 kB / 0.5365 GB, free: 57.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001318/2.737, allocations: 360.5 kB / 0.5368 GB, free: 57.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.613e-05/2.738, allocations: 7.25 kB / 0.5368 GB, free: 57.48 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003739/2.741, allocations: 1.258 MB / 0.5381 GB, free: 56.96 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/2.741, allocations: 3.75 kB / 0.5381 GB, free: 56.96 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005851/2.747, allocations: 1.682 MB / 0.5397 GB, free: 56.79 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007084/2.754, allocations: 2.54 MB / 0.5422 GB, free: 56.22 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/2.755, allocations: 138.4 kB / 0.5423 GB, free: 56.1 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002026/2.755, allocations: 6.969 kB / 0.5423 GB, free: 56.1 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/2.756, allocations: 45.7 kB / 0.5424 GB, free: 56.09 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002076/2.756, allocations: 53.3 kB / 0.5424 GB, free: 56.09 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001118/2.757, allocations: 30.02 kB / 0.5425 GB, free: 56.09 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.0005397/2.757, allocations: 315.4 kB / 0.5428 GB, free: 56 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002807/2.76, allocations: 443.9 kB / 0.5432 GB, free: 56 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 53 * 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 {4 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001578/2.762, allocations: 0.4935 MB / 0.5437 GB, free: 55.92 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.003189/2.765, allocations: 0.8498 MB / 0.5445 GB, free: 55.9 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/2.765, allocations: 3.031 kB / 0.5445 GB, free: 55.9 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002067/2.767, allocations: 497.9 kB / 0.545 GB, free: 55.9 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003075/2.77, allocations: 317.4 kB / 0.5453 GB, free: 55.9 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006127/2.776, allocations: 1.3 MB / 0.5465 GB, free: 55.65 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009357/2.777, allocations: 1.065 MB / 0.5476 GB, free: 54.94 MB / 234.7 MB Notification: Performance of SimCode: time 1.102e-06/2.777, allocations: 0 / 0.5476 GB, free: 54.94 MB / 234.7 MB