Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|realExpression.y|Rb_ref.y",fileNamePrefix="Buildings_latest_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.971/1.971, allocations: 390.4 MB / 397.7 MB, free: 11.27 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 197.2 kB / 490.8 MB, free: 1.941 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 221.3 MB / 0.7863 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001049/0.001048, allocations: 92.05 kB / 0.9264 GB, free: 14.22 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.366e-06, allocations: 4 kB / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2663/0.2663, allocations: 143 MB / 1.212 GB, free: 40.1 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9917/1.258, allocations: 424.4 MB / 1.626 GB, free: 6.199 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003134/1.258, allocations: 123.2 kB / 1.626 GB, free: 6.129 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.543/2.801, allocations: 490.6 MB / 2.105 GB, free: 73.25 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002661/2.801, allocations: 43.98 kB / 2.105 GB, free: 73.21 MB / 1.151 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.005476/2.807, allocations: 1.942 MB / 2.107 GB, free: 71.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/2.807, allocations: 8.031 kB / 2.107 GB, free: 71.21 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/2.808, allocations: 209.6 kB / 2.107 GB, free: 71 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004422/2.812, allocations: 1.726 MB / 2.109 GB, free: 69.22 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.687e-05/2.812, allocations: 32 kB / 2.109 GB, free: 69.19 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003276/2.813, allocations: 67.91 kB / 2.109 GB, free: 69.12 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001806/2.815, allocations: 0.7227 MB / 2.11 GB, free: 68.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001711/2.816, allocations: 0.9092 MB / 2.111 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.622e-05/2.816, allocations: 0 / 2.111 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-05/2.816, allocations: 3.938 kB / 2.111 GB, free: 67.43 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/2.816, allocations: 28 kB / 2.111 GB, free: 67.4 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007596/2.824, allocations: 6.627 MB / 2.117 GB, free: 60.16 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/2.825, allocations: 404.3 kB / 2.118 GB, free: 59.76 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003805/2.825, allocations: 321.6 kB / 2.118 GB, free: 59.44 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000817/2.826, allocations: 1.274 MB / 2.119 GB, free: 57.89 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/2.826, allocations: 39.22 kB / 2.119 GB, free: 57.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=68): time 3.556e-06/2.826, allocations: 0 / 2.119 GB, free: 57.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=68): time 0.001684/2.828, allocations: 0.7614 MB / 2.12 GB, free: 57.06 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.386e-05/2.828, allocations: 93.75 kB / 2.12 GB, free: 56.95 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/2.829, allocations: 1.13 MB / 2.121 GB, free: 55.82 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 5.365e-05/2.829, allocations: 25.7 kB / 2.121 GB, free: 55.79 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/2.829, allocations: 496.6 kB / 2.122 GB, free: 55.29 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/2.83, allocations: 232.5 kB / 2.122 GB, free: 55.06 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/2.83, allocations: 0 / 2.122 GB, free: 55.06 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.796e-05/2.83, allocations: 341.9 kB / 2.122 GB, free: 54.72 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003377/2.83, allocations: 250 kB / 2.123 GB, free: 54.48 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004297/2.83, allocations: 466.9 kB / 2.123 GB, free: 53.95 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/2.831, allocations: 434.5 kB / 2.123 GB, free: 53.52 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/2.831, allocations: 0 / 2.123 GB, free: 53.52 MB / 1.151 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.001803/2.833, allocations: 0.9982 MB / 2.124 GB, free: 52.51 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002966/2.834, allocations: 1.332 MB / 2.126 GB, free: 51.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.916e-05/2.834, allocations: 7.906 kB / 2.126 GB, free: 51.09 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002635/2.834, allocations: 73.62 kB / 2.126 GB, free: 51.01 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/2.835, allocations: 183.7 kB / 2.126 GB, free: 50.83 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/2.836, allocations: 2.85 MB / 2.129 GB, free: 47.75 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/2.837, allocations: 103.2 kB / 2.129 GB, free: 47.64 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.912e-05/2.837, allocations: 35.98 kB / 2.129 GB, free: 47.61 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.376e-06/2.837, allocations: 10.66 kB / 2.129 GB, free: 47.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001595/2.839, allocations: 0.815 MB / 2.13 GB, free: 46.78 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/2.839, allocations: 4.031 kB / 2.13 GB, free: 46.78 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001245/2.839, allocations: 69.86 kB / 2.13 GB, free: 46.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005744/2.84, allocations: 179.7 kB / 2.13 GB, free: 46.53 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001596/2.841, allocations: 2.858 MB / 2.133 GB, free: 43.44 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009597/2.842, allocations: 87.44 kB / 2.133 GB, free: 43.35 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.052e-05/2.842, allocations: 43.98 kB / 2.133 GB, free: 43.31 MB / 1.151 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.0002062/2.843, allocations: 120.7 kB / 2.133 GB, free: 43.18 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002077/2.843, allocations: 138.3 kB / 2.133 GB, free: 43.05 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002137/2.845, allocations: 1.028 MB / 2.134 GB, free: 42 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.145e-05/2.845, allocations: 8 kB / 2.134 GB, free: 41.99 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/2.845, allocations: 8 kB / 2.134 GB, free: 41.98 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001257/2.846, allocations: 0.8109 MB / 2.135 GB, free: 41.13 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004086/2.85, allocations: 2.504 MB / 2.137 GB, free: 38.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.85, allocations: 0 / 2.137 GB, free: 38.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/2.851, allocations: 131.8 kB / 2.137 GB, free: 38.37 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001923/2.851, allocations: 66.06 kB / 2.138 GB, free: 38.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/2.851, allocations: 19.98 kB / 2.138 GB, free: 38.28 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/2.853, allocations: 2.851 MB / 2.14 GB, free: 35.2 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.561e-06/2.853, allocations: 7.938 kB / 2.14 GB, free: 35.19 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002033/2.855, allocations: 1.559 MB / 2.142 GB, free: 33.48 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005841/2.856, allocations: 347 kB / 2.142 GB, free: 33.12 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001828/2.856, allocations: 7.984 kB / 2.142 GB, free: 33.11 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006542/2.856, allocations: 39.88 kB / 2.142 GB, free: 33.07 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.863e-05/2.856, allocations: 44.5 kB / 2.142 GB, free: 33.03 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.712e-05/2.857, allocations: 31.92 kB / 2.142 GB, free: 33 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001238/2.858, allocations: 0.8638 MB / 2.143 GB, free: 32.14 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00415/2.862, allocations: 1.193 MB / 2.144 GB, free: 30.94 MB / 1.151 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.002716/2.865, allocations: 1.263 MB / 2.146 GB, free: 29.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002365/2.867, allocations: 1.577 MB / 2.147 GB, free: 28.05 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/2.867, allocations: 0 / 2.147 GB, free: 28.05 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005781/2.868, allocations: 0.5452 MB / 2.148 GB, free: 27.48 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/2.87, allocations: 0.5854 MB / 2.148 GB, free: 26.91 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/2.874, allocations: 2.262 MB / 2.15 GB, free: 24.56 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009459/2.875, allocations: 1.439 MB / 2.152 GB, free: 23.09 MB / 1.151 GB Notification: Performance of SimCode: time 1.312e-06/2.875, allocations: 3.938 kB / 2.152 GB, free: 23.09 MB / 1.151 GB Notification: Performance of Templates: time 0.06257/2.938, allocations: 37.64 MB / 2.189 GB, free: 1.762 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c clang -fPIC -O0 -falign-functions -march=native "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c:989:59: error: cannot take the address of an rvalue of type 'real_array_t' (aka 'struct base_array_s') copy_real_array_data(add_alloc_scalar_real_array(_TBor, &mul_alloc_real_matrix_product_smart(_R0, _QPip_flow)), &_TFlu); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1