Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8258/0.8258, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, allocations: 172.9 kB / 182.2 MB, free: 9.48 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 221.5 MB / 436.4 MB, free: 13.31 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008743/0.0008743, allocations: 88.11 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00189/0.00189, allocations: 281 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.092e-05/2.094e-05, allocations: 4 kB / 0.6766 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4842/0.4843, allocations: 82.78 MB / 0.7574 GB, free: 32.03 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.6448, allocations: 120.3 MB / 0.8749 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003097/0.6452, allocations: 123.8 kB / 0.875 GB, free: 7.445 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.0232/0.6684, allocations: 7.927 MB / 0.8828 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6684, allocations: 4 kB / 0.8828 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.111e-05/0.6684, allocations: 0 / 0.8828 GB, free: 15.5 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006471/0.6691, allocations: 489.9 kB / 0.8832 GB, free: 14.98 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/0.6691, allocations: 8.031 kB / 0.8832 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.6692, allocations: 7.906 kB / 0.8833 GB, free: 14.96 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.6694, allocations: 181.3 kB / 0.8834 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.6694, allocations: 0 / 0.8834 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.266e-05/0.6694, allocations: 3.984 kB / 0.8834 GB, free: 14.74 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.747e-05/0.6695, allocations: 31.92 kB / 0.8835 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.6696, allocations: 57.67 kB / 0.8835 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.6696, allocations: 0 / 0.8835 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.154e-05/0.6697, allocations: 4 kB / 0.8835 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.6697, allocations: 0 / 0.8835 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002308/0.6699, allocations: 158.2 kB / 0.8837 GB, free: 14.45 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 9.033e-05/0.67, allocations: 46.52 kB / 0.8837 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.389e-05/0.6701, allocations: 37.03 kB / 0.8838 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.6701, allocations: 7.969 kB / 0.8838 GB, free: 14.35 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.358e-05/0.6702, allocations: 30.56 kB / 0.8838 GB, free: 14.31 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 3.636e-06/0.6702, allocations: 7.938 kB / 0.8838 GB, free: 14.3 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0002958/0.6705, allocations: 97.42 kB / 0.8839 GB, free: 14.2 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.6705, allocations: 51.41 kB / 0.8839 GB, free: 14.14 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001427/0.6707, allocations: 136.6 kB / 0.8841 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.6707, allocations: 25.7 kB / 0.8841 GB, free: 13.96 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.717e-05/0.6708, allocations: 96.14 kB / 0.8842 GB, free: 13.86 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 8.788e-05/0.6709, allocations: 23.64 kB / 0.8842 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.717e-06/0.6709, allocations: 0 / 0.8842 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.671, allocations: 326.9 kB / 0.8845 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.903e-05/0.6711, allocations: 31.92 kB / 0.8846 GB, free: 13.48 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.6711, allocations: 23.98 kB / 0.8846 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.006e-05/0.6712, allocations: 27.98 kB / 0.8846 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.6712, allocations: 0 / 0.8846 GB, free: 13.43 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001343/0.6713, allocations: 97.45 kB / 0.8847 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.6714, allocations: 8.781 kB / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/0.6714, allocations: 0 / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.6714, allocations: 0 / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.843e-06/0.6714, allocations: 0 / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.6714, allocations: 4 kB / 0.8847 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.529e-05/0.6715, allocations: 15.91 kB / 0.8847 GB, free: 13.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.6715, allocations: 0 / 0.8847 GB, free: 13.3 MB / 0.5573 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 9.346e-05/0.6716, allocations: 105 kB / 0.8848 GB, free: 13.19 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.682e-05/0.6716, allocations: 15.84 kB / 0.8848 GB, free: 13.18 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.6719, allocations: 192.4 kB / 0.885 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-05/0.672, allocations: 185 kB / 0.8852 GB, free: 12.77 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.371e-05/0.6721, allocations: 180.3 kB / 0.8854 GB, free: 12.59 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-05/0.6721, allocations: 180.2 kB / 0.8855 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.6724, allocations: 425.7 kB / 0.8859 GB, free: 11.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-05/0.6725, allocations: 101 kB / 0.886 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.191e-05/0.6725, allocations: 101 kB / 0.8861 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.928e-05/0.6726, allocations: 184.2 kB / 0.8863 GB, free: 11.55 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.773e-05/0.6727, allocations: 184.2 kB / 0.8865 GB, free: 11.36 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.191e-05/0.6728, allocations: 180.2 kB / 0.8867 GB, free: 11.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.092e-05/0.6729, allocations: 184.1 kB / 0.8868 GB, free: 10.99 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.6731, allocations: 315.6 kB / 0.8871 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000154/0.6732, allocations: 221.8 kB / 0.8873 GB, free: 10.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000105/0.6733, allocations: 176.3 kB / 0.8875 GB, free: 10.24 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001047/0.6735, allocations: 104.9 kB / 0.8876 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.548e-05/0.6735, allocations: 192.1 kB / 0.8878 GB, free: 9.934 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.938e-05/0.6736, allocations: 102.2 kB / 0.8879 GB, free: 9.828 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002526/0.6739, allocations: 264.7 kB / 0.8882 GB, free: 9.57 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6739, allocations: 4 kB / 0.8882 GB, free: 9.566 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009442/0.6748, allocations: 239.7 kB / 0.8884 GB, free: 9.332 MB / 0.5573 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.000921/0.6758, allocations: 438 kB / 0.8888 GB, free: 8.891 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.6759, allocations: 69.67 kB / 0.8889 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.6759, allocations: 0 / 0.8889 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 3.717e-06/0.6759, allocations: 0 / 0.8889 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004355/0.6764, allocations: 0.5341 MB / 0.8894 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.6767, allocations: 192.6 kB / 0.8896 GB, free: 8.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.677, allocations: 0.7079 MB / 0.8903 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.6771, allocations: 0 / 0.8903 GB, free: 7.336 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.829e-05/0.6771, allocations: 11.44 kB / 0.8903 GB, free: 7.324 MB / 0.5573 GB Notification: Performance of SimCode: time 2.5e-07/0.6771, allocations: 4 kB / 0.8903 GB, free: 7.32 MB / 0.5573 GB Notification: Performance of Templates: time 0.008073/0.6852, allocations: 4.171 MB / 0.8944 GB, free: 3.207 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube -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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c:310: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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1