[: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.061/1.061, allocations: 111.2 MB / 118.2 MB, free: 15.64 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09363/1.155, allocations: 27.51 MB / 145.7 MB, free: 4.156 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/1.319, allocations: 25.15 MB / 170.9 MB, free: 1.836 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5378/1.857, allocations: 237.5 MB / 408.4 MB, free: 36.24 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002291/1.857, allocations: 75.81 kB / 408.5 MB, free: 36.2 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.8816/2.739, allocations: 178 MB / 0.5727 GB, free: 22.25 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/2.739, allocations: 14.44 kB / 0.5728 GB, free: 22.25 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004067/2.739, allocations: 97.22 kB / 0.5729 GB, free: 22.2 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002333/2.742, allocations: 0.7462 MB / 0.5736 GB, free: 21.9 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.622e-05/2.742, allocations: 20.59 kB / 0.5736 GB, free: 21.9 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/2.742, allocations: 34.59 kB / 0.5736 GB, free: 21.9 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002611/2.745, allocations: 0.8006 MB / 0.5744 GB, free: 21.89 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002237/2.747, allocations: 0.9072 MB / 0.5753 GB, free: 21.7 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.388e-05/2.747, allocations: 3.719 kB / 0.5753 GB, free: 21.7 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/2.747, allocations: 2.656 kB / 0.5753 GB, free: 21.7 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/2.747, allocations: 67.83 kB / 0.5754 GB, free: 21.7 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/2.758, allocations: 4.298 MB / 0.5796 GB, free: 19.21 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/2.759, allocations: 388.2 kB / 0.5799 GB, free: 19.2 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006411/2.76, allocations: 286.8 kB / 0.5802 GB, free: 19.19 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003316/2.763, allocations: 1.982 MB / 0.5821 GB, free: 17.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/2.763, allocations: 37.95 kB / 0.5822 GB, free: 17.8 MB / 234.7 MB Notification: Performance of pre-optimization done (n=40): time 3.466e-06/2.763, allocations: 0 / 0.5822 GB, free: 17.8 MB / 234.7 MB Notification: Performance of matching and sorting (n=44): time 0.0101/2.773, allocations: 1.701 MB / 0.5838 GB, free: 17.2 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/2.773, allocations: 165.9 kB / 0.584 GB, free: 17.01 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/2.775, allocations: 0.577 MB / 0.5846 GB, free: 16.73 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001853/2.775, allocations: 34.52 kB / 0.5846 GB, free: 16.7 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003148/2.775, allocations: 395.1 kB / 0.585 GB, free: 16.4 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/2.775, allocations: 154.5 kB / 0.5851 GB, free: 16.28 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.126e-05/2.775, allocations: 3.906 kB / 0.5851 GB, free: 16.28 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001504/2.776, allocations: 385.2 kB / 0.5855 GB, free: 15.93 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006989/2.776, allocations: 261.1 kB / 0.5857 GB, free: 15.84 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009102/2.777, allocations: 0.6107 MB / 0.5863 GB, free: 15.29 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/2.78, allocations: 0.4912 MB / 0.5868 GB, free: 15.16 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.638e-05/2.78, allocations: 7.781 kB / 0.5868 GB, free: 15.15 MB / 234.7 MB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004497/2.785, allocations: 1.068 MB / 0.5879 GB, free: 14.79 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/2.785, allocations: 3.344 kB / 0.5879 GB, free: 14.79 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/2.785, allocations: 11.22 kB / 0.5879 GB, free: 14.79 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009113/2.786, allocations: 159.3 kB / 0.588 GB, free: 14.75 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/2.787, allocations: 174.7 kB / 0.5882 GB, free: 14.73 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/2.79, allocations: 1.469 MB / 0.5896 GB, free: 13.57 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/2.792, allocations: 45.02 kB / 0.5897 GB, free: 13.57 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/2.792, allocations: 43.66 kB / 0.5897 GB, free: 13.57 MB / 234.7 MB Warning: Assuming fixed start value for the following 2 variables: 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 = 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: 51 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],tank1.ports_m_flow_out[2],tank1.ports_m_flow_out[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (102): * Single equations (assignments): 100 * 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: 0 * Non-linear torn systems: 2 {1 3,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0003608/2.792, allocations: 156.6 kB / 0.5899 GB, free: 13.43 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001816/2.792, allocations: 82.03 kB / 0.5899 GB, free: 13.39 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/2.796, allocations: 0.828 MB / 0.5908 GB, free: 13.11 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.271e-05/2.796, allocations: 7.844 kB / 0.5908 GB, free: 13.11 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.716e-06/2.796, allocations: 2.625 kB / 0.5908 GB, free: 13.11 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/2.796, allocations: 7.516 kB / 0.5908 GB, free: 13.11 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005111/2.801, allocations: 1.473 MB / 0.5922 GB, free: 12.44 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/2.802, allocations: 0 / 0.5922 GB, free: 12.44 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007593/2.802, allocations: 83.14 kB / 0.5923 GB, free: 12.43 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001021/2.803, allocations: 153.8 kB / 0.5924 GB, free: 12.39 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001412/2.803, allocations: 12.58 kB / 0.5924 GB, free: 12.38 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002809/2.806, allocations: 1.389 MB / 0.5938 GB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/2.806, allocations: 6.938 kB / 0.5938 GB, free: 11.23 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004333/2.811, allocations: 1.115 MB / 0.5949 GB, free: 10.71 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005413/2.816, allocations: 1.838 MB / 0.5967 GB, free: 9.668 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004711/2.817, allocations: 161.7 kB / 0.5969 GB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002584/2.817, allocations: 5.141 kB / 0.5969 GB, free: 9.52 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009981/2.818, allocations: 35.34 kB / 0.5969 GB, free: 9.516 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/2.818, allocations: 45.52 kB / 0.5969 GB, free: 9.508 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.823e-05/2.818, allocations: 20.39 kB / 0.597 GB, free: 9.504 MB / 234.7 MB Notification: Performance of sort global known variables: time 0.001146/2.819, allocations: 441.6 kB / 0.5974 GB, free: 9.305 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.003901/2.823, allocations: 0.5486 MB / 0.5979 GB, free: 9.129 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (tank1.medium.T,tank1.level) * Number of discrete variables: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Number of discrete states: 2 (tank1.aboveLevel[1],tank1.aboveLevel[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 40 * 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: 0 * Non-linear torn systems: 2 {1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00263/2.826, allocations: 0.6992 MB / 0.5986 GB, free: 8.895 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/2.828, allocations: 0.6524 MB / 0.5992 GB, free: 8.652 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/2.828, allocations: 3.875 kB / 0.5992 GB, free: 8.652 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008861/2.829, allocations: 293.6 kB / 0.5995 GB, free: 8.398 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/2.833, allocations: 315 kB / 0.5998 GB, free: 8.18 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004446/2.837, allocations: 1.267 MB / 0.601 GB, free: 7.117 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/2.838, allocations: 1.128 MB / 0.6022 GB, free: 5.992 MB / 234.7 MB Notification: Performance of SimCode: time 1.663e-06/2.838, allocations: 0 / 0.6022 GB, free: 5.992 MB / 234.7 MB