Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7871/0.7871, allocations: 141.8 MB / 149.1 MB, free: 4.594 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001212/0.001211, allocations: 176.3 kB / 181.9 MB, free: 264 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 436 MB, free: 9.375 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.41 kB / 0.507 GB, free: 24.2 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001799/0.001799, allocations: 281.7 kB / 0.5884 GB, free: 12.4 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.21e-05/1.213e-05, allocations: 4 kB / 0.6759 GB, free: 2.719 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.4728, allocations: 82.76 MB / 0.7568 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1456/0.6184, allocations: 122.8 MB / 0.8767 GB, free: 6.016 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6188, allocations: 115.7 kB / 0.8768 GB, free: 5.906 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.08438/0.7032, allocations: 21.76 MB / 0.898 GB, free: 160 kB / 0.5575 GB Notification: Performance of Transformations before backend: time 7.004e-05/0.7033, allocations: 16 kB / 0.8981 GB, free: 144 kB / 0.5575 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.002827/0.7062, allocations: 1.005 MB / 0.899 GB, free: 15.09 MB / 0.5732 GB Notification: Performance of prepare preOptimizeDAE: time 4.69e-05/0.7062, allocations: 12.03 kB / 0.8991 GB, free: 15.08 MB / 0.5732 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004873/0.7067, allocations: 94.73 kB / 0.8991 GB, free: 14.98 MB / 0.5732 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008783/0.7076, allocations: 431.4 kB / 0.8996 GB, free: 14.51 MB / 0.5732 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.825e-05/0.7076, allocations: 1.781 kB / 0.8996 GB, free: 14.51 MB / 0.5732 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.351e-05/0.7077, allocations: 24 kB / 0.8996 GB, free: 14.49 MB / 0.5732 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004441/0.7082, allocations: 427.8 kB / 0.9 GB, free: 14.07 MB / 0.5732 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.7086, allocations: 375.2 kB / 0.9003 GB, free: 13.69 MB / 0.5732 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7087, allocations: 4 kB / 0.9004 GB, free: 13.69 MB / 0.5732 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.7087, allocations: 3.906 kB / 0.9004 GB, free: 13.68 MB / 0.5732 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.7087, allocations: 3.984 kB / 0.9004 GB, free: 13.68 MB / 0.5732 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009428/0.7096, allocations: 0.6943 MB / 0.901 GB, free: 12.95 MB / 0.5732 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005216/0.7102, allocations: 0.5555 MB / 0.9016 GB, free: 12.37 MB / 0.5732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003012/0.7105, allocations: 329.7 kB / 0.9019 GB, free: 12.04 MB / 0.5732 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/0.7117, allocations: 1.048 MB / 0.9029 GB, free: 10.77 MB / 0.5732 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003709/0.7121, allocations: 392.8 kB / 0.9033 GB, free: 10.37 MB / 0.5732 GB Notification: Performance of pre-optimization done (n=8): time 2.214e-06/0.7121, allocations: 0 / 0.9033 GB, free: 10.37 MB / 0.5732 GB Notification: Performance of matching and sorting (n=8): time 0.0008914/0.713, allocations: 0.7423 MB / 0.904 GB, free: 9.621 MB / 0.5732 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.7131, allocations: 85.09 kB / 0.9041 GB, free: 9.52 MB / 0.5732 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.7144, allocations: 1.021 MB / 0.9051 GB, free: 8.484 MB / 0.5732 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.7145, allocations: 29.7 kB / 0.9051 GB, free: 8.449 MB / 0.5732 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002441/0.7147, allocations: 254.1 kB / 0.9054 GB, free: 8.195 MB / 0.5732 GB Notification: Performance of collectInitialBindings (initialization): time 4.879e-05/0.7148, allocations: 23.66 kB / 0.9054 GB, free: 8.172 MB / 0.5732 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.7148, allocations: 0.8438 kB / 0.9054 GB, free: 8.172 MB / 0.5732 GB Notification: Performance of setup shared object (initialization): time 0.0002838/0.7151, allocations: 419.8 kB / 0.9058 GB, free: 7.754 MB / 0.5732 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.7165, allocations: 1.214 MB / 0.907 GB, free: 6.539 MB / 0.5732 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001413/0.7179, allocations: 1.355 MB / 0.9083 GB, free: 5.176 MB / 0.5732 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.7197, allocations: 1.61 MB / 0.9099 GB, free: 3.543 MB / 0.5732 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/0.7198, allocations: 0 / 0.9099 GB, free: 3.543 MB / 0.5732 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.4092/1.129, allocations: 7.13 MB / 0.9168 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/1.129, allocations: 3.875 kB / 0.9168 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/1.129, allocations: 7.078 kB / 0.9168 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/1.129, allocations: 5.188 kB / 0.9168 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006746/1.13, allocations: 136.6 kB / 0.917 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.13, allocations: 9.844 kB / 0.917 GB, free: 104.3 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/1.13, allocations: 228.4 kB / 0.9172 GB, free: 104.2 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-05/1.13, allocations: 57.12 kB / 0.9173 GB, free: 104.2 MB / 0.5732 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.0001188/1.131, allocations: 122.4 kB / 0.9174 GB, free: 104.1 MB / 0.5732 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.637e-05/1.131, allocations: 64.47 kB / 0.9174 GB, free: 104 MB / 0.5732 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006673/1.131, allocations: 0.7194 MB / 0.9181 GB, free: 104 MB / 0.5732 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-05/1.131, allocations: 3.656 kB / 0.9181 GB, free: 104 MB / 0.5732 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.131, allocations: 0 / 0.9181 GB, free: 104 MB / 0.5732 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.131, allocations: 5.531 kB / 0.9182 GB, free: 104 MB / 0.5732 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003323/1.132, allocations: 476.4 kB / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.132, allocations: 0 / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.476e-05/1.132, allocations: 7.234 kB / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/1.132, allocations: 3.531 kB / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/1.132, allocations: 0 / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/1.132, allocations: 0 / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.132, allocations: 3.594 kB / 0.9186 GB, free: 103.8 MB / 0.5732 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005053/1.132, allocations: 0.7882 MB / 0.9194 GB, free: 103.7 MB / 0.5732 GB Notification: Performance of postOpt removeConstants (simulation): time 7.361e-05/1.132, allocations: 151.5 kB / 0.9195 GB, free: 103.5 MB / 0.5732 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/1.132, allocations: 0 / 0.9195 GB, free: 103.5 MB / 0.5732 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001459/1.133, allocations: 11.52 kB / 0.9195 GB, free: 103.5 MB / 0.5732 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/1.133, allocations: 10.19 kB / 0.9196 GB, free: 103.5 MB / 0.5732 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.649e-05/1.133, allocations: 14.27 kB / 0.9196 GB, free: 103.5 MB / 0.5732 GB Notification: Performance of sort global known variables: time 0.0004905/1.133, allocations: 0.6122 MB / 0.9202 GB, free: 103.4 MB / 0.5732 GB Notification: Performance of remove unused functions: time 0.001389/1.135, allocations: 477.6 kB / 0.9206 GB, free: 103.4 MB / 0.5732 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.001472/1.136, allocations: 0.5978 MB / 0.9212 GB, free: 103.3 MB / 0.5732 GB Notification: Performance of simCode: created initialization part: time 0.001679/1.138, allocations: 2.345 MB / 0.9235 GB, free: 103.3 MB / 0.5732 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/1.138, allocations: 0.6562 kB / 0.9235 GB, free: 103.3 MB / 0.5732 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/1.138, allocations: 341.8 kB / 0.9238 GB, free: 103.3 MB / 0.5732 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/1.138, allocations: 33.88 kB / 0.9239 GB, free: 103.3 MB / 0.5732 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002415/1.141, allocations: 1.469 MB / 0.9253 GB, free: 103 MB / 0.5732 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/1.141, allocations: 1.03 MB / 0.9263 GB, free: 102.3 MB / 0.5732 GB Notification: Performance of SimCode: time 3.61e-07/1.141, allocations: 0 / 0.9263 GB, free: 102.3 MB / 0.5732 GB Notification: Performance of Templates: time 0.01856/1.16, allocations: 9.513 MB / 0.9356 GB, free: 101.8 MB / 0.5732 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1)