[: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 0.9904/0.9904, allocations: 111.2 MB / 118.2 MB, free: 15.63 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.09186/1.082, allocations: 27.49 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/1.229, allocations: 25.17 MB / 170.8 MB, free: 1.805 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.153/4.381, allocations: 1.423 GB / 1.589 GB, free: 51.71 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002346/4.382, allocations: 63.08 kB / 1.589 GB, free: 51.68 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.6924/5.074, allocations: 107.2 MB / 1.694 GB, free: 29.43 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/5.074, allocations: 13.47 kB / 1.694 GB, free: 29.43 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/5.074, allocations: 15.94 kB / 1.694 GB, free: 29.42 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/5.075, allocations: 220.6 kB / 1.694 GB, free: 29.2 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/5.075, allocations: 5.156 kB / 1.694 GB, free: 29.2 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.807e-05/5.075, allocations: 12.47 kB / 1.694 GB, free: 29.19 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007182/5.076, allocations: 211.1 kB / 1.695 GB, free: 29.12 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000439/5.076, allocations: 203.1 kB / 1.695 GB, free: 28.98 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/5.076, allocations: 5 kB / 1.695 GB, free: 28.98 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4e-05/5.076, allocations: 9.438 kB / 1.695 GB, free: 28.97 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/5.076, allocations: 2.562 kB / 1.695 GB, free: 28.97 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002177/5.078, allocations: 1.286 MB / 1.696 GB, free: 27.8 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002728/5.079, allocations: 130.9 kB / 1.696 GB, free: 27.7 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/5.079, allocations: 75.92 kB / 1.696 GB, free: 27.66 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2665/5.345, allocations: 46.48 MB / 1.742 GB, free: 64.28 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.949e-05/5.346, allocations: 37.72 kB / 1.742 GB, free: 64.24 MB / 250.7 MB Notification: Performance of pre-optimization done (n=23): time 4.088e-06/5.346, allocations: 0 / 1.742 GB, free: 64.24 MB / 250.7 MB Notification: Performance of matching and sorting (n=33): time 0.006796/5.352, allocations: 1.089 MB / 1.743 GB, free: 63.97 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/5.352, allocations: 106.7 kB / 1.743 GB, free: 63.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/5.353, allocations: 118.2 kB / 1.743 GB, free: 63.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 5.898e-05/5.353, allocations: 29.55 kB / 1.743 GB, free: 63.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/5.353, allocations: 103 kB / 1.743 GB, free: 63.63 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001117/5.353, allocations: 112.2 kB / 1.743 GB, free: 63.57 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/5.353, allocations: 0 / 1.743 GB, free: 63.57 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.366e-05/5.353, allocations: 326.7 kB / 1.744 GB, free: 63.26 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002951/5.353, allocations: 99.7 kB / 1.744 GB, free: 63.26 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003282/5.354, allocations: 161.4 kB / 1.744 GB, free: 63.2 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009051/5.355, allocations: 147 kB / 1.744 GB, free: 63.2 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/5.355, allocations: 3.719 kB / 1.744 GB, free: 63.2 MB / 250.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001932/5.357, allocations: 407.7 kB / 1.744 GB, free: 63.15 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/5.357, allocations: 5.781 kB / 1.744 GB, free: 63.15 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/5.357, allocations: 3.875 kB / 1.744 GB, free: 63.15 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002694/5.357, allocations: 33.66 kB / 1.744 GB, free: 63.14 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009872/5.358, allocations: 100.9 kB / 1.744 GB, free: 63.14 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005578/5.358, allocations: 0.5495 MB / 1.745 GB, free: 62.62 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006549/5.359, allocations: 27.03 kB / 1.745 GB, free: 62.62 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/5.359, allocations: 15.62 kB / 1.745 GB, free: 62.62 MB / 250.7 MB Warning: Assuming fixed start value for the following 3 variables: V:VARIABLE(start = 0.1 unit = "m3" ) type: Real medium.h:VARIABLE(min = -100000000.0 max = 100000000.0 start = 100000.0 unit = "J/kg" nominal = 1000000.0 stateSelect=StateSelect.prefer ) "Specific enthalpy of medium" type: Real medium.p:VARIABLE(min = max(0.0, max(0.0, 2000.0)) max = min(100000000.0, min(100000000.0, 1000000000.0)) start = 100000.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003109/5.36, allocations: 129.1 kB / 1.745 GB, free: 62.51 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003776/5.36, allocations: 59.56 kB / 1.745 GB, free: 62.5 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003892/5.364, allocations: 1.268 MB / 1.746 GB, free: 62.39 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/5.364, allocations: 19.48 kB / 1.746 GB, free: 62.39 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.227e-06/5.364, allocations: 3.469 kB / 1.746 GB, free: 62.39 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/5.364, allocations: 0 / 1.746 GB, free: 62.39 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003888/5.368, allocations: 1.588 MB / 1.748 GB, free: 62.05 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.279e-05/5.368, allocations: 0 / 1.748 GB, free: 62.05 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009628/5.369, allocations: 85.27 kB / 1.748 GB, free: 62.05 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004064/5.369, allocations: 67.81 kB / 1.748 GB, free: 62.04 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.793e-05/5.369, allocations: 12.94 kB / 1.748 GB, free: 62.04 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000518/5.37, allocations: 0.6145 MB / 1.749 GB, free: 61.52 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/5.37, allocations: 1.688 kB / 1.749 GB, free: 61.52 MB / 250.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003071/5.373, allocations: 1.737 MB / 1.75 GB, free: 61.06 MB / 250.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004021/5.377, allocations: 2.53 MB / 1.753 GB, free: 60.23 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001201/5.377, allocations: 102.9 kB / 1.753 GB, free: 60.12 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.031e-05/5.377, allocations: 5.531 kB / 1.753 GB, free: 60.12 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007693/5.378, allocations: 29.05 kB / 1.753 GB, free: 60.12 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.842e-05/5.378, allocations: 29.97 kB / 1.753 GB, free: 60.12 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.469e-05/5.378, allocations: 20.45 kB / 1.753 GB, free: 60.12 MB / 250.7 MB Notification: Performance of sort global known variables: time 7.719e-05/5.378, allocations: 84.03 kB / 1.753 GB, free: 60.04 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.006823/5.385, allocations: 1.122 MB / 1.754 GB, free: 60.04 MB / 250.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (medium.p,medium.h,V) * Number of discrete variables: 9 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,medium.phase,$cse1.phase,$cse1.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01034/5.396, allocations: 1.427 MB / 1.756 GB, free: 59.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/5.397, allocations: 0.6158 MB / 1.756 GB, free: 59.87 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/5.398, allocations: 0 / 1.756 GB, free: 59.87 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00123/5.399, allocations: 0.5632 MB / 1.757 GB, free: 59.87 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001039/5.4, allocations: 67.58 kB / 1.757 GB, free: 59.87 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003085/5.403, allocations: 0.966 MB / 1.758 GB, free: 59.67 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006025/5.404, allocations: 0.8463 MB / 1.759 GB, free: 58.97 MB / 250.7 MB Notification: Performance of SimCode: time 1.342e-06/5.404, allocations: 0 / 1.759 GB, free: 58.97 MB / 250.7 MB