[: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(Buildings): time 2.355/2.355, allocations: 268.2 MB / 275.2 MB, free: 7.719 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1821/2.537, allocations: 63.86 MB / 339 MB, free: 8.062 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/2.869, allocations: 61.53 MB / 400.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.095/3.964, allocations: 434.6 MB / 0.8155 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000399/3.965, allocations: 111.1 kB / 0.8156 GB, free: 118.1 MB / 0.5261 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 1.6/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 276 * Number of variables: 276 Notification: Performance of Generate backend data structure: time 1.926/5.891, allocations: 456 MB / 1.261 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/5.891, allocations: 11.81 kB / 1.261 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001582/5.892, allocations: 214.9 kB / 1.261 GB, free: 77.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008511/5.901, allocations: 2.03 MB / 1.263 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.412e-05/5.901, allocations: 34.5 kB / 1.263 GB, free: 76.11 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006099/5.902, allocations: 89.45 kB / 1.263 GB, free: 76.1 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003111/5.905, allocations: 0.8796 MB / 1.264 GB, free: 75.74 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003422/5.908, allocations: 1.096 MB / 1.265 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001023/5.908, allocations: 3.906 kB / 1.265 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002026/5.909, allocations: 3.625 kB / 1.265 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.849e-05/5.909, allocations: 28.41 kB / 1.265 GB, free: 75.21 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.014/5.923, allocations: 6.796 MB / 1.272 GB, free: 70.52 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001363/5.924, allocations: 455.4 kB / 1.272 GB, free: 70.33 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001229/5.925, allocations: 418.7 kB / 1.273 GB, free: 70.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/5.926, allocations: 446.5 kB / 1.273 GB, free: 69.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001229/5.927, allocations: 482.7 kB / 1.274 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=72): time 4.579e-06/5.927, allocations: 3.828 kB / 1.274 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.01031/5.938, allocations: 2.207 MB / 1.276 GB, free: 68.23 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/5.938, allocations: 272.8 kB / 1.276 GB, free: 67.91 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/5.941, allocations: 1.054 MB / 1.277 GB, free: 67.27 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0004804/5.942, allocations: 29.7 kB / 1.277 GB, free: 67.23 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007663/5.942, allocations: 0.5309 MB / 1.278 GB, free: 66.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005821/5.943, allocations: 272 kB / 1.278 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001679/5.943, allocations: 0 / 1.278 GB, free: 66.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001421/5.943, allocations: 365.9 kB / 1.278 GB, free: 66.06 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001642/5.945, allocations: 0.5374 MB / 1.279 GB, free: 65.53 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/5.947, allocations: 0.8755 MB / 1.28 GB, free: 64.52 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003114/5.95, allocations: 0.7544 MB / 1.28 GB, free: 63.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.535e-05/5.95, allocations: 0 / 1.28 GB, free: 63.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=180) (initialization): time 0.006841/5.957, allocations: 1.758 MB / 1.282 GB, free: 62.01 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006016/5.958, allocations: 2.728 MB / 1.285 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/5.958, allocations: 8 kB / 1.285 GB, free: 59.12 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006345/5.959, allocations: 125.8 kB / 1.285 GB, free: 58.99 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003619/5.962, allocations: 323.5 kB / 1.285 GB, free: 58.67 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/5.968, allocations: 5.081 MB / 1.29 GB, free: 53.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0053/5.973, allocations: 106.6 kB / 1.29 GB, free: 53.15 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/5.973, allocations: 56.05 kB / 1.29 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/5.974, allocations: 4.625 kB / 1.29 GB, free: 53.09 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00555/5.979, allocations: 1.565 MB / 1.292 GB, free: 51.53 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.772e-05/5.979, allocations: 12 kB / 1.292 GB, free: 51.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004385/5.98, allocations: 118.5 kB / 1.292 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003089/5.983, allocations: 302.8 kB / 1.292 GB, free: 51.1 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004424/5.987, allocations: 4.483 MB / 1.297 GB, free: 46.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005067/5.992, allocations: 97.89 kB / 1.297 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005231/5.993, allocations: 56.05 kB / 1.297 GB, free: 46.16 MB / 0.5261 GB Warning: Assuming fixed start value for the following 6 variables: seg.TBouCon.QAve_flow:DISCRETE(unit = "W" fixed = false ) "Average heat flux over a time period" type: Real seg.TBouCon.port.T:DISCRETE(flow=false min = max(0.0, 0.0) start = 288.15 unit = "K" fixed = false nominal = 300.0 ) "Port temperature" type: Real seg.pipFil.capFil2.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = seg.pipFil.TFil_start unit = "K" fixed = false nominal = 300.0 ) "Temperature of element" type: Real seg.pipFil.capFil1.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))) start = seg.pipFil.TFil_start unit = "K" fixed = false nominal = 300.0 ) "Temperature of element" type: Real seg.pipFil.vol2.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = seg.pipFil.vol2.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real seg.pipFil.vol1.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = seg.pipFil.vol1.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.QAve_flow,seg.TBouCon.QAve_flow,$whenCondition1,$PRE.seg.TBouCon.port.T,seg.TBouCon.port.T) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 4,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008311/5.994, allocations: 238.1 kB / 1.297 GB, free: 45.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005588/5.994, allocations: 142.2 kB / 1.297 GB, free: 45.79 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/5.998, allocations: 0.975 MB / 1.298 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.64e-05/5.998, allocations: 8 kB / 1.298 GB, free: 44.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/5.998, allocations: 9.844 kB / 1.298 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/5.998, allocations: 0 / 1.298 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003258/6.001, allocations: 1.344 MB / 1.299 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.607e-05/6.002, allocations: 3.188 kB / 1.299 GB, free: 43.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00187/6.003, allocations: 155.1 kB / 1.3 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005142/6.004, allocations: 106.5 kB / 1.3 GB, free: 43.15 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/6.004, allocations: 23.98 kB / 1.3 GB, free: 43.13 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004946/6.009, allocations: 5.066 MB / 1.305 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.493e-06/6.009, allocations: 0 / 1.305 GB, free: 37.73 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004193/6.013, allocations: 1.401 MB / 1.306 GB, free: 36.31 MB / 0.5261 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.005261/6.019, allocations: 2.293 MB / 1.308 GB, free: 33.99 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008391/6.02, allocations: 239.2 kB / 1.308 GB, free: 33.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004619/6.02, allocations: 12 kB / 1.308 GB, free: 33.73 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002524/6.023, allocations: 66.41 kB / 1.309 GB, free: 33.67 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/6.023, allocations: 36.59 kB / 1.309 GB, free: 33.63 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-05/6.023, allocations: 27.98 kB / 1.309 GB, free: 33.61 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001532/6.024, allocations: 0.7609 MB / 1.309 GB, free: 32.84 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.009032/6.033, allocations: 1.359 MB / 1.311 GB, free: 31.48 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 14 (seg.pipFil.vol1.dynBal.medium.T,seg.pipFil.vol2.dynBal.medium.T,seg.pipFil.capFil1.T,seg.pipFil.capFil2.T,seg.soi.T[1],seg.soi.T[2],seg.soi.T[3],seg.soi.T[4],seg.soi.T[5],seg.soi.T[6],seg.soi.T[7],seg.soi.T[8],seg.soi.T[9],seg.TBouCon.U) * Number of discrete variables: 5 ($whenCondition1,seg.TBouCon.QAve_flow,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.iSam) * Number of discrete states: 5 (seg.TBouCon.iSam,seg.TBouCon.port.T,seg.TBouCon.UOld,seg.TBouCon.QAve_flow,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002225/6.036, allocations: 0.8287 MB / 1.311 GB, free: 30.81 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.007605/6.043, allocations: 2.824 MB / 1.314 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/6.043, allocations: 0 / 1.314 GB, free: 27.9 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/6.045, allocations: 0.7767 MB / 1.315 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005343/6.051, allocations: 0.572 MB / 1.316 GB, free: 26.56 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009171/6.06, allocations: 2.989 MB / 1.318 GB, free: 23.64 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00211/6.062, allocations: 1.479 MB / 1.32 GB, free: 22.13 MB / 0.5261 GB Notification: Performance of SimCode: time 1.593e-06/6.062, allocations: 0 / 1.32 GB, free: 22.13 MB / 0.5261 GB