Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 176.2 kB / 7.799 MB, free: 1.215 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4648/0.4648, allocations: 90.85 MB / 99.07 MB, free: 8.941 MB / 82.76 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 221.4 MB / 342.7 MB, free: 4.684 MB / 274.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008938/0.0008939, allocations: 96.03 kB / 415.5 MB, free: 14.31 MB / 322.8 MB Notification: Performance of FrontEnd - loaded program: time 7.233e-06/7.263e-06, allocations: 0 / 493.9 MB, free: 7.559 MB / 386.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.369, allocations: 72.31 MB / 0.5529 GB, free: 62 MB / 450.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1309/0.5, allocations: 102.5 MB / 0.653 GB, free: 3.629 MB / 466.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/0.5003, allocations: 104.8 kB / 0.6531 GB, free: 3.527 MB / 466.8 MB Notification: Performance of FrontEnd: time 0.004755/0.5051, allocations: 1.811 MB / 0.6549 GB, free: 1.762 MB / 466.8 MB Notification: Performance of Transformations before backend: time 6.192e-06/0.5051, allocations: 0 / 0.6549 GB, free: 1.762 MB / 466.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002621/0.5054, allocations: 323.6 kB / 0.6552 GB, free: 1.402 MB / 466.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.5054, allocations: 8.656 kB / 0.6552 GB, free: 1.395 MB / 466.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.698e-05/0.5054, allocations: 0 / 0.6552 GB, free: 1.395 MB / 466.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.5056, allocations: 172.5 kB / 0.6554 GB, free: 1.191 MB / 466.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.226e-05/0.5056, allocations: 0 / 0.6554 GB, free: 1.191 MB / 466.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.054e-05/0.5056, allocations: 3.547 kB / 0.6554 GB, free: 1.191 MB / 466.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.038e-05/0.5056, allocations: 11.97 kB / 0.6554 GB, free: 1.184 MB / 466.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.256e-05/0.5057, allocations: 25.7 kB / 0.6554 GB, free: 1.152 MB / 466.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.5057, allocations: 0.5312 kB / 0.6554 GB, free: 1.152 MB / 466.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.5057, allocations: 4.484 kB / 0.6554 GB, free: 1.148 MB / 466.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.5057, allocations: 4.656 kB / 0.6554 GB, free: 1.145 MB / 466.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003486/0.5061, allocations: 442.1 kB / 0.6559 GB, free: 0.6562 MB / 466.8 MB Notification: Performance of preOpt comSubExp (simulation): time 6.393e-05/0.5062, allocations: 166.7 kB / 0.656 GB, free: 496 kB / 466.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.576e-05/0.5062, allocations: 84.8 kB / 0.6561 GB, free: 408 kB / 466.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.5062, allocations: 78.66 kB / 0.6562 GB, free: 332 kB / 466.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.35e-05/0.5063, allocations: 105.8 kB / 0.6563 GB, free: 216 kB / 466.8 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.5063, allocations: 7.938 kB / 0.6563 GB, free: 208 kB / 466.8 MB Notification: Performance of matching and sorting (n=0): time 6.787e-05/0.5064, allocations: 29.61 kB / 0.6563 GB, free: 172 kB / 466.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.359e-05/0.5064, allocations: 55.41 kB / 0.6564 GB, free: 104 kB / 466.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.779e-05/0.5065, allocations: 92.98 kB / 0.6565 GB, free: 4 kB / 466.8 MB Notification: Performance of collectPreVariables (initialization): time 4.738e-05/0.5065, allocations: 26.52 kB / 0.6565 GB, free: 15.97 MB / 482.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.889e-05/0.5066, allocations: 80.14 kB / 0.6566 GB, free: 15.89 MB / 482.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-06/0.5066, allocations: 0.8438 kB / 0.6566 GB, free: 15.89 MB / 482.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.5066, allocations: 0 / 0.6566 GB, free: 15.89 MB / 482.8 MB Notification: Performance of setup shared object (initialization): time 8.486e-05/0.5067, allocations: 320.8 kB / 0.6569 GB, free: 15.57 MB / 482.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.312e-06/0.5067, allocations: 0 / 0.6569 GB, free: 15.57 MB / 482.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.041e-06/0.5067, allocations: 0 / 0.6569 GB, free: 15.57 MB / 482.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.501e-05/0.5068, allocations: 11.92 kB / 0.6569 GB, free: 15.56 MB / 482.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.5068, allocations: 0.6562 kB / 0.6569 GB, free: 15.56 MB / 482.8 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001107/0.5069, allocations: 39.58 kB / 0.6569 GB, free: 15.52 MB / 482.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.052e-05/0.5069, allocations: 4 kB / 0.6569 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.5069, allocations: 0 / 0.6569 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.5069, allocations: 0 / 0.6569 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.468e-05/0.507, allocations: 0 / 0.6569 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.158e-06/0.507, allocations: 6 kB / 0.6569 GB, free: 15.51 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.729e-05/0.507, allocations: 4.734 kB / 0.6569 GB, free: 15.5 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.507, allocations: 0 / 0.6569 GB, free: 15.5 MB / 482.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 6.879e-05/0.5071, allocations: 176.3 kB / 0.6571 GB, free: 15.32 MB / 482.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.5071, allocations: 112.8 kB / 0.6572 GB, free: 15.21 MB / 482.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.5072, allocations: 108.1 kB / 0.6573 GB, free: 15.1 MB / 482.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.646e-05/0.5072, allocations: 180.3 kB / 0.6575 GB, free: 14.92 MB / 482.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.918e-05/0.5073, allocations: 176.3 kB / 0.6576 GB, free: 14.74 MB / 482.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.697e-05/0.5073, allocations: 184.9 kB / 0.6578 GB, free: 14.55 MB / 482.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.5075, allocations: 381 kB / 0.6582 GB, free: 14.14 MB / 482.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-05/0.5076, allocations: 101 kB / 0.6583 GB, free: 14.03 MB / 482.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.833e-05/0.5076, allocations: 108.9 kB / 0.6584 GB, free: 13.92 MB / 482.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-05/0.5077, allocations: 184.3 kB / 0.6586 GB, free: 13.73 MB / 482.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.965e-05/0.5077, allocations: 181.7 kB / 0.6587 GB, free: 13.55 MB / 482.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.374e-05/0.5078, allocations: 184.1 kB / 0.6589 GB, free: 13.36 MB / 482.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.813e-05/0.5078, allocations: 179.1 kB / 0.6591 GB, free: 13.18 MB / 482.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001032/0.5079, allocations: 313.5 kB / 0.6594 GB, free: 12.86 MB / 482.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.255e-05/0.508, allocations: 188.2 kB / 0.6596 GB, free: 12.65 MB / 482.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.57e-05/0.5081, allocations: 192 kB / 0.6597 GB, free: 12.45 MB / 482.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.661e-05/0.5082, allocations: 101 kB / 0.6598 GB, free: 12.35 MB / 482.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.5082, allocations: 176.3 kB / 0.66 GB, free: 12.17 MB / 482.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.5083, allocations: 105 kB / 0.6601 GB, free: 12.06 MB / 482.8 MB Notification: Performance of sort global known variables: time 2.927e-05/0.5083, allocations: 83.22 kB / 0.6602 GB, free: 11.98 MB / 482.8 MB Notification: Performance of remove unused functions: time 0.0002632/0.5086, allocations: 27.98 kB / 0.6602 GB, free: 11.95 MB / 482.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.000464/0.5091, allocations: 232.7 kB / 0.6604 GB, free: 11.73 MB / 482.8 MB Notification: Performance of simCode: created initialization part: time 5.197e-05/0.5091, allocations: 8 kB / 0.6604 GB, free: 11.72 MB / 482.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.5091, allocations: 0 / 0.6604 GB, free: 11.72 MB / 482.8 MB Notification: Performance of simCode: created simulation system equations: time 1.473e-06/0.5091, allocations: 336 / 0.6604 GB, free: 11.72 MB / 482.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002565/0.5094, allocations: 0.5185 MB / 0.661 GB, free: 11.2 MB / 482.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.5124, allocations: 1.106 MB / 0.662 GB, free: 10.07 MB / 482.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002193/0.5126, allocations: 0.6853 MB / 0.6627 GB, free: 9.363 MB / 482.8 MB Notification: Performance of SimCode: time 4.91e-07/0.5126, allocations: 0 / 0.6627 GB, free: 9.363 MB / 482.8 MB Notification: Performance of Templates: time 0.002508/0.5152, allocations: 0.6337 MB / 0.6633 GB, free: 8.77 MB / 482.8 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)