Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.513/1.513, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001117/0.001117, allocations: 181.3 kB / 361.1 MB, free: 7.105 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.546/1.546, allocations: 205.1 MB / 0.6195 GB, free: 10.33 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.0009374/0.0009378, allocations: 98.34 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.354e-06/7.384e-06, allocations: 0 / 0.8511 GB, free: 2.949 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7102/0.7102, allocations: 115.3 MB / 0.9637 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.9045, allocations: 152.1 MB / 1.112 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/0.9048, allocations: 108.8 kB / 1.112 GB, free: 3.766 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.103/1.008, allocations: 24.94 MB / 1.137 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.88e-05/1.008, allocations: 28 kB / 1.137 GB, free: 10.88 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.002801/1.011, allocations: 1.319 MB / 1.138 GB, free: 9.504 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/1.011, allocations: 16.52 kB / 1.138 GB, free: 9.488 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005553/1.011, allocations: 146 kB / 1.138 GB, free: 9.344 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001051/1.012, allocations: 0.6298 MB / 1.139 GB, free: 8.645 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.76e-05/1.012, allocations: 7.984 kB / 1.139 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/1.013, allocations: 24 kB / 1.139 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003785/1.013, allocations: 431.7 kB / 1.139 GB, free: 8.191 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003301/1.013, allocations: 375.2 kB / 1.14 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/1.013, allocations: 0 / 1.14 GB, free: 7.812 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.013, allocations: 7.891 kB / 1.14 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/1.013, allocations: 4 kB / 1.14 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001072/1.014, allocations: 0.912 MB / 1.14 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/1.015, allocations: 0.5633 MB / 1.141 GB, free: 6.262 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002539/1.015, allocations: 329.7 kB / 1.141 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001039/1.016, allocations: 1.041 MB / 1.142 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003244/1.017, allocations: 400.8 kB / 1.143 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/1.017, allocations: 0 / 1.143 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0008821/1.018, allocations: 0.7983 MB / 1.144 GB, free: 3.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.018, allocations: 85.12 kB / 1.144 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001748/1.019, allocations: 1.533 MB / 1.145 GB, free: 1.781 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.545e-05/1.019, allocations: 29.7 kB / 1.145 GB, free: 1.746 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003555/1.02, allocations: 326 kB / 1.145 GB, free: 1.422 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.389e-05/1.02, allocations: 27.64 kB / 1.145 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-05/1.02, allocations: 0 / 1.145 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001697/1.02, allocations: 407 kB / 1.146 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001514/1.022, allocations: 1.471 MB / 1.147 GB, free: 15.52 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001617/1.023, allocations: 1.617 MB / 1.149 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001903/1.025, allocations: 1.864 MB / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-06/1.025, allocations: 0 / 1.151 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.007301/1.032, allocations: 7.709 MB / 1.158 GB, free: 4.27 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/1.032, allocations: 4 kB / 1.158 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.78e-05/1.033, allocations: 20 kB / 1.158 GB, free: 4.246 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.37e-05/1.033, allocations: 5.688 kB / 1.158 GB, free: 4.242 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007099/1.033, allocations: 151.7 kB / 1.158 GB, free: 4.094 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.033, allocations: 11.84 kB / 1.158 GB, free: 4.082 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007333/1.034, allocations: 228.4 kB / 1.159 GB, free: 3.855 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001349/1.034, allocations: 87.98 kB / 1.159 GB, free: 3.77 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.0001544/1.034, allocations: 122.4 kB / 1.159 GB, free: 3.645 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001355/1.035, allocations: 118 kB / 1.159 GB, free: 3.527 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009757/1.036, allocations: 0.7897 MB / 1.16 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/1.036, allocations: 1.969 kB / 1.16 GB, free: 2.73 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/1.036, allocations: 4.031 kB / 1.16 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.408e-06/1.036, allocations: 0 / 1.16 GB, free: 2.727 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007037/1.036, allocations: 0.6492 MB / 1.16 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.036, allocations: 0 / 1.16 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-05/1.036, allocations: 11.98 kB / 1.16 GB, free: 2.023 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.681e-06/1.036, allocations: 4 kB / 1.16 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/1.036, allocations: 0 / 1.16 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/1.036, allocations: 0 / 1.16 GB, free: 2.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.036, allocations: 4 kB / 1.16 GB, free: 2.016 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006969/1.037, allocations: 0.8544 MB / 1.161 GB, free: 1.125 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002299/1.037, allocations: 199.1 kB / 1.161 GB, free: 0.9102 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/1.038, allocations: 4.859 kB / 1.161 GB, free: 0.9062 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/1.038, allocations: 4 kB / 1.161 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.547e-05/1.038, allocations: 7.984 kB / 1.161 GB, free: 0.8945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.94e-05/1.038, allocations: 15.98 kB / 1.161 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.001196/1.039, allocations: 1.011 MB / 1.162 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001684/1.041, allocations: 0.5033 MB / 1.163 GB, free: 15.34 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.002414/1.043, allocations: 0.5976 MB / 1.163 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.002464/1.046, allocations: 2.499 MB / 1.166 GB, free: 12.23 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.046, allocations: 10.41 kB / 1.166 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/1.046, allocations: 335.8 kB / 1.166 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003629/1.046, allocations: 46.45 kB / 1.166 GB, free: 11.84 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003067/1.049, allocations: 2.131 MB / 1.168 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.051, allocations: 1.228 MB / 1.17 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of SimCode: time 2.514e-06/1.051, allocations: 0 / 1.17 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of Templates: time 0.022/1.073, allocations: 10.07 MB / 1.179 GB, free: 14.44 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1)