[: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.148/1.148, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.08765/1.235, allocations: 27.5 MB / 145.7 MB, free: 4.184 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/1.372, allocations: 25.16 MB / 170.9 MB, free: 1.816 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.376/4.747, allocations: 1.427 GB / 1.594 GB, free: 43.24 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000371/4.748, allocations: 72.53 kB / 1.594 GB, free: 43.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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 2.978/7.725, allocations: 0.5451 GB / 2.139 GB, free: 11.31 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/7.726, allocations: 11.59 kB / 2.139 GB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001433/7.727, allocations: 164 kB / 2.139 GB, free: 11.24 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005511/7.733, allocations: 0.9646 MB / 2.14 GB, free: 10.92 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007201/7.733, allocations: 232.5 kB / 2.14 GB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000883/7.734, allocations: 64.38 kB / 2.14 GB, free: 10.76 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005915/7.74, allocations: 1.801 MB / 2.142 GB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00564/7.746, allocations: 1.831 MB / 2.144 GB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.001e-05/7.746, allocations: 4.531 kB / 2.144 GB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002618/7.746, allocations: 3.906 kB / 2.144 GB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/7.746, allocations: 105.5 kB / 2.144 GB, free: 10.52 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0244/7.771, allocations: 8.767 MB / 2.152 GB, free: 6.688 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003055/7.774, allocations: 1.021 MB / 2.153 GB, free: 6.672 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002671/7.777, allocations: 0.9024 MB / 2.154 GB, free: 6.664 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1281/7.905, allocations: 36.16 MB / 2.19 GB, free: 14.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.268e-05/7.905, allocations: 47.81 kB / 2.19 GB, free: 14.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=114): time 4.829e-06/7.905, allocations: 3.281 kB / 2.19 GB, free: 14.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=124): time 0.05126/7.956, allocations: 7.802 MB / 2.197 GB, free: 13.95 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001228/7.957, allocations: 147.6 kB / 2.197 GB, free: 13.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001525/7.958, allocations: 0.6077 MB / 2.198 GB, free: 13.65 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005979/7.959, allocations: 25.7 kB / 2.198 GB, free: 13.62 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005284/7.959, allocations: 430 kB / 2.198 GB, free: 13.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009951/7.96, allocations: 415.4 kB / 2.199 GB, free: 13.08 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/7.961, allocations: 3.438 kB / 2.199 GB, free: 13.08 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002423/7.961, allocations: 359.6 kB / 2.199 GB, free: 12.77 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002746/7.964, allocations: 0.8588 MB / 2.2 GB, free: 12.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/7.967, allocations: 1.095 MB / 2.201 GB, free: 12.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01315/7.98, allocations: 1.737 MB / 2.203 GB, free: 12.49 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.147e-05/7.98, allocations: 0 / 2.203 GB, free: 12.49 MB / 298.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.01967/8, allocations: 3.623 MB / 2.206 GB, free: 12.29 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.261e-05/8, allocations: 4 kB / 2.206 GB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/8, allocations: 11.25 kB / 2.206 GB, free: 12.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005159/8.005, allocations: 1.26 MB / 2.208 GB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00202/8.007, allocations: 200.9 kB / 2.208 GB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02469/8.032, allocations: 6.673 MB / 2.214 GB, free: 8.523 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003277/8.035, allocations: 139.4 kB / 2.214 GB, free: 8.496 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00066/8.036, allocations: 62.59 kB / 2.214 GB, free: 8.496 MB / 298.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.lowerTank.V:DUMMY_DER(fixed = false ) "Actual tank volume" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.upperTank.heatTransfer.states[1].d:DUMMY_DER(fixed = false ) "density" type: Real [1] $DER.upperTank.medium.u:DUMMY_DER(fixed = false ) "Specific internal energy of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 9 (overflow.flowModel.states[2].phase,overflow.flowModel.states[1].phase,pipe.flowModel.states[2].phase,pipe.flowModel.states[1].phase,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,$PRE.hysteresis.y,hysteresis.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 110 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 7 {2 4,3 3,2 4,4 13,4 13,1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0008752/8.037, allocations: 155 kB / 2.215 GB, free: 8.379 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001002/8.038, allocations: 189.7 kB / 2.215 GB, free: 8.324 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02302/8.061, allocations: 5.799 MB / 2.22 GB, free: 7.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.528e-05/8.061, allocations: 44.34 kB / 2.22 GB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/8.061, allocations: 3.781 kB / 2.22 GB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.948e-05/8.061, allocations: 6.984 kB / 2.22 GB, free: 7.984 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02883/8.09, allocations: 7.757 MB / 2.228 GB, free: 7.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/8.09, allocations: 4 kB / 2.228 GB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001924/8.092, allocations: 165.6 kB / 2.228 GB, free: 7.426 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008312/8.1, allocations: 2.247 MB / 2.23 GB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005813/8.101, allocations: 28.06 kB / 2.23 GB, free: 7.301 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02099/8.122, allocations: 6.979 MB / 2.237 GB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.204e-06/8.122, allocations: 1.125 kB / 2.237 GB, free: 3.285 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1737/8.296, allocations: 6.736 MB / 2.244 GB, free: 59.26 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03868/8.335, allocations: 9.033 MB / 2.253 GB, free: 58.57 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005976/8.335, allocations: 205.7 kB / 2.253 GB, free: 58.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009378/8.336, allocations: 6.906 kB / 2.253 GB, free: 58.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003346/8.34, allocations: 123.9 kB / 2.253 GB, free: 58.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000997/8.341, allocations: 168.9 kB / 2.253 GB, free: 58.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003839/8.341, allocations: 62.95 kB / 2.253 GB, free: 58.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.001023/8.342, allocations: 465.2 kB / 2.254 GB, free: 58.38 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.01515/8.357, allocations: 2.052 MB / 2.256 GB, free: 58.38 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (upperTank.medium.h,upperTank.level,lowerTank.medium.h,lowerTank.level) * Number of discrete variables: 21 ($cse1.phase,$cse1.region,$cse5.phase,$cse6.phase,$cse7.phase,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse15.phase,$cse15.region,$cse18.phase,$cse19.phase,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,upperTank.heatTransfer.states[1].phase,massFlowRate.medium.phase,lowerTank.heatTransfer.states[1].phase,hysteresis.y) * Number of discrete states: 1 (hysteresis.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {2 4,3 4,1 5,4 20,4 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.0198/8.377, allocations: 2.617 MB / 2.258 GB, free: 58.18 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.01196/8.389, allocations: 2.882 MB / 2.261 GB, free: 58.13 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/8.389, allocations: 0 / 2.261 GB, free: 58.13 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01148/8.401, allocations: 2.046 MB / 2.263 GB, free: 58.1 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00613/8.407, allocations: 0.5256 MB / 2.264 GB, free: 58.1 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01802/8.425, allocations: 3.568 MB / 2.267 GB, free: 57.6 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001951/8.427, allocations: 1.541 MB / 2.268 GB, free: 56.88 MB / 298.7 MB Notification: Performance of SimCode: time 3.006e-06/8.427, allocations: 0 / 2.268 GB, free: 56.88 MB / 298.7 MB