Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes") [: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.32/2.32, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.00167/0.00167, allocations: 181.3 kB / 360.4 MB, free: 7.484 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.85/1.85, allocations: 205.2 MB / 0.6188 GB, free: 12.48 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.001194/0.001193, allocations: 99.17 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.032e-05/1.041e-05, allocations: 0 / 0.8503 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6359/0.636, allocations: 115.2 MB / 0.9628 GB, free: 78.16 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3005/0.9365, allocations: 151.9 MB / 1.111 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003974/0.9369, allocations: 109.2 kB / 1.111 GB, free: 4.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.238/1.175, allocations: 24.95 MB / 1.136 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.116e-05/1.175, allocations: 24.66 kB / 1.136 GB, free: 11.83 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.004059/1.179, allocations: 1.327 MB / 1.137 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.139e-05/1.179, allocations: 8.531 kB / 1.137 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008023/1.18, allocations: 154 kB / 1.137 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001666/1.182, allocations: 0.6221 MB / 1.138 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/1.182, allocations: 3.938 kB / 1.138 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.182, allocations: 25.56 kB / 1.138 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005912/1.183, allocations: 425.2 kB / 1.138 GB, free: 9.152 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005432/1.183, allocations: 387.1 kB / 1.139 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/1.183, allocations: 0 / 1.139 GB, free: 8.762 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.007e-05/1.183, allocations: 3.906 kB / 1.139 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/1.183, allocations: 0 / 1.139 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001841/1.185, allocations: 0.92 MB / 1.139 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007555/1.186, allocations: 0.5555 MB / 1.14 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/1.186, allocations: 329.7 kB / 1.14 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001539/1.188, allocations: 1.041 MB / 1.141 GB, free: 5.625 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005949/1.189, allocations: 396.8 kB / 1.142 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 3.307e-06/1.189, allocations: 0 / 1.142 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.001398/1.19, allocations: 0.804 MB / 1.142 GB, free: 4.406 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/1.19, allocations: 81.11 kB / 1.143 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003158/1.193, allocations: 1.533 MB / 1.144 GB, free: 2.734 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0001866/1.193, allocations: 25.7 kB / 1.144 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/1.194, allocations: 331.9 kB / 1.144 GB, free: 2.375 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.695e-05/1.194, allocations: 27.64 kB / 1.144 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001023/1.194, allocations: 0 / 1.144 GB, free: 2.348 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002483/1.194, allocations: 407 kB / 1.145 GB, free: 1.945 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003005/1.197, allocations: 1.467 MB / 1.146 GB, free: 488 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00331/1.201, allocations: 1.613 MB / 1.148 GB, free: 14.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003676/1.205, allocations: 1.864 MB / 1.15 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.205, allocations: 0 / 1.15 GB, free: 12.98 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.0121/1.217, allocations: 7.717 MB / 1.157 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/1.217, allocations: 9.078 kB / 1.157 GB, free: 5.211 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001587/1.217, allocations: 20 kB / 1.157 GB, free: 5.191 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.85e-05/1.217, allocations: 4 kB / 1.157 GB, free: 5.188 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/1.219, allocations: 143.8 kB / 1.157 GB, free: 5.047 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.165e-05/1.219, allocations: 9.406 kB / 1.157 GB, free: 5.039 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/1.22, allocations: 232.3 kB / 1.158 GB, free: 4.809 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000262/1.22, allocations: 95.25 kB / 1.158 GB, free: 4.719 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.k,k,$PRE.t1,t1,$PRE.t2,t2,$PRE.gFun1,gFun1,$PRE.gFun2,gFun2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 89 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0002019/1.221, allocations: 118.4 kB / 1.158 GB, free: 4.598 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001714/1.221, allocations: 122 kB / 1.158 GB, free: 4.477 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001556/1.222, allocations: 0.7874 MB / 1.159 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.653e-06/1.222, allocations: 0 / 1.159 GB, free: 3.684 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/1.222, allocations: 8.031 kB / 1.159 GB, free: 3.676 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/1.222, allocations: 3.984 kB / 1.159 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/1.223, allocations: 0.6479 MB / 1.159 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/1.223, allocations: 4 kB / 1.159 GB, free: 2.977 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001535/1.224, allocations: 7.938 kB / 1.159 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/1.224, allocations: 0 / 1.159 GB, free: 2.969 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.764e-05/1.224, allocations: 13.09 kB / 1.159 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/1.224, allocations: 0 / 1.159 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/1.224, allocations: 2.625 kB / 1.159 GB, free: 2.957 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001177/1.225, allocations: 0.8544 MB / 1.16 GB, free: 2.066 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003295/1.225, allocations: 195.1 kB / 1.16 GB, free: 1.855 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/1.225, allocations: 4 kB / 1.16 GB, free: 1.852 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000413/1.226, allocations: 7.984 kB / 1.16 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/1.226, allocations: 0 / 1.16 GB, free: 1.844 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.457e-05/1.226, allocations: 18.23 kB / 1.16 GB, free: 1.828 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.002112/1.228, allocations: 1.019 MB / 1.161 GB, free: 0.7852 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002303/1.23, allocations: 0.4994 MB / 1.162 GB, free: 292 kB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.003191/1.234, allocations: 0.5959 MB / 1.162 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004021/1.238, allocations: 2.501 MB / 1.165 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.238, allocations: 4.062 kB / 1.165 GB, free: 13.17 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0004695/1.238, allocations: 331.8 kB / 1.165 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004994/1.239, allocations: 50.39 kB / 1.165 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004693/1.244, allocations: 2.132 MB / 1.167 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001504/1.245, allocations: 1.224 MB / 1.169 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of SimCode: time 1.162e-06/1.245, allocations: 0 / 1.169 GB, free: 9.359 MB / 0.7761 GB Notification: Performance of Templates: time 0.03262/1.278, allocations: 10.07 MB / 1.178 GB, free: 15.4 MB / 0.7917 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)