Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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 8.0.1-maint.8.0.x/package.mo): time 1.518/1.518, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 189.2 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.416/1.416, allocations: 205.1 MB / 0.6195 GB, free: 11.95 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008583/0.0008583, allocations: 89.39 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.079e-05/1.081e-05, allocations: 4 kB / 0.8511 GB, free: 3.195 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7252, allocations: 115.3 MB / 0.9637 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9992/1.724, allocations: 411.4 MB / 1.365 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004684/1.725, allocations: 125.5 kB / 1.366 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.68/3.405, allocations: 475.1 MB / 1.83 GB, free: 133.5 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003059/3.405, allocations: 43.91 kB / 1.83 GB, free: 133.4 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.006636/3.412, allocations: 1.933 MB / 1.831 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/3.412, allocations: 8.531 kB / 1.831 GB, free: 131.5 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/3.413, allocations: 213.5 kB / 1.832 GB, free: 131.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005123/3.418, allocations: 1.711 MB / 1.833 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/3.419, allocations: 36 kB / 1.833 GB, free: 129.5 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003944/3.419, allocations: 79.77 kB / 1.833 GB, free: 129.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00199/3.421, allocations: 0.7227 MB / 1.834 GB, free: 128.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002157/3.423, allocations: 0.9053 MB / 1.835 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.617e-05/3.423, allocations: 4 kB / 1.835 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001289/3.423, allocations: 0 / 1.835 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/3.423, allocations: 27.98 kB / 1.835 GB, free: 127.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/3.434, allocations: 6.633 MB / 1.842 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008386/3.435, allocations: 396.3 kB / 1.842 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005014/3.436, allocations: 323.9 kB / 1.842 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001195/3.437, allocations: 1.271 MB / 1.843 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/3.437, allocations: 43.22 kB / 1.844 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=68): time 4.148e-06/3.437, allocations: 0 / 1.844 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=68): time 0.002736/3.44, allocations: 0.7575 MB / 1.844 GB, free: 117.4 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/3.44, allocations: 89.77 kB / 1.844 GB, free: 117.3 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002782/3.443, allocations: 1.125 MB / 1.845 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001792/3.443, allocations: 33.7 kB / 1.845 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005809/3.443, allocations: 488.7 kB / 1.846 GB, free: 115.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003692/3.444, allocations: 244.4 kB / 1.846 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.342e-05/3.444, allocations: 0 / 1.846 GB, free: 115.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001546/3.444, allocations: 334 kB / 1.846 GB, free: 115.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004933/3.445, allocations: 250 kB / 1.847 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005708/3.445, allocations: 478 kB / 1.847 GB, free: 114.3 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/3.446, allocations: 434.6 kB / 1.848 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.414e-06/3.446, allocations: 3.938 kB / 1.848 GB, free: 113.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.002598/3.449, allocations: 0.9905 MB / 1.849 GB, free: 112.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004532/3.45, allocations: 1.339 MB / 1.85 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.63e-05/3.45, allocations: 8 kB / 1.85 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004103/3.45, allocations: 69.69 kB / 1.85 GB, free: 111.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007305/3.451, allocations: 183.7 kB / 1.85 GB, free: 111.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/3.453, allocations: 2.843 MB / 1.853 GB, free: 108.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/3.455, allocations: 99.33 kB / 1.853 GB, free: 108 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/3.455, allocations: 47.98 kB / 1.853 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/3.455, allocations: 10.34 kB / 1.853 GB, free: 107.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002069/3.457, allocations: 0.8107 MB / 1.854 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.162e-05/3.458, allocations: 12.42 kB / 1.854 GB, free: 107.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/3.458, allocations: 69.62 kB / 1.854 GB, free: 107 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006398/3.458, allocations: 183.7 kB / 1.854 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002018/3.46, allocations: 2.85 MB / 1.857 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/3.462, allocations: 87.44 kB / 1.857 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/3.462, allocations: 39.98 kB / 1.857 GB, free: 103.7 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.0002621/3.462, allocations: 132.7 kB / 1.857 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004869/3.463, allocations: 138.3 kB / 1.857 GB, free: 103.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00248/3.465, allocations: 1.024 MB / 1.858 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/3.465, allocations: 16 kB / 1.858 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/3.465, allocations: 0 / 1.858 GB, free: 102.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001429/3.467, allocations: 0.8109 MB / 1.859 GB, free: 101.5 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005557/3.472, allocations: 2.492 MB / 1.862 GB, free: 98.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/3.472, allocations: 4 kB / 1.862 GB, free: 98.86 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005799/3.473, allocations: 131.8 kB / 1.862 GB, free: 98.73 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002277/3.473, allocations: 74.06 kB / 1.862 GB, free: 98.66 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/3.473, allocations: 15.98 kB / 1.862 GB, free: 98.64 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001944/3.475, allocations: 2.843 MB / 1.864 GB, free: 95.57 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/3.475, allocations: 4 kB / 1.865 GB, free: 95.56 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002614/3.478, allocations: 1.558 MB / 1.866 GB, free: 93.85 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009981/3.479, allocations: 355 kB / 1.866 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005306/3.479, allocations: 4 kB / 1.866 GB, free: 93.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001128/3.48, allocations: 43.75 kB / 1.866 GB, free: 93.44 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.507e-05/3.481, allocations: 48.53 kB / 1.866 GB, free: 93.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.763e-05/3.481, allocations: 31.98 kB / 1.866 GB, free: 93.36 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001786/3.482, allocations: 0.8556 MB / 1.867 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006065/3.488, allocations: 1.197 MB / 1.868 GB, free: 91.3 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.004975/3.493, allocations: 1.273 MB / 1.87 GB, free: 90.11 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.003445/3.497, allocations: 1.585 MB / 1.871 GB, free: 88.47 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.228e-06/3.497, allocations: 384 / 1.871 GB, free: 88.47 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000772/3.498, allocations: 0.5409 MB / 1.872 GB, free: 87.91 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004469/3.502, allocations: 0.5982 MB / 1.872 GB, free: 87.32 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007116/3.509, allocations: 2.253 MB / 1.875 GB, free: 84.99 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001756/3.511, allocations: 1.44 MB / 1.876 GB, free: 83.52 MB / 0.9323 GB Notification: Performance of SimCode: time 1.633e-06/3.511, allocations: 0 / 1.876 GB, free: 83.52 MB / 0.9323 GB Notification: Performance of Templates: time 0.06748/3.579, allocations: 37.89 MB / 1.913 GB, free: 46 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.makefile b'clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube.c\nclang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_8_0_x_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_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.c\nBuildings_maint.8.0.x_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.\nmake: *** [: Buildings_maint.8.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalHEXOneUTube_functions.o] Error 1\n'