[: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.067/1.067, allocations: 111.2 MB / 118.2 MB, free: 15.65 MB / 106.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1316/1.198, allocations: 27.51 MB / 145.7 MB, free: 4.172 MB / 122.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1304/1.329, allocations: 25.15 MB / 170.8 MB, free: 1.793 MB / 138.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.509/2.838, allocations: 0.6605 GB / 0.8274 GB, free: 66.45 MB / 234.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/2.839, allocations: 62.08 kB / 0.8274 GB, free: 66.45 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.1781/3.017, allocations: 42.63 MB / 0.8691 GB, free: 31.92 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/3.017, allocations: 11.94 kB / 0.8691 GB, free: 31.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.824e-05/3.017, allocations: 19.81 kB / 0.8691 GB, free: 31.89 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003035/3.017, allocations: 218.9 kB / 0.8693 GB, free: 31.64 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.629e-05/3.017, allocations: 8 kB / 0.8693 GB, free: 31.63 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/3.017, allocations: 19.89 kB / 0.8693 GB, free: 31.61 MB / 234.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007252/3.018, allocations: 440.5 kB / 0.8697 GB, free: 31.18 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000566/3.019, allocations: 309.5 kB / 0.87 GB, free: 30.87 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/3.019, allocations: 0 / 0.87 GB, free: 30.87 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.233e-05/3.019, allocations: 0 / 0.87 GB, free: 30.87 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/3.019, allocations: 4 kB / 0.87 GB, free: 30.86 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002593/3.021, allocations: 1.21 MB / 0.8712 GB, free: 29.57 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/3.022, allocations: 140.3 kB / 0.8714 GB, free: 29.41 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002472/3.022, allocations: 105.7 kB / 0.8715 GB, free: 29.3 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003775/3.026, allocations: 2.143 MB / 0.8735 GB, free: 26.84 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.229e-05/3.026, allocations: 42.5 kB / 0.8736 GB, free: 26.79 MB / 234.7 MB Notification: Performance of pre-optimization done (n=29): time 2.795e-06/3.026, allocations: 3.938 kB / 0.8736 GB, free: 26.78 MB / 234.7 MB Notification: Performance of matching and sorting (n=29): time 0.00321/3.029, allocations: 0.6154 MB / 0.8742 GB, free: 26.16 MB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/3.029, allocations: 81.11 kB / 0.8743 GB, free: 26.06 MB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001002/3.029, allocations: 105 kB / 0.8744 GB, free: 25.95 MB / 234.7 MB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/3.029, allocations: 33.7 kB / 0.8744 GB, free: 25.91 MB / 234.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.899e-05/3.029, allocations: 112.4 kB / 0.8745 GB, free: 25.8 MB / 234.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.543e-05/3.029, allocations: 98.47 kB / 0.8746 GB, free: 25.7 MB / 234.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.803e-05/3.03, allocations: 0 / 0.8746 GB, free: 25.7 MB / 234.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/3.03, allocations: 326.8 kB / 0.8749 GB, free: 25.38 MB / 234.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/3.03, allocations: 64.59 kB / 0.875 GB, free: 25.3 MB / 234.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002129/3.03, allocations: 155.2 kB / 0.8751 GB, free: 25.12 MB / 234.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002724/3.033, allocations: 0.4914 MB / 0.8756 GB, free: 24.62 MB / 234.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.027e-06/3.033, allocations: 0 / 0.8756 GB, free: 24.62 MB / 234.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.003172/3.036, allocations: 0.6778 MB / 0.8763 GB, free: 23.94 MB / 234.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/3.036, allocations: 4 kB / 0.8763 GB, free: 23.94 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/3.036, allocations: 4 kB / 0.8763 GB, free: 23.93 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.79e-05/3.036, allocations: 4.312 kB / 0.8763 GB, free: 23.93 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000465/3.037, allocations: 79.89 kB / 0.8764 GB, free: 23.85 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.23e-05/3.037, allocations: 12.22 kB / 0.8764 GB, free: 23.84 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002519/3.037, allocations: 19.78 kB / 0.8764 GB, free: 23.82 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.891e-05/3.037, allocations: 23.98 kB / 0.8764 GB, free: 23.8 MB / 234.7 MB Warning: Assuming fixed start value for the following 6 variables: medium2.X[2]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.8 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.X[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) max = min(1.0, min(1.0, 1.0)) start = 0.2 unit = "kg/kg" nominal = 0.1 ) "Mass fractions (= (component mass)/total mass m_i/m)" type: Real [2] medium2.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 300.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium2.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 200000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = 200.0 unit = "K" nominal = 500.0 ) "Temperature of medium" type: Real medium.p:VARIABLE(min = max(0.0, 2000.0) max = min(100000000.0, 1000000000.0) start = 100000.0 unit = "Pa" nominal = 100000.0 ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002898/3.037, allocations: 167.3 kB / 0.8766 GB, free: 23.63 MB / 234.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/3.037, allocations: 11.91 kB / 0.8766 GB, free: 23.62 MB / 234.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003699/3.041, allocations: 0.7481 MB / 0.8773 GB, free: 22.86 MB / 234.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/3.041, allocations: 4 kB / 0.8773 GB, free: 22.86 MB / 234.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/3.041, allocations: 4 kB / 0.8773 GB, free: 22.85 MB / 234.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/3.041, allocations: 3.984 kB / 0.8773 GB, free: 22.85 MB / 234.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008804/3.042, allocations: 269.8 kB / 0.8776 GB, free: 22.55 MB / 234.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.152e-06/3.042, allocations: 3.984 kB / 0.8776 GB, free: 22.54 MB / 234.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004621/3.043, allocations: 59.91 kB / 0.8776 GB, free: 22.48 MB / 234.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.446e-06/3.043, allocations: 0 / 0.8776 GB, free: 22.48 MB / 234.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/3.043, allocations: 11.98 kB / 0.8777 GB, free: 22.47 MB / 234.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/3.043, allocations: 0 / 0.8777 GB, free: 22.47 MB / 234.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/3.043, allocations: 0 / 0.8777 GB, free: 22.47 MB / 234.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003234/3.046, allocations: 0.8773 MB / 0.8785 GB, free: 21.57 MB / 234.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003483/3.049, allocations: 1.348 MB / 0.8798 GB, free: 20.2 MB / 234.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002038/3.05, allocations: 140.8 kB / 0.88 GB, free: 20.04 MB / 234.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.324e-05/3.05, allocations: 4 kB / 0.88 GB, free: 20.04 MB / 234.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/3.05, allocations: 7.984 kB / 0.88 GB, free: 20.03 MB / 234.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/3.05, allocations: 23.88 kB / 0.88 GB, free: 20.01 MB / 234.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.881e-05/3.05, allocations: 28.17 kB / 0.88 GB, free: 19.98 MB / 234.7 MB Notification: Performance of sort global known variables: time 4.907e-05/3.05, allocations: 79.28 kB / 0.8801 GB, free: 19.9 MB / 234.7 MB Notification: Performance of remove unused functions: time 0.002426/3.053, allocations: 343.7 kB / 0.8804 GB, free: 19.57 MB / 234.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00247/3.055, allocations: 0.9307 MB / 0.8813 GB, free: 18.63 MB / 234.7 MB Notification: Performance of simCode: created initialization part: time 0.0006036/3.056, allocations: 244.8 kB / 0.8816 GB, free: 18.39 MB / 234.7 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/3.056, allocations: 0 / 0.8816 GB, free: 18.39 MB / 234.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002109/3.056, allocations: 119.9 kB / 0.8817 GB, free: 18.28 MB / 234.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/3.057, allocations: 81.77 kB / 0.8818 GB, free: 18.2 MB / 234.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/3.059, allocations: 0.5611 MB / 0.8823 GB, free: 17.61 MB / 234.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004787/3.059, allocations: 0.7946 MB / 0.8831 GB, free: 16.79 MB / 234.7 MB Notification: Performance of SimCode: time 1.182e-06/3.059, allocations: 0 / 0.8831 GB, free: 16.79 MB / 234.7 MB