Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment") [: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 loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.291/2.291, allocations: 284.9 MB / 292.2 MB, free: 10.76 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001685/0.001685, allocations: 181.2 kB / 360.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.775/1.775, allocations: 205.1 MB / 0.6188 GB, free: 12.44 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00133/0.001329, allocations: 99.7 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.205e-05/1.22e-05, allocations: 4 kB / 0.8503 GB, free: 3.863 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6885, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.14/1.828, allocations: 429 MB / 1.382 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003958/1.829, allocations: 104.8 kB / 1.382 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.307/5.136, allocations: 0.6482 GB / 2.03 GB, free: 160 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003336/5.136, allocations: 46.58 kB / 2.03 GB, free: 160 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 274 * Number of variables: 274 Notification: Performance of Generate backend data structure: time 0.009715/5.146, allocations: 2.022 MB / 2.032 GB, free: 159.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/5.146, allocations: 8.094 kB / 2.032 GB, free: 159.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001486/5.148, allocations: 208 kB / 2.032 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008268/5.156, allocations: 2.074 MB / 2.034 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.124e-05/5.156, allocations: 32.28 kB / 2.034 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004879/5.156, allocations: 89.81 kB / 2.034 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002817/5.159, allocations: 0.8385 MB / 2.035 GB, free: 158.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002845/5.162, allocations: 1.045 MB / 2.036 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.394e-05/5.162, allocations: 7.562 kB / 2.036 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001446/5.162, allocations: 2.906 kB / 2.036 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.657e-05/5.162, allocations: 28.38 kB / 2.036 GB, free: 158.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/5.175, allocations: 6.553 MB / 2.043 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001978/5.177, allocations: 0.7374 MB / 2.043 GB, free: 156 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/5.178, allocations: 435.2 kB / 2.044 GB, free: 155.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007932/5.179, allocations: 0.6076 MB / 2.044 GB, free: 155.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/5.18, allocations: 414.8 kB / 2.045 GB, free: 155.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=78): time 4.168e-06/5.18, allocations: 0 / 2.045 GB, free: 155.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.009367/5.19, allocations: 2.231 MB / 2.047 GB, free: 154.7 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.523e-05/5.19, allocations: 67.12 kB / 2.047 GB, free: 154.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002455/5.192, allocations: 1.053 MB / 2.048 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0005035/5.193, allocations: 32.39 kB / 2.048 GB, free: 154.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00061/5.193, allocations: 0.4887 MB / 2.049 GB, free: 154.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005433/5.194, allocations: 283.5 kB / 2.049 GB, free: 153.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/5.194, allocations: 3.391 kB / 2.049 GB, free: 153.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001231/5.194, allocations: 362.5 kB / 2.049 GB, free: 153.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001497/5.196, allocations: 0.5365 MB / 2.05 GB, free: 153.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/5.197, allocations: 0.8365 MB / 2.051 GB, free: 153.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/5.2, allocations: 0.7151 MB / 2.051 GB, free: 153.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/5.2, allocations: 7.062 kB / 2.051 GB, free: 153.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=170) (initialization): time 0.005579/5.205, allocations: 1.7 MB / 2.053 GB, free: 153.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000543/5.206, allocations: 2.287 MB / 2.055 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.231e-05/5.206, allocations: 7.938 kB / 2.055 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/5.207, allocations: 229.3 kB / 2.055 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/5.21, allocations: 265.3 kB / 2.056 GB, free: 150.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002346/5.213, allocations: 1.643 MB / 2.057 GB, free: 149.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005268/5.218, allocations: 119.9 kB / 2.057 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003671/5.218, allocations: 57.45 kB / 2.057 GB, free: 149.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/5.219, allocations: 3.75 kB / 2.057 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004936/5.223, allocations: 1.533 MB / 2.059 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-05/5.224, allocations: 10.44 kB / 2.059 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009677/5.225, allocations: 217.7 kB / 2.059 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002569/5.227, allocations: 261.2 kB / 2.059 GB, free: 149.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/5.229, allocations: 1.033 MB / 2.06 GB, free: 149.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/5.234, allocations: 118.8 kB / 2.06 GB, free: 149 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002465/5.234, allocations: 57.73 kB / 2.061 GB, free: 149 MB / 0.948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: seg.pipFil.Rgg.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow rate from port_a -> port_b" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.seg.TBouCon.iSam,seg.TBouCon.iSam,$PRE.seg.TBouCon.UOld,seg.TBouCon.UOld,$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 (140): * Single equations (assignments): 137 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * 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: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of prepare postOptimizeDAE: time 0.0005231/5.235, allocations: 138.1 kB / 2.061 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/5.235, allocations: 140.8 kB / 2.061 GB, free: 148.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/5.239, allocations: 1.004 MB / 2.062 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/5.239, allocations: 10.88 kB / 2.062 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.327e-05/5.239, allocations: 3.625 kB / 2.062 GB, free: 148.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002457/5.241, allocations: 0.9204 MB / 2.063 GB, free: 148.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006874/5.248, allocations: 2.689 MB / 2.065 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.07e-05/5.248, allocations: 2.938 kB / 2.065 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001453/5.25, allocations: 139.6 kB / 2.065 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004649/5.25, allocations: 115.2 kB / 2.066 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001077/5.25, allocations: 17.42 kB / 2.066 GB, free: 148.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004691/5.255, allocations: 5.057 MB / 2.071 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.023e-06/5.255, allocations: 0 / 2.071 GB, free: 143.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004254/5.259, allocations: 1.591 MB / 2.072 GB, free: 143.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/5.261, allocations: 351.8 kB / 2.072 GB, free: 143.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003444/5.261, allocations: 16.61 kB / 2.072 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/5.264, allocations: 75.22 kB / 2.073 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/5.264, allocations: 41.89 kB / 2.073 GB, free: 143.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/5.264, allocations: 33.7 kB / 2.073 GB, free: 143.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001721/5.266, allocations: 0.7795 MB / 2.073 GB, free: 143 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.005967/5.272, allocations: 1.082 MB / 2.074 GB, free: 143 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 14 (seg.port_b1.h_outflow,seg.port_a2.h_outflow,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: 2 (seg.TBouCon.iSam,seg.TBouCon.UOld) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 4 * 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.002354/5.274, allocations: 0.8063 MB / 2.075 GB, free: 142.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006711/5.281, allocations: 2.085 MB / 2.077 GB, free: 142.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.478e-06/5.281, allocations: 0 / 2.077 GB, free: 142.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001662/5.282, allocations: 0.7316 MB / 2.078 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/5.288, allocations: 0.6162 MB / 2.079 GB, free: 142.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/5.298, allocations: 2.982 MB / 2.081 GB, free: 141.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002024/5.3, allocations: 1.439 MB / 2.083 GB, free: 141 MB / 0.948 GB Notification: Performance of SimCode: time 1.453e-06/5.3, allocations: 0 / 2.083 GB, free: 141 MB / 0.948 GB Notification: Performance of Templates: time 0.103/5.403, allocations: 40.51 MB / 2.122 GB, free: 139.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.BoreholeSegment.pipe 2>&1)