Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.495/2.495, allocations: 284.9 MB / 292.2 MB, free: 10.77 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001632/0.001632, allocations: 177.3 kB / 360.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.1 MB / 0.6188 GB, free: 12.45 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001356/0.001355, allocations: 88.8 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.849e-06/9.978e-06, allocations: 0 / 0.8503 GB, free: 3.871 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6357/0.6358, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2253/0.8611, allocations: 140.1 MB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003335/0.8615, allocations: 89.06 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.02272/0.8843, allocations: 3.076 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.8843, allocations: 1.125 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB 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.0003907/0.8847, allocations: 361.2 kB / 1.103 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.8848, allocations: 8.531 kB / 1.103 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.8849, allocations: 83.19 kB / 1.103 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.8852, allocations: 270.9 kB / 1.103 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.8853, allocations: 154.6 kB / 1.104 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.238e-05/0.8853, allocations: 150.6 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.8855, allocations: 157 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.227e-05/0.8855, allocations: 101 kB / 1.104 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.978e-05/0.8856, allocations: 75.28 kB / 1.104 GB, free: 12.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.772e-05/0.8857, allocations: 158.5 kB / 1.104 GB, free: 12 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.535e-05/0.8857, allocations: 158.6 kB / 1.104 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003159/0.886, allocations: 441.1 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.452e-05/0.8861, allocations: 173.1 kB / 1.105 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.8862, allocations: 80.14 kB / 1.105 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.854e-05/0.8862, allocations: 79.28 kB / 1.105 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001042/0.8864, allocations: 105.8 kB / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=0): time 2.945e-06/0.8864, allocations: 0 / 1.105 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of matching and sorting (n=0): time 9.738e-05/0.8865, allocations: 41.75 kB / 1.105 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.8865, allocations: 51.41 kB / 1.105 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.8867, allocations: 119.9 kB / 1.105 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.8867, allocations: 25.7 kB / 1.105 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.914e-05/0.8868, allocations: 92.14 kB / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.8868, allocations: 0 / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-06/0.8868, allocations: 0 / 1.105 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.8869, allocations: 322.7 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.557e-05/0.8869, allocations: 4 kB / 1.106 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.974e-05/0.887, allocations: 4.656 kB / 1.106 GB, free: 10.23 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.8872, allocations: 27.97 kB / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8872, allocations: 0 / 1.106 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002896/0.8875, allocations: 61.58 kB / 1.106 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.8876, allocations: 13.16 kB / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.563e-05/0.8876, allocations: 0 / 1.106 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.8876, allocations: 7.922 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.8876, allocations: 0.5625 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.8877, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.794e-05/0.8877, allocations: 4 kB / 1.106 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.8877, allocations: 0 / 1.106 GB, free: 10.12 MB / 0.7136 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001056/0.8878, allocations: 184 kB / 1.106 GB, free: 9.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.832e-05/0.8879, allocations: 116.9 kB / 1.106 GB, free: 9.809 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.888, allocations: 108.3 kB / 1.106 GB, free: 9.699 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.555e-05/0.8881, allocations: 188.2 kB / 1.106 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/0.8882, allocations: 178 kB / 1.107 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.679e-05/0.8882, allocations: 177 kB / 1.107 GB, free: 9.148 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002527/0.8885, allocations: 397.7 kB / 1.107 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-05/0.8886, allocations: 105 kB / 1.107 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.057e-05/0.8886, allocations: 105 kB / 1.107 GB, free: 8.496 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.579e-05/0.8887, allocations: 184.2 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.8888, allocations: 180.3 kB / 1.108 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.327e-05/0.8888, allocations: 176.3 kB / 1.108 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.043e-05/0.8889, allocations: 188.1 kB / 1.108 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001504/0.8891, allocations: 309 kB / 1.108 GB, free: 7.43 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.311e-05/0.8892, allocations: 189.9 kB / 1.109 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.251e-05/0.8893, allocations: 178.1 kB / 1.109 GB, free: 7.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.8895, allocations: 105 kB / 1.109 GB, free: 6.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.8896, allocations: 184.2 kB / 1.109 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.8896, allocations: 108.9 kB / 1.109 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of sort global known variables: time 8.993e-05/0.8897, allocations: 99.89 kB / 1.109 GB, free: 6.531 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004492/0.8902, allocations: 39.94 kB / 1.109 GB, free: 6.492 MB / 0.7136 GB 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.0004502/0.8906, allocations: 230.4 kB / 1.109 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.8908, allocations: 38.03 kB / 1.109 GB, free: 6.215 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.8908, allocations: 3.938 kB / 1.109 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.174e-06/0.8908, allocations: 0 / 1.109 GB, free: 6.211 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004438/0.8912, allocations: 0.5314 MB / 1.11 GB, free: 5.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.8915, allocations: 147.9 kB / 1.11 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.8918, allocations: 0.6958 MB / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of SimCode: time 8.31e-07/0.8918, allocations: 0 / 1.111 GB, free: 4.785 MB / 0.7136 GB Notification: Performance of Templates: time 0.005733/0.8976, allocations: 1.444 MB / 1.112 GB, free: 3.391 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1)