[: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.109/1.109, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.091/1.2, allocations: 27.5 MB / 145.7 MB, free: 4.176 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/1.359, allocations: 25.16 MB / 170.9 MB, free: 1.805 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.259/4.618, allocations: 1.452 GB / 1.619 GB, free: 21.29 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/4.618, allocations: 69.03 kB / 1.619 GB, free: 21.26 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: 142 * Number of variables: 142 Notification: Performance of Generate backend data structure: time 2.602/7.22, allocations: 441.3 MB / 2.05 GB, free: 7.723 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/7.22, allocations: 11.75 kB / 2.05 GB, free: 7.719 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005293/7.221, allocations: 81.03 kB / 2.05 GB, free: 7.684 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/7.223, allocations: 475.7 kB / 2.051 GB, free: 7.434 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001389/7.223, allocations: 51.64 kB / 2.051 GB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/7.223, allocations: 31.03 kB / 2.051 GB, free: 7.402 MB / 250.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001951/7.225, allocations: 0.5259 MB / 2.051 GB, free: 7.398 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001495/7.226, allocations: 0.6361 MB / 2.052 GB, free: 7.242 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.153e-05/7.226, allocations: 7.594 kB / 2.052 GB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001395/7.227, allocations: 3.562 kB / 2.052 GB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/7.227, allocations: 18.36 kB / 2.052 GB, free: 7.238 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3751/7.602, allocations: 62.42 MB / 2.113 GB, free: 56.2 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007798/7.603, allocations: 333.8 kB / 2.113 GB, free: 56.17 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004133/7.603, allocations: 181.1 kB / 2.114 GB, free: 56.16 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.885/8.488, allocations: 186.4 MB / 2.296 GB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008611/8.489, allocations: 327 kB / 2.296 GB, free: 9.668 MB / 298.7 MB Notification: Performance of pre-optimization done (n=46): time 4.548e-06/8.489, allocations: 0.7031 kB / 2.296 GB, free: 9.668 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.02296/8.512, allocations: 2.991 MB / 2.299 GB, free: 9.328 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001664/8.512, allocations: 216.8 kB / 2.299 GB, free: 9.078 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006612/8.513, allocations: 343.6 kB / 2.299 GB, free: 8.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001108/8.513, allocations: 25.7 kB / 2.299 GB, free: 8.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/8.513, allocations: 277.7 kB / 2.3 GB, free: 8.781 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/8.514, allocations: 171.2 kB / 2.3 GB, free: 8.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.353e-05/8.514, allocations: 3.328 kB / 2.3 GB, free: 8.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/8.514, allocations: 362.1 kB / 2.3 GB, free: 8.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005627/8.514, allocations: 202.3 kB / 2.3 GB, free: 8.379 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006757/8.515, allocations: 375 kB / 2.301 GB, free: 8.188 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005817/8.521, allocations: 0.6731 MB / 2.301 GB, free: 8.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/8.521, allocations: 0 / 2.301 GB, free: 8.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.009171/8.53, allocations: 1.181 MB / 2.302 GB, free: 8.09 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.891e-05/8.53, allocations: 3.812 kB / 2.302 GB, free: 8.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.415e-05/8.53, allocations: 7.844 kB / 2.302 GB, free: 8.086 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/8.532, allocations: 153.2 kB / 2.303 GB, free: 8.078 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/8.533, allocations: 139.2 kB / 2.303 GB, free: 8.074 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001906/8.535, allocations: 0.7617 MB / 2.303 GB, free: 7.547 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/8.536, allocations: 56.47 kB / 2.304 GB, free: 7.539 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/8.536, allocations: 38.69 kB / 2.304 GB, free: 7.539 MB / 298.7 MB Warning: Assuming fixed start value for the following 1 variables: controller.x:VARIABLE(start = controller.x_start ) "State of block" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 16 (SteamValve.state_b.phase,SteamValve.state_a.phase,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,$PRE.q_F_Tab.nextEvent,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,$PRE.Y_Valve_Tab.nextEvent,Y_Valve_Tab.nextEvent,sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003911/8.537, allocations: 196.6 kB / 2.304 GB, free: 7.367 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003819/8.537, allocations: 97.06 kB / 2.304 GB, free: 7.34 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007551/8.545, allocations: 1.862 MB / 2.306 GB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.865e-05/8.545, allocations: 14.56 kB / 2.306 GB, free: 7.207 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.055e-05/8.545, allocations: 9.094 kB / 2.306 GB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2e-05/8.545, allocations: 3.562 kB / 2.306 GB, free: 7.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007222/8.552, allocations: 2.231 MB / 2.308 GB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/8.552, allocations: 0 / 2.308 GB, free: 6.891 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008812/8.553, allocations: 98.8 kB / 2.308 GB, free: 6.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001632/8.555, allocations: 238 kB / 2.308 GB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001699/8.555, allocations: 17.97 kB / 2.308 GB, free: 6.871 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002094/8.557, allocations: 0.9311 MB / 2.309 GB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/8.557, allocations: 3.922 kB / 2.309 GB, free: 6.336 MB / 298.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007024/8.564, allocations: 2.078 MB / 2.311 GB, free: 6.125 MB / 298.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01033/8.574, allocations: 4.237 MB / 2.315 GB, free: 4.031 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003899/8.575, allocations: 145.8 kB / 2.315 GB, free: 3.883 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/8.575, allocations: 11.25 kB / 2.315 GB, free: 3.875 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000936/8.576, allocations: 48.98 kB / 2.315 GB, free: 3.84 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001582/8.576, allocations: 43.95 kB / 2.316 GB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001359/8.576, allocations: 33.59 kB / 2.316 GB, free: 3.801 MB / 298.7 MB Notification: Performance of sort global known variables: time 0.0004903/8.577, allocations: 263.5 kB / 2.316 GB, free: 3.617 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.008939/8.586, allocations: 1.53 MB / 2.317 GB, free: 2.574 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (evaporator.p,evaporator.V_l,controller.x) * Number of discrete variables: 18 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse11.phase,$cse14.phase,$cse15.phase,$cse15.region,$whenCondition1,$whenCondition2,pump.medium.phase,q_F_Tab.a,q_F_Tab.b,q_F_Tab.last,q_F_Tab.nextEvent,Y_Valve_Tab.a,Y_Valve_Tab.b,Y_Valve_Tab.last,Y_Valve_Tab.nextEvent) * Number of discrete states: 10 (Y_Valve_Tab.last,Y_Valve_Tab.nextEvent,Y_Valve_Tab.b,Y_Valve_Tab.a,$whenCondition2,q_F_Tab.last,q_F_Tab.nextEvent,q_F_Tab.b,q_F_Tab.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.01385/8.6, allocations: 2.191 MB / 2.319 GB, free: 1.031 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002737/8.603, allocations: 0.9132 MB / 2.32 GB, free: 476 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.698e-06/8.603, allocations: 5.766 kB / 2.32 GB, free: 472 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/8.604, allocations: 0.7289 MB / 2.321 GB, free: 56 kB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002799/8.607, allocations: 223.8 kB / 2.321 GB, free: 0 / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.145/8.752, allocations: 1.263 MB / 2.323 GB, free: 71.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008745/8.753, allocations: 1.062 MB / 2.324 GB, free: 71.18 MB / 298.7 MB Notification: Performance of SimCode: time 1.142e-06/8.753, allocations: 3.031 kB / 2.324 GB, free: 71.18 MB / 298.7 MB