Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [: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.6783/0.6783, allocations: 127.4 MB / 134.6 MB, free: 4.09 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.001162/0.001162, allocations: 189.3 kB / 164.4 MB, free: 6.883 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.512/1.512, allocations: 205.1 MB / 399.1 MB, free: 6.082 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.0009774/0.0009775, allocations: 89.92 kB / 476.3 MB, free: 8.836 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 8.155e-06/8.176e-06, allocations: 4 kB / 0.546 GB, free: 42.69 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1642/0.1643, allocations: 76.74 MB / 0.621 GB, free: 13.88 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4327/0.597, allocations: 110.9 MB / 0.7292 GB, free: 1.453 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/0.5973, allocations: 112.6 kB / 0.7293 GB, free: 1.344 MB / 490.7 MB Notification: Performance of FrontEnd: time 0.0525/0.6498, allocations: 17.99 MB / 0.7469 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.834e-05/0.6499, allocations: 8 kB / 0.7469 GB, free: 15.28 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0009247/0.6508, allocations: 0.5836 MB / 0.7475 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/0.6509, allocations: 8.031 kB / 0.7475 GB, free: 14.64 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001217/0.651, allocations: 47.44 kB / 0.7475 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006223/0.6516, allocations: 351.6 kB / 0.7479 GB, free: 14.21 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.735e-05/0.6517, allocations: 8 kB / 0.7479 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.6517, allocations: 12 kB / 0.7479 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002923/0.652, allocations: 128.8 kB / 0.748 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003125/0.6523, allocations: 154.5 kB / 0.7482 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.6524, allocations: 0 / 0.7482 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.994e-05/0.6524, allocations: 3.906 kB / 0.7482 GB, free: 13.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.6524, allocations: 8 kB / 0.7482 GB, free: 13.89 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.6538, allocations: 0.8152 MB / 0.749 GB, free: 13.02 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/0.654, allocations: 109.8 kB / 0.7491 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.6542, allocations: 92.84 kB / 0.7492 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.964e-05/0.6542, allocations: 4 kB / 0.7492 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.6542, allocations: 34.78 kB / 0.7492 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=18): time 3.006e-06/0.6542, allocations: 0 / 0.7492 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=18): time 0.0004095/0.6547, allocations: 161.5 kB / 0.7494 GB, free: 12.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.6547, allocations: 51.41 kB / 0.7494 GB, free: 12.54 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004919/0.6552, allocations: 330.1 kB / 0.7497 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.6552, allocations: 25.7 kB / 0.7497 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.6554, allocations: 164.1 kB / 0.7499 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.398e-05/0.6554, allocations: 59.05 kB / 0.75 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.404e-06/0.6555, allocations: 8 kB / 0.75 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001983/0.6557, allocations: 346.8 kB / 0.7503 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.384e-05/0.6558, allocations: 36 kB / 0.7503 GB, free: 11.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-05/0.6558, allocations: 43.09 kB / 0.7504 GB, free: 11.53 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.231e-05/0.6559, allocations: 47.92 kB / 0.7504 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.6559, allocations: 0 / 0.7504 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002814/0.6562, allocations: 169.5 kB / 0.7506 GB, free: 11.31 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.6563, allocations: 8 kB / 0.7506 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.6563, allocations: 4 kB / 0.7506 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.6563, allocations: 4 kB / 0.7506 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000301/0.6566, allocations: 55.91 kB / 0.7507 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.6566, allocations: 0 / 0.7507 GB, free: 11.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001866/0.6568, allocations: 19.89 kB / 0.7507 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.6568, allocations: 12 kB / 0.7507 GB, free: 11.21 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (20): * Single equations (assignments): 20 * 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 8.688e-05/0.6569, allocations: 101 kB / 0.7508 GB, free: 11.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.892e-05/0.657, allocations: 35.53 kB / 0.7508 GB, free: 11.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.6571, allocations: 39.17 kB / 0.7508 GB, free: 11.03 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.722e-06/0.6571, allocations: 4 kB / 0.7509 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.6571, allocations: 0 / 0.7509 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6571, allocations: 0 / 0.7509 GB, free: 11.02 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.6576, allocations: 333.8 kB / 0.7512 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6576, allocations: 3.984 kB / 0.7512 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000288/0.6579, allocations: 63.91 kB / 0.7512 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.6579, allocations: 0 / 0.7512 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.6579, allocations: 3.906 kB / 0.7512 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/0.6579, allocations: 7.984 kB / 0.7512 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.6579, allocations: 0 / 0.7512 GB, free: 10.58 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004366/0.6584, allocations: 329.1 kB / 0.7516 GB, free: 10.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.6585, allocations: 116.8 kB / 0.7517 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.511e-05/0.6586, allocations: 7.938 kB / 0.7517 GB, free: 10.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.6588, allocations: 11.94 kB / 0.7517 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.73e-05/0.6588, allocations: 15.88 kB / 0.7517 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.101e-05/0.6589, allocations: 4 kB / 0.7517 GB, free: 10.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0003043/0.6592, allocations: 264.7 kB / 0.752 GB, free: 9.82 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003401/0.6595, allocations: 71.84 kB / 0.752 GB, free: 9.75 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0004108/0.6599, allocations: 272.2 kB / 0.7523 GB, free: 9.473 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.6602, allocations: 114.9 kB / 0.7524 GB, free: 9.363 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.6602, allocations: 4 kB / 0.7524 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.989e-05/0.6603, allocations: 59.94 kB / 0.7525 GB, free: 9.301 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.6607, allocations: 66.98 kB / 0.7525 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001139/0.6619, allocations: 0.5149 MB / 0.753 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005097/0.6624, allocations: 0.8407 MB / 0.7539 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of SimCode: time 2.9e-07/0.6624, allocations: 0 / 0.7539 GB, free: 7.832 MB / 0.5105 GB Notification: Performance of Templates: time 0.00822/0.6707, allocations: 3.685 MB / 0.7574 GB, free: 4.227 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)