Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8096/0.8096, allocations: 141.8 MB / 149.3 MB, free: 9.203 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.001013/0.001012, allocations: 188.8 kB / 182.2 MB, free: 9.43 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.52/1.52, allocations: 221.5 MB / 436.4 MB, free: 13.32 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.0009291/0.0009291, allocations: 85.81 kB / 0.5074 GB, free: 10.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002534/0.002534, allocations: 272.3 kB / 0.5889 GB, free: 54.67 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.319e-05/2.322e-05, allocations: 4 kB / 0.6766 GB, free: 12.78 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4447/0.4448, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1697/0.6145, allocations: 128.7 MB / 0.8831 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.615, allocations: 127.8 kB / 0.8832 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 0.4634/1.078, allocations: 15.1 MB / 0.8979 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.635e-06/1.078, allocations: 0.5312 kB / 0.8979 GB, free: 128.4 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.191e-05/1.078, allocations: 0.6875 kB / 0.8979 GB, free: 128.4 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001104/1.08, allocations: 0.5337 MB / 0.8985 GB, free: 128 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/1.08, allocations: 12.19 kB / 0.8985 GB, free: 128 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.007e-05/1.08, allocations: 83.22 kB / 0.8985 GB, free: 127.9 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/1.08, allocations: 254.2 kB / 0.8988 GB, free: 127.6 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/1.08, allocations: 151.2 kB / 0.8989 GB, free: 127.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.721e-05/1.08, allocations: 160.8 kB / 0.8991 GB, free: 127.3 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.08e-05/1.08, allocations: 151.9 kB / 0.8992 GB, free: 127.2 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.658e-05/1.08, allocations: 104.7 kB / 0.8993 GB, free: 127.1 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/1.08, allocations: 76.38 kB / 0.8994 GB, free: 127 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.206e-05/1.08, allocations: 153.3 kB / 0.8996 GB, free: 126.9 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/1.08, allocations: 154.9 kB / 0.8997 GB, free: 126.7 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002176/1.08, allocations: 442.4 kB / 0.9001 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 5.249e-05/1.08, allocations: 176.6 kB / 0.9003 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.646e-05/1.08, allocations: 81.27 kB / 0.9004 GB, free: 126 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/1.08, allocations: 75.8 kB / 0.9004 GB, free: 125.9 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/1.08, allocations: 111 kB / 0.9005 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.08, allocations: 0 / 0.9005 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of matching and sorting (n=0): time 7.574e-05/1.08, allocations: 36.41 kB / 0.9006 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.732e-05/1.081, allocations: 53.91 kB / 0.9006 GB, free: 125.7 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001197/1.081, allocations: 113.1 kB / 0.9007 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 7.825e-06/1.081, allocations: 26.22 kB / 0.9008 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 4.309e-05/1.081, allocations: 91.42 kB / 0.9009 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/1.081, allocations: 0 / 0.9009 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-06/1.081, allocations: 2.094 kB / 0.9009 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 5.868e-05/1.081, allocations: 320.5 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/1.081, allocations: 7.281 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.486e-05/1.081, allocations: 4.938 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.259e-05/1.081, allocations: 7.578 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.081, allocations: 0 / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001318/1.081, allocations: 55.73 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.081, allocations: 4.641 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/1.081, allocations: 2.828 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/1.081, allocations: 0.8438 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.805e-06/1.081, allocations: 5.141 kB / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/1.081, allocations: 0 / 0.9012 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.15e-05/1.081, allocations: 5.797 kB / 0.9013 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/1.081, allocations: 1.375 kB / 0.9013 GB, free: 125.2 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 5.549e-05/1.081, allocations: 180.8 kB / 0.9014 GB, free: 125 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/1.081, allocations: 112.5 kB / 0.9015 GB, free: 124.9 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.399e-05/1.081, allocations: 112.5 kB / 0.9016 GB, free: 124.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/1.081, allocations: 180.9 kB / 0.9018 GB, free: 124.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.623e-05/1.081, allocations: 179.2 kB / 0.902 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.63e-05/1.081, allocations: 182.6 kB / 0.9022 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001389/1.082, allocations: 393.5 kB / 0.9025 GB, free: 123.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.679e-05/1.082, allocations: 102.6 kB / 0.9026 GB, free: 123.7 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.929e-05/1.082, allocations: 110.8 kB / 0.9027 GB, free: 123.6 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.529e-05/1.082, allocations: 178.1 kB / 0.9029 GB, free: 123.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.691e-05/1.082, allocations: 179.2 kB / 0.9031 GB, free: 123.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.57e-05/1.082, allocations: 188.8 kB / 0.9033 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.694e-05/1.082, allocations: 180.5 kB / 0.9034 GB, free: 122.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.969e-05/1.082, allocations: 304.3 kB / 0.9037 GB, free: 122.6 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 3.726e-05/1.082, allocations: 189.4 kB / 0.9039 GB, free: 122.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/1.082, allocations: 185.3 kB / 0.9041 GB, free: 122.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/1.082, allocations: 106 kB / 0.9042 GB, free: 122.1 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/1.082, allocations: 183.6 kB / 0.9044 GB, free: 121.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/1.082, allocations: 109.5 kB / 0.9045 GB, free: 121.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 4.447e-05/1.082, allocations: 94.34 kB / 0.9045 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.5e-07/1.082, allocations: 0.8125 kB / 0.9045 GB, free: 121.7 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001409/1.084, allocations: 325.6 kB / 0.9049 GB, free: 121.7 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.001312/1.085, allocations: 0.5622 MB / 0.9054 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 9.864e-05/1.085, allocations: 37.95 kB / 0.9054 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/1.085, allocations: 0.625 kB / 0.9054 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.228e-06/1.085, allocations: 4.312 kB / 0.9054 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/1.085, allocations: 0.5255 MB / 0.906 GB, free: 120.9 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001953/1.085, allocations: 144.9 kB / 0.9061 GB, free: 120.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/1.086, allocations: 0.6889 MB / 0.9068 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.441e-05/1.086, allocations: 0 / 0.9068 GB, free: 120 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/1.086, allocations: 9.875 kB / 0.9068 GB, free: 120 MB / 0.5573 GB Notification: Performance of SimCode: time 1.192e-06/1.086, allocations: 0 / 0.9068 GB, free: 120 MB / 0.5573 GB Notification: Performance of Templates: time 0.01149/1.097, allocations: 5.305 MB / 0.912 GB, free: 119.6 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:786: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.InternalResistancesOneUTube_functions.o] Error 1