Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances") [: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/Buildings 1.6.0+build.1/package.mo): time 0.5195/0.5195, allocations: 94.74 MB / 102 MB, free: 10.37 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001214/0.001214, allocations: 181.5 kB / 125.3 MB, free: 12 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.518/1.518, allocations: 170.5 MB / 319 MB, free: 9.359 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001807/0.001807, allocations: 101.6 kB / 381 MB, free: 18.13 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.188e-05/1.192e-05, allocations: 4 kB / 448.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1704, allocations: 61.51 MB / 0.4981 GB, free: 4.496 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4/0.5705, allocations: 95.91 MB / 0.5918 GB, free: 6.441 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003045/0.5709, allocations: 84.53 kB / 0.5919 GB, free: 6.359 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/Boreholes/BaseClasses/singleUTubeResistances.mo:64:3-66:74:writable] Warning: beta was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd: time 0.01208/0.583, allocations: 2.734 MB / 0.5946 GB, free: 3.676 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.243e-06/0.583, allocations: 0 / 0.5946 GB, free: 3.676 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004019/0.5834, allocations: 384 kB / 0.5949 GB, free: 3.25 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.5835, allocations: 8.031 kB / 0.5949 GB, free: 3.242 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.5836, allocations: 83.5 kB / 0.595 GB, free: 3.164 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003216/0.5839, allocations: 270.9 kB / 0.5953 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.508e-05/0.584, allocations: 150.6 kB / 0.5954 GB, free: 2.711 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.5841, allocations: 158.4 kB / 0.5956 GB, free: 2.559 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001075/0.5842, allocations: 154.6 kB / 0.5957 GB, free: 2.406 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.799e-05/0.5843, allocations: 103.5 kB / 0.5958 GB, free: 2.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.014e-05/0.5843, allocations: 75.28 kB / 0.5959 GB, free: 2.227 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.5844, allocations: 150.6 kB / 0.596 GB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.263e-05/0.5844, allocations: 150.6 kB / 0.5962 GB, free: 1.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003297/0.5848, allocations: 454.3 kB / 0.5966 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.449e-05/0.5849, allocations: 166.1 kB / 0.5968 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.032e-05/0.5849, allocations: 84.14 kB / 0.5968 GB, free: 1.191 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.227e-05/0.585, allocations: 79.28 kB / 0.5969 GB, free: 1.113 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.322e-05/0.585, allocations: 111.6 kB / 0.597 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of pre-optimization done (n=0): time 1.613e-06/0.585, allocations: 0 / 0.597 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of matching and sorting (n=0): time 9.775e-05/0.5851, allocations: 37.55 kB / 0.5971 GB, free: 0.9531 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.5852, allocations: 51.41 kB / 0.5971 GB, free: 0.8906 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001249/0.5853, allocations: 118.8 kB / 0.5972 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.5853, allocations: 25.7 kB / 0.5972 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.892e-05/0.5854, allocations: 92.12 kB / 0.5973 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.734e-06/0.5854, allocations: 1.125 kB / 0.5973 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5854, allocations: 0 / 0.5973 GB, free: 0.6406 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001237/0.5856, allocations: 314.8 kB / 0.5976 GB, free: 332 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.037e-05/0.5856, allocations: 11.98 kB / 0.5976 GB, free: 320 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.382e-05/0.5856, allocations: 4 kB / 0.5976 GB, free: 316 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.5858, allocations: 19.97 kB / 0.5977 GB, free: 296 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.5858, allocations: 7.906 kB / 0.5977 GB, free: 288 kB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002302/0.586, allocations: 61.67 kB / 0.5977 GB, free: 220 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.5861, allocations: 4 kB / 0.5977 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5861, allocations: 0 / 0.5977 GB, free: 216 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.5861, allocations: 3.906 kB / 0.5977 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.5861, allocations: 0 / 0.5977 GB, free: 212 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5861, allocations: 11.62 kB / 0.5978 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.819e-05/0.5862, allocations: 0 / 0.5978 GB, free: 204 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.5862, allocations: 3.938 kB / 0.5978 GB, free: 200 kB / 410.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001041/0.5863, allocations: 176.3 kB / 0.5979 GB, free: 16 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.293e-05/0.5864, allocations: 112.9 kB / 0.598 GB, free: 15.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.802e-05/0.5864, allocations: 112.6 kB / 0.5981 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.012e-05/0.5865, allocations: 187.2 kB / 0.5983 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001087/0.5866, allocations: 180.2 kB / 0.5985 GB, free: 15.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.386e-05/0.5867, allocations: 180.2 kB / 0.5987 GB, free: 15.23 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002462/0.587, allocations: 394.3 kB / 0.599 GB, free: 14.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-05/0.587, allocations: 105 kB / 0.5991 GB, free: 14.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.652e-05/0.5871, allocations: 102.3 kB / 0.5992 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.182e-05/0.5871, allocations: 192.2 kB / 0.5994 GB, free: 14.39 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.686e-05/0.5872, allocations: 180.2 kB / 0.5996 GB, free: 14.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.488e-05/0.5873, allocations: 178 kB / 0.5998 GB, free: 14.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.95e-05/0.5874, allocations: 180.2 kB / 0.5999 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001688/0.5876, allocations: 311.7 kB / 0.6002 GB, free: 13.51 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.785e-05/0.5877, allocations: 191.6 kB / 0.6004 GB, free: 13.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.778e-05/0.5878, allocations: 176.3 kB / 0.6006 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001096/0.5879, allocations: 108.9 kB / 0.6007 GB, free: 13.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.087e-05/0.5879, allocations: 180.2 kB / 0.6009 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.588, allocations: 103.3 kB / 0.601 GB, free: 12.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.037e-05/0.5881, allocations: 106.2 kB / 0.6011 GB, free: 12.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000317/0.5884, allocations: 43.92 kB / 0.6011 GB, free: 12.57 MB / 426.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.0003796/0.5888, allocations: 230.4 kB / 0.6013 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 9.161e-05/0.5889, allocations: 34.03 kB / 0.6013 GB, free: 12.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.5889, allocations: 8.062 kB / 0.6014 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 3.216e-06/0.5889, allocations: 3.938 kB / 0.6014 GB, free: 12.29 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.5893, allocations: 0.5224 MB / 0.6019 GB, free: 11.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002434/0.5896, allocations: 143.2 kB / 0.602 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003467/0.5899, allocations: 0.6997 MB / 0.6027 GB, free: 10.88 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5899, allocations: 0 / 0.6027 GB, free: 10.88 MB / 426.7 MB Notification: Performance of Templates: time 0.004323/0.5943, allocations: 1.439 MB / 0.6041 GB, free: 9.492 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)