Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [: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 7.0.1/package.mo): time 2.132/2.132, allocations: 253.1 MB / 260.4 MB, free: 7.547 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001594/0.001593, allocations: 181.3 kB / 319.6 MB, free: 3.328 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 0.5704 GB, free: 14.99 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001397/0.001396, allocations: 90.33 kB / 0.6746 GB, free: 4.348 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.005e-05/1.019e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2758, allocations: 106.2 MB / 0.8881 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7113/0.9872, allocations: 144 MB / 1.029 GB, free: 10.37 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/0.9876, allocations: 116.3 kB / 1.029 GB, free: 10.29 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03996/1.028, allocations: 8.132 MB / 1.037 GB, free: 3.332 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.676e-05/1.028, allocations: 3.938 kB / 1.037 GB, free: 3.328 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000953/1.029, allocations: 0.5595 MB / 1.037 GB, free: 2.738 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.442e-05/1.029, allocations: 8.031 kB / 1.037 GB, free: 2.73 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.106e-05/1.029, allocations: 19.72 kB / 1.037 GB, free: 2.711 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/1.029, allocations: 228.9 kB / 1.038 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/1.029, allocations: 0 / 1.038 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/1.029, allocations: 0 / 1.038 GB, free: 2.453 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000161/1.029, allocations: 79.08 kB / 1.038 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000192/1.029, allocations: 111.2 kB / 1.038 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/1.03, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/1.03, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/1.03, allocations: 0 / 1.038 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/1.03, allocations: 248.1 kB / 1.038 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/1.03, allocations: 126.2 kB / 1.038 GB, free: 1.945 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/1.03, allocations: 113.8 kB / 1.038 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.074e-05/1.03, allocations: 0 / 1.038 GB, free: 1.867 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/1.03, allocations: 30.56 kB / 1.038 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 1.553e-06/1.03, allocations: 0 / 1.038 GB, free: 1.828 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0005608/1.031, allocations: 331.9 kB / 1.039 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.031, allocations: 51.41 kB / 1.039 GB, free: 1.469 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003381/1.031, allocations: 225.6 kB / 1.039 GB, free: 1.266 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/1.031, allocations: 25.7 kB / 1.039 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/1.031, allocations: 99.91 kB / 1.039 GB, free: 1.141 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/1.032, allocations: 100.2 kB / 1.039 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/1.032, allocations: 0 / 1.039 GB, free: 1.051 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001483/1.032, allocations: 342.1 kB / 1.039 GB, free: 0.7188 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001245/1.032, allocations: 81.14 kB / 1.039 GB, free: 0.6562 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001239/1.032, allocations: 78.09 kB / 1.04 GB, free: 0.5938 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002166/1.032, allocations: 106.1 kB / 1.04 GB, free: 0.5039 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/1.032, allocations: 4.031 kB / 1.04 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0004909/1.033, allocations: 323.5 kB / 1.04 GB, free: 212 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.701e-05/1.033, allocations: 7.938 kB / 1.04 GB, free: 204 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/1.033, allocations: 3.984 kB / 1.04 GB, free: 200 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/1.033, allocations: 4 kB / 1.04 GB, free: 196 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/1.033, allocations: 3.938 kB / 1.04 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/1.033, allocations: 0 / 1.04 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/1.033, allocations: 15.69 kB / 1.04 GB, free: 176 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.69e-05/1.033, allocations: 4 kB / 1.04 GB, free: 172 kB / 0.6511 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 8.749e-05/1.033, allocations: 107.6 kB / 1.04 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.741e-05/1.033, allocations: 23.62 kB / 1.04 GB, free: 36 kB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/1.034, allocations: 0.5736 MB / 1.041 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001166/1.034, allocations: 176.3 kB / 1.041 GB, free: 15.25 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.995e-05/1.034, allocations: 180.2 kB / 1.041 GB, free: 15.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.905e-05/1.034, allocations: 184.2 kB / 1.041 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005399/1.035, allocations: 0.5214 MB / 1.042 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.755e-05/1.035, allocations: 105 kB / 1.042 GB, free: 14.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/1.035, allocations: 106.5 kB / 1.042 GB, free: 14.12 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.254e-05/1.035, allocations: 180.2 kB / 1.042 GB, free: 13.93 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.063e-05/1.035, allocations: 180.3 kB / 1.042 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001051/1.035, allocations: 184.2 kB / 1.042 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.339e-05/1.035, allocations: 180.3 kB / 1.043 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002681/1.035, allocations: 330.7 kB / 1.043 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006734/1.036, allocations: 357.8 kB / 1.043 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002327/1.036, allocations: 181 kB / 1.043 GB, free: 12.49 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/1.037, allocations: 108.8 kB / 1.044 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.368e-05/1.037, allocations: 180.3 kB / 1.044 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.811e-05/1.037, allocations: 101 kB / 1.044 GB, free: 12.09 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.002284/1.039, allocations: 1.146 MB / 1.045 GB, free: 11.36 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001315/1.04, allocations: 301 kB / 1.045 GB, free: 11.08 MB / 0.6667 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.001257/1.042, allocations: 451 kB / 1.046 GB, free: 10.64 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003346/1.042, allocations: 175.4 kB / 1.046 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/1.042, allocations: 0 / 1.046 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.259e-06/1.042, allocations: 4 kB / 1.046 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005885/1.043, allocations: 0.5428 MB / 1.046 GB, free: 9.965 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007624/1.044, allocations: 351.4 kB / 1.047 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/1.044, allocations: 0.7699 MB / 1.047 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of SimCode: time 1.442e-06/1.044, allocations: 0 / 1.047 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of Templates: time 0.01419/1.058, allocations: 4.569 MB / 1.052 GB, free: 4.297 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_7_0_0_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c\nBuildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:358: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_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o\' failed\nmake: *** [Buildings_7.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1\n'