Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7679/0.7679, allocations: 141.8 MB / 149.1 MB, free: 10.08 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 185.7 kB / 181.9 MB, free: 6.926 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 221.4 MB / 436 MB, free: 14.98 MB / 346.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 97.7 kB / 0.507 GB, free: 8.121 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001859/0.001858, allocations: 277.6 kB / 0.5885 GB, free: 4.926 MB / 474.9 MB Notification: Performance of FrontEnd - loaded program: time 1.089e-05/1.093e-05, allocations: 2.25 kB / 0.6759 GB, free: 166.6 MB / 0.5419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1761, allocations: 82.77 MB / 0.7568 GB, free: 113.8 MB / 0.5419 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.3041, allocations: 116.4 MB / 0.8704 GB, free: 13.25 MB / 0.5575 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.3044, allocations: 113.2 kB / 0.8705 GB, free: 13.14 MB / 0.5575 GB Notification: Performance of FrontEnd: time 0.3603/0.6647, allocations: 17.68 MB / 0.8878 GB, free: 120.5 MB / 0.5575 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.6647, allocations: 7.188 kB / 0.8878 GB, free: 120.5 MB / 0.5575 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.000649/0.6654, allocations: 0.5819 MB / 0.8884 GB, free: 120.1 MB / 0.5575 GB Notification: Performance of prepare preOptimizeDAE: time 3.256e-05/0.6654, allocations: 7.562 kB / 0.8884 GB, free: 120.1 MB / 0.5575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.511e-05/0.6655, allocations: 47.47 kB / 0.8884 GB, free: 120.1 MB / 0.5575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.6659, allocations: 359.4 kB / 0.8888 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.666, allocations: 8.25 kB / 0.8888 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.666, allocations: 10.38 kB / 0.8888 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002413/0.6662, allocations: 127.8 kB / 0.8889 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.6665, allocations: 156.9 kB / 0.889 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.6665, allocations: 3.625 kB / 0.8891 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.872e-05/0.6665, allocations: 3 kB / 0.8891 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.6666, allocations: 6.031 kB / 0.8891 GB, free: 119.8 MB / 0.5575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.6678, allocations: 0.8208 MB / 0.8899 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.668, allocations: 108.4 kB / 0.89 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001296/0.6681, allocations: 87.27 kB / 0.8901 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.469e-05/0.6681, allocations: 3.906 kB / 0.8901 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.6682, allocations: 31.88 kB / 0.8901 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of pre-optimization done (n=18): time 1.894e-06/0.6682, allocations: 3.281 kB / 0.8901 GB, free: 119.4 MB / 0.5575 GB Notification: Performance of matching and sorting (n=18): time 0.0002991/0.6685, allocations: 161.1 kB / 0.8902 GB, free: 119.3 MB / 0.5575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.783e-05/0.6685, allocations: 55.31 kB / 0.8903 GB, free: 119.2 MB / 0.5575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003526/0.6689, allocations: 328.5 kB / 0.8906 GB, free: 119.1 MB / 0.5575 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.6689, allocations: 27.89 kB / 0.8906 GB, free: 119.1 MB / 0.5575 GB Notification: Performance of collectInitialEqns (initialization): time 5.987e-05/0.669, allocations: 153.2 kB / 0.8908 GB, free: 119 MB / 0.5575 GB Notification: Performance of collectInitialBindings (initialization): time 4.862e-05/0.669, allocations: 65.3 kB / 0.8908 GB, free: 119 MB / 0.5575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.783e-06/0.669, allocations: 2.688 kB / 0.8908 GB, free: 119 MB / 0.5575 GB Notification: Performance of setup shared object (initialization): time 7.273e-05/0.6691, allocations: 342.5 kB / 0.8912 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.594e-05/0.6692, allocations: 39.34 kB / 0.8912 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.126e-05/0.6692, allocations: 44.77 kB / 0.8913 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001031/0.6693, allocations: 48.88 kB / 0.8913 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.6694, allocations: 3.828 kB / 0.8913 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002137/0.6696, allocations: 172.6 kB / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.6696, allocations: 3.156 kB / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.6696, allocations: 0 / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.6696, allocations: 3.438 kB / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002639/0.6699, allocations: 59.03 kB / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.6699, allocations: 0 / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001555/0.6701, allocations: 18.42 kB / 0.8915 GB, free: 118.6 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.6701, allocations: 11.45 kB / 0.8916 GB, free: 118.6 MB / 0.5575 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 5.54e-05/0.6702, allocations: 103.2 kB / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.128e-05/0.6702, allocations: 34.22 kB / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.815e-05/0.6703, allocations: 33.58 kB / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.6703, allocations: 5.781 kB / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6703, allocations: 1.125 kB / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.6703, allocations: 0 / 0.8917 GB, free: 118.5 MB / 0.5575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000293/0.6706, allocations: 334 kB / 0.892 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.6706, allocations: 0 / 0.892 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002592/0.6709, allocations: 64.61 kB / 0.8921 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.6709, allocations: 3.703 kB / 0.8921 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.341e-05/0.6709, allocations: 0.5312 kB / 0.8921 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.6709, allocations: 3.875 kB / 0.8921 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.6709, allocations: 3.984 kB / 0.8921 GB, free: 118.3 MB / 0.5575 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003963/0.6713, allocations: 322.1 kB / 0.8924 GB, free: 118.1 MB / 0.5575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.244e-05/0.6714, allocations: 119.3 kB / 0.8925 GB, free: 118 MB / 0.5575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.6715, allocations: 0.7812 kB / 0.8925 GB, free: 118 MB / 0.5575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.6717, allocations: 24.73 kB / 0.8926 GB, free: 118 MB / 0.5575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.6717, allocations: 18.91 kB / 0.8926 GB, free: 118 MB / 0.5575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.6717, allocations: 2.906 kB / 0.8926 GB, free: 118 MB / 0.5575 GB Notification: Performance of sort global known variables: time 0.0002428/0.672, allocations: 266 kB / 0.8928 GB, free: 117.9 MB / 0.5575 GB Notification: Performance of remove unused functions: time 0.0002928/0.6723, allocations: 66.41 kB / 0.8929 GB, free: 117.9 MB / 0.5575 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.0003464/0.6726, allocations: 271.6 kB / 0.8932 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of simCode: created initialization part: time 0.000213/0.6728, allocations: 111.3 kB / 0.8933 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.6729, allocations: 0 / 0.8933 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of simCode: created simulation system equations: time 8.973e-05/0.6729, allocations: 63.09 kB / 0.8933 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003986/0.6734, allocations: 67.55 kB / 0.8934 GB, free: 117.8 MB / 0.5575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.6744, allocations: 0.5148 MB / 0.8939 GB, free: 117.6 MB / 0.5575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/0.6747, allocations: 0.8315 MB / 0.8947 GB, free: 116.8 MB / 0.5575 GB Notification: Performance of SimCode: time 5.31e-07/0.6747, allocations: 0 / 0.8947 GB, free: 116.8 MB / 0.5575 GB Notification: Performance of Templates: time 0.009652/0.6844, allocations: 3.623 MB / 0.8982 GB, free: 116.5 MB / 0.5575 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)