Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.55/1.55, allocations: 289.8 MB / 297.1 MB, free: 6.637 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001149/0.001149, allocations: 169.3 kB / 366.3 MB, free: 1.949 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.555/1.555, allocations: 205.1 MB / 0.6256 GB, free: 5.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009358/0.0009358, allocations: 95.89 kB / 0.7396 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.075e-06, allocations: 0 / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6553/0.6553, allocations: 116.3 MB / 0.9726 GB, free: 68.69 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.8514, allocations: 153.1 MB / 1.122 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.8518, allocations: 111.9 kB / 1.122 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.08787/0.9397, allocations: 24.96 MB / 1.147 GB, free: 2.207 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.162e-05/0.9398, allocations: 20 kB / 1.147 GB, free: 2.188 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.002353/0.9421, allocations: 1.323 MB / 1.148 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.9422, allocations: 8.031 kB / 1.148 GB, free: 0.8008 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004249/0.9426, allocations: 160.4 kB / 1.148 GB, free: 0.6445 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009665/0.9436, allocations: 0.6182 MB / 1.149 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.9436, allocations: 7.938 kB / 1.149 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/0.9437, allocations: 24 kB / 1.149 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003693/0.9441, allocations: 423.7 kB / 1.149 GB, free: 15.51 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000336/0.9444, allocations: 385.8 kB / 1.149 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9444, allocations: 4 kB / 1.149 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.9445, allocations: 3.906 kB / 1.15 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.9445, allocations: 0 / 1.15 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000894/0.9454, allocations: 0.9122 MB / 1.15 GB, free: 14.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.9458, allocations: 0.5555 MB / 1.151 GB, free: 13.58 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.9461, allocations: 333.7 kB / 1.151 GB, free: 13.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009889/0.9471, allocations: 1.04 MB / 1.152 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003615/0.9475, allocations: 400.8 kB / 1.153 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 3.166e-06/0.9475, allocations: 0 / 1.153 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.0008116/0.9483, allocations: 0.8001 MB / 1.153 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.9484, allocations: 85.11 kB / 1.154 GB, free: 10.67 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.9499, allocations: 1.525 MB / 1.155 GB, free: 9.102 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.343e-05/0.9499, allocations: 29.69 kB / 1.155 GB, free: 9.066 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002549/0.9502, allocations: 330 kB / 1.155 GB, free: 8.738 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.593e-05/0.9502, allocations: 23.66 kB / 1.155 GB, free: 8.715 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.9503, allocations: 4.031 kB / 1.155 GB, free: 8.711 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.9505, allocations: 407 kB / 1.156 GB, free: 8.309 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001544/0.952, allocations: 1.471 MB / 1.157 GB, free: 6.836 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.9536, allocations: 1.609 MB / 1.159 GB, free: 5.219 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002009/0.9556, allocations: 1.864 MB / 1.161 GB, free: 3.34 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.479e-06/0.9556, allocations: 5.688 kB / 1.161 GB, free: 3.336 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007092/0.9627, allocations: 7.717 MB / 1.168 GB, free: 11.58 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.532e-05/0.9628, allocations: 8.031 kB / 1.168 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.483e-05/0.9629, allocations: 20 kB / 1.168 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.409e-05/0.9629, allocations: 4 kB / 1.168 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007101/0.9636, allocations: 139.8 kB / 1.168 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.9636, allocations: 11.84 kB / 1.168 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007501/0.9644, allocations: 232.3 kB / 1.169 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001282/0.9645, allocations: 91.98 kB / 1.169 GB, free: 11.08 MB / 0.7761 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.0001469/0.9647, allocations: 117.4 kB / 1.169 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.692e-05/0.9648, allocations: 122 kB / 1.169 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009909/0.9658, allocations: 0.7868 MB / 1.17 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.9658, allocations: 4 kB / 1.17 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.9658, allocations: 4 kB / 1.17 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.9658, allocations: 0 / 1.17 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000749/0.9666, allocations: 0.6557 MB / 1.17 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.9666, allocations: 0 / 1.17 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.064e-05/0.9667, allocations: 7.984 kB / 1.17 GB, free: 9.324 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.9667, allocations: 8.016 kB / 1.17 GB, free: 9.316 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.9667, allocations: 4.75 kB / 1.17 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.9667, allocations: 0 / 1.17 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.9667, allocations: 0 / 1.17 GB, free: 9.312 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000762/0.9675, allocations: 0.8492 MB / 1.171 GB, free: 8.43 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001741/0.9677, allocations: 203 kB / 1.171 GB, free: 8.211 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001133/0.9678, allocations: 4 kB / 1.171 GB, free: 8.207 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002157/0.968, allocations: 7.984 kB / 1.171 GB, free: 8.199 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.944e-05/0.9681, allocations: 8 kB / 1.171 GB, free: 8.191 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.322e-05/0.9681, allocations: 12.53 kB / 1.171 GB, free: 8.18 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.001101/0.9692, allocations: 1.011 MB / 1.172 GB, free: 7.145 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001813/0.9711, allocations: 0.5111 MB / 1.173 GB, free: 6.633 MB / 0.7761 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.001676/0.9728, allocations: 0.592 MB / 1.173 GB, free: 6.031 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.9751, allocations: 2.494 MB / 1.176 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.9751, allocations: 1.406 kB / 1.176 GB, free: 3.523 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0002925/0.9754, allocations: 339.8 kB / 1.176 GB, free: 3.191 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003198/0.9757, allocations: 54.44 kB / 1.176 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002662/0.9784, allocations: 2.124 MB / 1.178 GB, free: 0.9609 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008557/0.9793, allocations: 1.236 MB / 1.179 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of SimCode: time 7.81e-07/0.9793, allocations: 0 / 1.179 GB, free: 15.7 MB / 0.7917 GB Notification: Performance of Templates: time 0.01925/0.9985, allocations: 10.08 MB / 1.189 GB, free: 5.688 MB / 0.7917 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)