[: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.008/1.008, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.07806/1.087, allocations: 27.5 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/1.232, allocations: 25.16 MB / 170.9 MB, free: 1.855 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5183/1.75, allocations: 237.7 MB / 408.6 MB, free: 36.17 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.751, allocations: 66.09 kB / 408.7 MB, free: 36.14 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 1.352/3.103, allocations: 261.1 MB / 0.654 GB, free: 16.97 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.372e-05/3.103, allocations: 13.81 kB / 0.654 GB, free: 16.96 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008968/3.104, allocations: 161.2 kB / 0.6542 GB, free: 16.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/3.108, allocations: 1.042 MB / 0.6552 GB, free: 16.55 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.752e-05/3.108, allocations: 38.06 kB / 0.6552 GB, free: 16.55 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002467/3.108, allocations: 55.36 kB / 0.6553 GB, free: 16.55 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003724/3.112, allocations: 1.298 MB / 0.6566 GB, free: 16.54 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/3.115, allocations: 1.406 MB / 0.6579 GB, free: 16.3 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.562e-05/3.116, allocations: 5.031 kB / 0.6579 GB, free: 16.3 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/3.116, allocations: 2.906 kB / 0.6579 GB, free: 16.3 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001574/3.116, allocations: 103.8 kB / 0.658 GB, free: 16.29 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01364/3.13, allocations: 6.236 MB / 0.6641 GB, free: 13.02 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/3.131, allocations: 0.6293 MB / 0.6647 GB, free: 13 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001173/3.133, allocations: 0.5069 MB / 0.6652 GB, free: 12.99 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005649/3.138, allocations: 2.745 MB / 0.6679 GB, free: 11.44 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.937e-05/3.138, allocations: 41.41 kB / 0.668 GB, free: 11.4 MB / 234.7 MB Notification: Performance of pre-optimization done (n=80): time 4.358e-06/3.138, allocations: 3.719 kB / 0.668 GB, free: 11.4 MB / 234.7 MB Notification: Performance of matching and sorting (n=88): time 0.01694/3.155, allocations: 3.109 MB / 0.671 GB, free: 10.86 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.405e-05/3.155, allocations: 188.5 kB / 0.6712 GB, free: 10.64 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/3.157, allocations: 0.8031 MB / 0.672 GB, free: 10.48 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00033/3.158, allocations: 29.58 kB / 0.672 GB, free: 10.45 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004479/3.158, allocations: 0.5045 MB / 0.6725 GB, free: 10.13 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004936/3.158, allocations: 306.8 kB / 0.6728 GB, free: 9.938 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001219/3.159, allocations: 0 / 0.6728 GB, free: 9.938 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/3.159, allocations: 359.8 kB / 0.6731 GB, free: 9.633 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/3.16, allocations: 493 kB / 0.6736 GB, free: 9.629 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00175/3.162, allocations: 0.9494 MB / 0.6745 GB, free: 9.074 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004739/3.167, allocations: 0.8523 MB / 0.6753 GB, free: 9.059 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/3.167, allocations: 3.75 kB / 0.6753 GB, free: 9.059 MB / 234.7 MB Notification: Performance of matching and sorting (n=174) (initialization): time 0.007972/3.175, allocations: 1.856 MB / 0.6772 GB, free: 8.898 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/3.175, allocations: 6.188 kB / 0.6772 GB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-05/3.175, allocations: 15.94 kB / 0.6772 GB, free: 8.898 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001705/3.177, allocations: 315.1 kB / 0.6775 GB, free: 8.871 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002109/3.179, allocations: 271.8 kB / 0.6777 GB, free: 8.852 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005698/3.184, allocations: 2.428 MB / 0.6801 GB, free: 7.277 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/3.187, allocations: 82.59 kB / 0.6802 GB, free: 7.273 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002815/3.187, allocations: 67.77 kB / 0.6803 GB, free: 7.273 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 = 293.15 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 = 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: 64 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.tank1.aboveLevel[1],tank1.aboveLevel[1],$PRE.tank1.aboveLevel[2],tank1.aboveLevel[2],$PRE.tank2.aboveLevel[1],tank2.aboveLevel[1],$PRE.tank2.aboveLevel[2],tank2.aboveLevel[2],tank2.ports_m_flow_out[2],tank2.ports_m_flow_out[1],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 (160): * Single equations (assignments): 157 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,2 7,1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0005446/3.188, allocations: 191.8 kB / 0.6804 GB, free: 7.129 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/3.188, allocations: 127.3 kB / 0.6806 GB, free: 7.066 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0075/3.196, allocations: 1.586 MB / 0.6821 GB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/3.196, allocations: 13.47 kB / 0.6821 GB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/3.196, allocations: 0 / 0.6821 GB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.808e-05/3.196, allocations: 8.812 kB / 0.6821 GB, free: 6.945 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01/3.206, allocations: 2.654 MB / 0.6847 GB, free: 6.57 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/3.206, allocations: 2.219 kB / 0.6847 GB, free: 6.57 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/3.207, allocations: 148.6 kB / 0.6849 GB, free: 6.562 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/3.209, allocations: 322.4 kB / 0.6852 GB, free: 6.523 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001928/3.21, allocations: 13.83 kB / 0.6852 GB, free: 6.52 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004593/3.214, allocations: 2.285 MB / 0.6874 GB, free: 20.73 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/3.214, allocations: 1.062 kB / 0.6874 GB, free: 20.73 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008014/3.222, allocations: 2.164 MB / 0.6895 GB, free: 19.8 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009416/3.232, allocations: 3.246 MB / 0.6927 GB, free: 18.19 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006718/3.232, allocations: 199.3 kB / 0.6929 GB, free: 18.02 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004247/3.233, allocations: 8.281 kB / 0.6929 GB, free: 18.02 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001565/3.234, allocations: 58.53 kB / 0.693 GB, free: 18.01 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002932/3.235, allocations: 86.88 kB / 0.693 GB, free: 18 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/3.235, allocations: 40.2 kB / 0.6931 GB, free: 17.99 MB / 250.7 MB Notification: Performance of sort global known variables: time 0.001418/3.236, allocations: 0.5959 MB / 0.6937 GB, free: 17.72 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.00498/3.241, allocations: 0.8023 MB / 0.6944 GB, free: 17.47 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 4 (tank1.aboveLevel[1],tank1.aboveLevel[2],tank2.aboveLevel[1],tank2.aboveLevel[2]) * Number of discrete states: 4 (tank1.aboveLevel[1],tank1.aboveLevel[2],tank2.aboveLevel[1],tank2.aboveLevel[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 12,1 6,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00337/3.245, allocations: 0.9279 MB / 0.6953 GB, free: 16.82 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.003918/3.249, allocations: 1.236 MB / 0.6966 GB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.324e-06/3.249, allocations: 0 / 0.6966 GB, free: 15.71 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001956/3.251, allocations: 0.6451 MB / 0.6972 GB, free: 15.14 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005035/3.256, allocations: 0.4905 MB / 0.6977 GB, free: 14.8 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007465/3.263, allocations: 2.11 MB / 0.6997 GB, free: 13.04 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/3.266, allocations: 1.404 MB / 0.7011 GB, free: 11.83 MB / 250.7 MB Notification: Performance of SimCode: time 1.964e-06/3.266, allocations: 0 / 0.7011 GB, free: 11.83 MB / 250.7 MB