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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8008/0.8008, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001384/0.001384, allocations: 180.2 kB / 182.2 MB, free: 9.441 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.424/1.424, allocations: 221.5 MB / 436.4 MB, free: 13.3 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.001031/0.001031, allocations: 83.84 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 279.7 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.457e-05/2.494e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.455/0.455, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.6109, allocations: 120.3 MB / 0.8749 GB, free: 7.527 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/0.6113, allocations: 119.8 kB / 0.875 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02481/0.6361, allocations: 8.39 MB / 0.8832 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of FrontEnd: time 3.226e-06/0.6361, allocations: 0 / 0.8832 GB, free: 15.01 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.779e-05/0.6361, allocations: 7.938 kB / 0.8832 GB, free: 15 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008736/0.637, allocations: 0.5562 MB / 0.8838 GB, free: 14.4 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.6371, allocations: 8.031 kB / 0.8838 GB, free: 14.39 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.186e-05/0.6372, allocations: 27.61 kB / 0.8838 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002783/0.6374, allocations: 217.6 kB / 0.884 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.474e-05/0.6375, allocations: 0 / 0.884 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6375, allocations: 3.938 kB / 0.884 GB, free: 14.11 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001322/0.6376, allocations: 75.95 kB / 0.8841 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/0.6378, allocations: 117.6 kB / 0.8842 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.6378, allocations: 0 / 0.8842 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.6378, allocations: 4 kB / 0.8842 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.6378, allocations: 0 / 0.8842 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003254/0.6382, allocations: 238.5 kB / 0.8844 GB, free: 13.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001397/0.6383, allocations: 118.5 kB / 0.8846 GB, free: 13.51 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.6384, allocations: 112.8 kB / 0.8847 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.6385, allocations: 0 / 0.8847 GB, free: 13.4 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/0.6385, allocations: 38.56 kB / 0.8847 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=32): time 1.343e-06/0.6385, allocations: 7.938 kB / 0.8847 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32): time 0.0003838/0.6389, allocations: 225.7 kB / 0.8849 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.639, allocations: 55.39 kB / 0.885 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002217/0.6392, allocations: 216.5 kB / 0.8852 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.6392, allocations: 25.7 kB / 0.8852 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.046e-05/0.6393, allocations: 128.7 kB / 0.8853 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.6394, allocations: 102.4 kB / 0.8854 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.258e-06/0.6394, allocations: 0 / 0.8854 GB, free: 12.57 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6395, allocations: 342.8 kB / 0.8858 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.768e-05/0.6396, allocations: 83.95 kB / 0.8858 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.675e-05/0.6397, allocations: 71.97 kB / 0.8859 GB, free: 12.08 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001397/0.6399, allocations: 104.2 kB / 0.886 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6399, allocations: 0 / 0.886 GB, free: 11.98 MB / 0.5573 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002725/0.6402, allocations: 225.3 kB / 0.8862 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.786e-05/0.6402, allocations: 4 kB / 0.8862 GB, free: 11.75 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.6402, allocations: 7.984 kB / 0.8862 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.6402, allocations: 0 / 0.8862 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.6402, allocations: 0 / 0.8862 GB, free: 11.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.6402, allocations: 3.938 kB / 0.8862 GB, free: 11.73 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.792e-05/0.6403, allocations: 15.91 kB / 0.8862 GB, free: 11.72 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.103e-05/0.6403, allocations: 0 / 0.8862 GB, free: 11.72 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.118e-05/0.6404, allocations: 105 kB / 0.8863 GB, free: 11.61 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.173e-05/0.6405, allocations: 27.58 kB / 0.8864 GB, free: 11.58 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005003/0.641, allocations: 0.567 MB / 0.8869 GB, free: 10.91 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-05/0.6411, allocations: 181 kB / 0.8871 GB, free: 10.72 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.329e-05/0.6411, allocations: 188.1 kB / 0.8873 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.121e-05/0.6412, allocations: 176.3 kB / 0.8874 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004052/0.6416, allocations: 0.5247 MB / 0.888 GB, free: 9.781 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-05/0.6417, allocations: 104.9 kB / 0.8881 GB, free: 9.672 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.6417, allocations: 105 kB / 0.8882 GB, free: 9.562 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.794e-05/0.6418, allocations: 180.3 kB / 0.8883 GB, free: 9.379 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.508e-05/0.6418, allocations: 180.2 kB / 0.8885 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.29e-05/0.6419, allocations: 184.2 kB / 0.8887 GB, free: 9.008 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.809e-05/0.642, allocations: 180.3 kB / 0.8888 GB, free: 8.824 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002109/0.6422, allocations: 331.4 kB / 0.8892 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.6426, allocations: 357.6 kB / 0.8895 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001503/0.6428, allocations: 180.2 kB / 0.8897 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.6429, allocations: 105 kB / 0.8898 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.702e-05/0.643, allocations: 184.2 kB / 0.89 GB, free: 7.621 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.506e-05/0.6431, allocations: 114.2 kB / 0.8901 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001228/0.6443, allocations: 1.11 MB / 0.8911 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6443, allocations: 0 / 0.8911 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0009862/0.6453, allocations: 303.6 kB / 0.8914 GB, free: 6.098 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.001153/0.6465, allocations: 445.9 kB / 0.8919 GB, free: 5.652 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002234/0.6467, allocations: 177.6 kB / 0.892 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.6467, allocations: 0 / 0.892 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 2.335e-06/0.6467, allocations: 0 / 0.892 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004648/0.6472, allocations: 0.5403 MB / 0.8926 GB, free: 4.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005897/0.6478, allocations: 358.2 kB / 0.8929 GB, free: 4.559 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003897/0.6482, allocations: 0.7626 MB / 0.8936 GB, free: 3.77 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.6482, allocations: 11.98 kB / 0.8937 GB, free: 3.758 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.6483, allocations: 11.44 kB / 0.8937 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of SimCode: time 2.31e-07/0.6483, allocations: 0 / 0.8937 GB, free: 3.746 MB / 0.5573 GB Notification: Performance of Templates: time 0.399/1.047, allocations: 4.469 MB / 0.898 GB, free: 130.8 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_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_TwoUTube_functions.o] Error 1