Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.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.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") [: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.259/2.259, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001645/0.001644, allocations: 189.2 kB / 360.4 MB, free: 7.484 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.769/1.769, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001202/0.001201, allocations: 89.86 kB / 0.7318 GB, free: 44.93 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.798e-05/1.809e-05, allocations: 4 kB / 0.8503 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6012/0.6012, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.036/1.637, allocations: 411.3 MB / 1.365 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/1.638, allocations: 124.2 kB / 1.365 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.077/3.715, allocations: 474.8 MB / 1.828 GB, free: 134.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002695/3.715, allocations: 51.78 kB / 1.828 GB, free: 134.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.006617/3.722, allocations: 1.941 MB / 1.83 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/3.722, allocations: 8.531 kB / 1.83 GB, free: 132.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001247/3.723, allocations: 209.6 kB / 1.83 GB, free: 132.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006257/3.729, allocations: 1.71 MB / 1.832 GB, free: 130.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-05/3.729, allocations: 36 kB / 1.832 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003365/3.73, allocations: 67.91 kB / 1.832 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002575/3.732, allocations: 0.7227 MB / 1.833 GB, free: 130 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/3.735, allocations: 0.9053 MB / 1.834 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.863e-05/3.735, allocations: 4 kB / 1.834 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/3.735, allocations: 0 / 1.834 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.697e-05/3.735, allocations: 24 kB / 1.834 GB, free: 129.1 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01329/3.749, allocations: 6.647 MB / 1.84 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/3.75, allocations: 408.2 kB / 1.841 GB, free: 121.4 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/3.751, allocations: 319.9 kB / 1.841 GB, free: 121.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001297/3.752, allocations: 1.267 MB / 1.842 GB, free: 119.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/3.752, allocations: 47.22 kB / 1.842 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 3.286e-06/3.752, allocations: 0 / 1.842 GB, free: 119.5 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.003207/3.755, allocations: 0.7575 MB / 1.843 GB, free: 118.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/3.755, allocations: 89.77 kB / 1.843 GB, free: 118.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002721/3.758, allocations: 1.121 MB / 1.844 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002339/3.758, allocations: 29.7 kB / 1.844 GB, free: 117.5 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004472/3.759, allocations: 0.4927 MB / 1.845 GB, free: 117 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.000428/3.759, allocations: 240.5 kB / 1.845 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.454e-05/3.759, allocations: 0 / 1.845 GB, free: 116.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001019/3.759, allocations: 341.9 kB / 1.845 GB, free: 116.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007074/3.76, allocations: 250 kB / 1.846 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008399/3.761, allocations: 470.1 kB / 1.846 GB, free: 115.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/3.763, allocations: 442.5 kB / 1.846 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/3.763, allocations: 0 / 1.846 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.003752/3.767, allocations: 0.9905 MB / 1.847 GB, free: 114.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002973/3.767, allocations: 1.335 MB / 1.849 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.342e-05/3.767, allocations: 8 kB / 1.849 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004095/3.768, allocations: 69.69 kB / 1.849 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/3.769, allocations: 183.7 kB / 1.849 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/3.772, allocations: 2.847 MB / 1.852 GB, free: 109.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002144/3.774, allocations: 103.3 kB / 1.852 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002474/3.774, allocations: 47.98 kB / 1.852 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/3.774, allocations: 5.094 kB / 1.852 GB, free: 109.3 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00312/3.777, allocations: 0.8145 MB / 1.853 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/3.777, allocations: 8.438 kB / 1.853 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002356/3.778, allocations: 69.86 kB / 1.853 GB, free: 108.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/3.779, allocations: 179.7 kB / 1.853 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002596/3.782, allocations: 2.847 MB / 1.856 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001972/3.784, allocations: 91.42 kB / 1.856 GB, free: 105 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/3.784, allocations: 35.98 kB / 1.856 GB, free: 105 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 96 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002887/3.784, allocations: 136.6 kB / 1.856 GB, free: 104.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004754/3.785, allocations: 138.3 kB / 1.856 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003716/3.788, allocations: 1.017 MB / 1.857 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-05/3.789, allocations: 12 kB / 1.857 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/3.789, allocations: 7.984 kB / 1.857 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002449/3.791, allocations: 0.807 MB / 1.858 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00769/3.799, allocations: 2.499 MB / 1.86 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-05/3.799, allocations: 4 kB / 1.86 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/3.8, allocations: 135.8 kB / 1.86 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003533/3.8, allocations: 70.06 kB / 1.86 GB, free: 100 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.631e-05/3.8, allocations: 16 kB / 1.861 GB, free: 99.99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/3.803, allocations: 2.839 MB / 1.863 GB, free: 96.92 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.759e-06/3.803, allocations: 11.88 kB / 1.863 GB, free: 96.91 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004059/3.807, allocations: 1.555 MB / 1.865 GB, free: 95.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001207/3.808, allocations: 359 kB / 1.865 GB, free: 94.83 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003877/3.809, allocations: 4 kB / 1.865 GB, free: 94.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/3.81, allocations: 35.88 kB / 1.865 GB, free: 94.79 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/3.81, allocations: 44.59 kB / 1.865 GB, free: 94.75 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.747e-05/3.811, allocations: 35.97 kB / 1.865 GB, free: 94.71 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001979/3.812, allocations: 0.8517 MB / 1.866 GB, free: 93.86 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005656/3.818, allocations: 1.197 MB / 1.867 GB, free: 92.66 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 6 (intHex.vol1.dynBal.U,intHex.vol2.dynBal.U,intHex.intResUTub.capFil1.T,intHex.intResUTub.capFil2.T,senTem.T,senTem1.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00363/3.822, allocations: 1.289 MB / 1.869 GB, free: 91.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003711/3.826, allocations: 1.573 MB / 1.87 GB, free: 89.83 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/3.826, allocations: 384 / 1.87 GB, free: 89.83 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001109/3.827, allocations: 0.5447 MB / 1.871 GB, free: 89.26 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005601/3.832, allocations: 0.5981 MB / 1.871 GB, free: 88.66 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006858/3.839, allocations: 2.254 MB / 1.873 GB, free: 86.34 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001624/3.841, allocations: 1.432 MB / 1.875 GB, free: 84.88 MB / 0.9323 GB Notification: Performance of SimCode: time 1.543e-06/3.841, allocations: 0 / 1.875 GB, free: 84.88 MB / 0.9323 GB Notification: Performance of Templates: time 0.09549/3.937, allocations: 37.89 MB / 1.912 GB, free: 47.31 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile b'clang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c\nclang -fPIC -O0 -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_8_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalHEXOneUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=6 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:1027:59: error: cannot take the address of an rvalue of type \'real_array_t\' (aka \'struct base_array_s\')\n copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu);\n ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n1 error generated.\n: recipe for target \'Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o\' failed\nmake: *** [Buildings_8.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'