Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells") [: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/BuildSysPro 3.5.0/package.mo): time 0.8531/0.8531, allocations: 127.4 MB / 134.6 MB, free: 4.039 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001119/0.001119, allocations: 185.3 kB / 164.4 MB, free: 6.863 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.493/1.493, allocations: 205.1 MB / 399.1 MB, free: 6.148 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001021/0.001021, allocations: 95.25 kB / 476.3 MB, free: 8.895 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.377e-06/9.407e-06, allocations: 0 / 0.546 GB, free: 42.71 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1915/0.1915, allocations: 76.75 MB / 0.621 GB, free: 13.89 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5094/0.7009, allocations: 101.8 MB / 0.7204 GB, free: 10.55 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.7013, allocations: 103.9 kB / 0.7205 GB, free: 10.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.00167/0.703, allocations: 397.7 kB / 0.7209 GB, free: 10.07 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.703, allocations: 0 / 0.7209 GB, free: 10.07 MB / 490.7 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.0002533/0.7033, allocations: 314.4 kB / 0.7212 GB, free: 9.715 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.7033, allocations: 12.03 kB / 0.7212 GB, free: 9.703 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.141e-05/0.7034, allocations: 4.656 kB / 0.7212 GB, free: 9.699 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.7035, allocations: 159.1 kB / 0.7214 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.7035, allocations: 0 / 0.7214 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.7035, allocations: 0 / 0.7214 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.554e-05/0.7036, allocations: 0 / 0.7214 GB, free: 9.504 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.615e-05/0.7036, allocations: 31.89 kB / 0.7214 GB, free: 9.469 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.7036, allocations: 3.906 kB / 0.7214 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.987e-06/0.7037, allocations: 0 / 0.7214 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7037, allocations: 0 / 0.7214 GB, free: 9.465 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002984/0.704, allocations: 364 kB / 0.7217 GB, free: 9.07 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.037e-05/0.7041, allocations: 169.2 kB / 0.7219 GB, free: 8.895 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.34e-05/0.7041, allocations: 80.14 kB / 0.722 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.7041, allocations: 75.28 kB / 0.7221 GB, free: 8.738 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/0.7042, allocations: 113.8 kB / 0.7222 GB, free: 8.617 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 7.81e-07/0.7042, allocations: 0 / 0.7222 GB, free: 8.617 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.774e-05/0.7043, allocations: 32.08 kB / 0.7222 GB, free: 8.582 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.874e-05/0.7043, allocations: 51.41 kB / 0.7222 GB, free: 8.52 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.993e-05/0.7044, allocations: 96.98 kB / 0.7223 GB, free: 8.418 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.061e-05/0.7044, allocations: 25.7 kB / 0.7224 GB, free: 8.387 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.7045, allocations: 80.14 kB / 0.7224 GB, free: 8.305 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.869e-06/0.7045, allocations: 0 / 0.7224 GB, free: 8.305 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.436e-06/0.7045, allocations: 8.062 kB / 0.7224 GB, free: 8.297 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001165/0.7046, allocations: 310.8 kB / 0.7227 GB, free: 7.984 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.7046, allocations: 4 kB / 0.7227 GB, free: 7.98 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.085e-06/0.7046, allocations: 0 / 0.7227 GB, free: 7.98 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.356e-05/0.7047, allocations: 0 / 0.7227 GB, free: 7.98 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7047, allocations: 0 / 0.7227 GB, free: 7.98 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.496e-05/0.7048, allocations: 33.61 kB / 0.7228 GB, free: 7.941 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.7048, allocations: 8 kB / 0.7228 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.7048, allocations: 96 / 0.7228 GB, free: 7.934 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.7048, allocations: 4 kB / 0.7228 GB, free: 7.93 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.7049, allocations: 7.922 kB / 0.7228 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.7049, allocations: 0.8438 kB / 0.7228 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.092e-05/0.7049, allocations: 0 / 0.7228 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.7049, allocations: 4 kB / 0.7228 GB, free: 7.918 MB / 490.7 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 (i) * 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 0.0001193/0.705, allocations: 180.3 kB / 0.723 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.169e-05/0.7051, allocations: 104.9 kB / 0.7231 GB, free: 7.625 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.151e-05/0.7052, allocations: 108 kB / 0.7232 GB, free: 7.516 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-05/0.7052, allocations: 184.2 kB / 0.7234 GB, free: 7.328 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/0.7053, allocations: 181.4 kB / 0.7235 GB, free: 7.145 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.636e-05/0.7054, allocations: 176.3 kB / 0.7237 GB, free: 6.965 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.7056, allocations: 381.7 kB / 0.7241 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-05/0.7056, allocations: 105 kB / 0.7242 GB, free: 6.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.967e-05/0.7056, allocations: 117 kB / 0.7243 GB, free: 6.316 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.068e-05/0.7057, allocations: 180.2 kB / 0.7244 GB, free: 6.133 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.429e-05/0.7058, allocations: 176.7 kB / 0.7246 GB, free: 5.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.265e-05/0.7059, allocations: 181 kB / 0.7248 GB, free: 5.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.559e-05/0.7059, allocations: 184.2 kB / 0.725 GB, free: 5.582 MB / 490.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001299/0.7061, allocations: 307.8 kB / 0.7253 GB, free: 5.258 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.94e-05/0.7062, allocations: 186 kB / 0.7254 GB, free: 5.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.38e-05/0.7062, allocations: 177.2 kB / 0.7256 GB, free: 4.871 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.195e-05/0.7063, allocations: 105 kB / 0.7257 GB, free: 4.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.843e-05/0.7064, allocations: 188.1 kB / 0.7259 GB, free: 4.57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.7064, allocations: 106.3 kB / 0.726 GB, free: 4.461 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.273e-05/0.7065, allocations: 75.28 kB / 0.7261 GB, free: 4.387 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002045/0.7067, allocations: 3.938 kB / 0.7261 GB, free: 4.383 MB / 490.7 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.0001523/0.7068, allocations: 174.5 kB / 0.7262 GB, free: 4.203 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.241e-05/0.7069, allocations: 4 kB / 0.7262 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7069, allocations: 160 / 0.7262 GB, free: 4.199 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/0.7069, allocations: 7.938 kB / 0.7262 GB, free: 4.191 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003007/0.7072, allocations: 0.5263 MB / 0.7267 GB, free: 3.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001622/0.7074, allocations: 115.3 kB / 0.7269 GB, free: 3.523 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002522/0.7077, allocations: 0.6802 MB / 0.7275 GB, free: 2.816 MB / 490.7 MB Notification: Performance of SimCode: time 2.21e-07/0.7077, allocations: 0 / 0.7275 GB, free: 2.816 MB / 490.7 MB Notification: Performance of Templates: time 0.001707/0.7094, allocations: 187.1 kB / 0.7277 GB, free: 2.676 MB / 490.7 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.CountAggregationCells.pipe 2>&1)