Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.456/1.456, allocations: 249.5 MB / 257 MB, free: 6.934 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 184.8 kB / 316.3 MB, free: 3.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.533/1.533, allocations: 205.3 MB / 0.5671 GB, free: 15.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008252/0.000825, allocations: 94.41 kB / 0.6714 GB, free: 4.887 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.868e-05/2.854e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2147/0.2147, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7429/0.9576, allocations: 153.2 MB / 1.035 GB, free: 0.6484 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003492/0.958, allocations: 122.6 kB / 1.035 GB, free: 0.5703 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04674/1.005, allocations: 15.19 MB / 1.05 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.454e-06/1.005, allocations: 0 / 1.05 GB, free: 3.684 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.005, allocations: 0 / 1.05 GB, free: 3.684 MB / 0.6667 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.001072/1.006, allocations: 0.5459 MB / 1.05 GB, free: 3.102 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.054e-05/1.006, allocations: 8.031 kB / 1.05 GB, free: 3.094 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.694e-05/1.006, allocations: 87.45 kB / 1.05 GB, free: 3.008 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001776/1.006, allocations: 242.3 kB / 1.051 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/1.006, allocations: 154.6 kB / 1.051 GB, free: 2.578 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.306e-05/1.006, allocations: 155.5 kB / 1.051 GB, free: 2.426 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.916e-05/1.007, allocations: 154 kB / 1.051 GB, free: 2.277 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.386e-05/1.007, allocations: 108.9 kB / 1.051 GB, free: 2.164 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.416e-05/1.007, allocations: 75.28 kB / 1.051 GB, free: 2.09 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.435e-05/1.007, allocations: 154.6 kB / 1.051 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.64e-05/1.007, allocations: 150.6 kB / 1.052 GB, free: 1.789 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/1.007, allocations: 445.2 kB / 1.052 GB, free: 1.324 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/1.007, allocations: 165.1 kB / 1.052 GB, free: 1.152 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.067e-05/1.007, allocations: 88.14 kB / 1.052 GB, free: 1.062 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.681e-05/1.007, allocations: 78.28 kB / 1.052 GB, free: 0.9883 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.338e-05/1.007, allocations: 113.7 kB / 1.052 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/1.007, allocations: 0 / 1.052 GB, free: 0.8672 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 9.72e-05/1.008, allocations: 33.61 kB / 1.052 GB, free: 0.8281 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.147e-05/1.008, allocations: 51.41 kB / 1.052 GB, free: 0.7656 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/1.008, allocations: 120.6 kB / 1.053 GB, free: 0.6484 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.447e-05/1.008, allocations: 29.7 kB / 1.053 GB, free: 0.6133 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/1.008, allocations: 94.06 kB / 1.053 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/1.008, allocations: 0 / 1.053 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.986e-06/1.008, allocations: 0 / 1.053 GB, free: 0.5234 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.008, allocations: 314.2 kB / 1.053 GB, free: 216 kB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.042e-05/1.008, allocations: 4 kB / 1.053 GB, free: 212 kB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.574e-05/1.008, allocations: 11.25 kB / 1.053 GB, free: 204 kB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.302e-05/1.008, allocations: 11.94 kB / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/1.008, allocations: 0 / 1.053 GB, free: 192 kB / 0.6667 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/1.008, allocations: 56.95 kB / 1.053 GB, free: 132 kB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/1.008, allocations: 8 kB / 1.053 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2e-05/1.008, allocations: 0 / 1.053 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/1.008, allocations: 0 / 1.053 GB, free: 124 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.156e-06/1.008, allocations: 7.984 kB / 1.053 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-06/1.008, allocations: 0 / 1.053 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.202e-05/1.008, allocations: 0 / 1.053 GB, free: 116 kB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.598e-06/1.008, allocations: 3.984 kB / 1.053 GB, free: 112 kB / 0.6667 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 0.000129/1.009, allocations: 184.2 kB / 1.053 GB, free: 15.92 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.031e-05/1.009, allocations: 111.7 kB / 1.053 GB, free: 15.81 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.196e-05/1.009, allocations: 112.9 kB / 1.054 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.601e-05/1.009, allocations: 180.2 kB / 1.054 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.882e-05/1.009, allocations: 176.3 kB / 1.054 GB, free: 15.32 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-05/1.009, allocations: 186.9 kB / 1.054 GB, free: 15.14 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002569/1.009, allocations: 393 kB / 1.054 GB, free: 14.71 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-05/1.009, allocations: 104.5 kB / 1.055 GB, free: 14.61 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/1.009, allocations: 109 kB / 1.055 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.873e-05/1.01, allocations: 188.2 kB / 1.055 GB, free: 14.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.283e-05/1.01, allocations: 176.3 kB / 1.055 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.098e-05/1.01, allocations: 180.2 kB / 1.055 GB, free: 13.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.569e-05/1.01, allocations: 180.3 kB / 1.055 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001678/1.01, allocations: 315.2 kB / 1.056 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.849e-05/1.01, allocations: 178.1 kB / 1.056 GB, free: 13.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.353e-05/1.01, allocations: 180.2 kB / 1.056 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/1.01, allocations: 108.9 kB / 1.056 GB, free: 12.93 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.242e-05/1.01, allocations: 185.2 kB / 1.056 GB, free: 12.74 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.255e-05/1.01, allocations: 101 kB / 1.056 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.302e-05/1.01, allocations: 99.66 kB / 1.056 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.3e-07/1.01, allocations: 3.938 kB / 1.056 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001212/1.012, allocations: 331.9 kB / 1.057 GB, free: 12.23 MB / 0.6823 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.001211/1.013, allocations: 0.5727 MB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.889e-05/1.013, allocations: 37.41 kB / 1.057 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.013, allocations: 0 / 1.057 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 3.477e-06/1.013, allocations: 3.938 kB / 1.057 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.013, allocations: 0.5224 MB / 1.058 GB, free: 11.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002231/1.014, allocations: 154.7 kB / 1.058 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/1.014, allocations: 0.6846 MB / 1.059 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.287e-05/1.014, allocations: 0 / 1.059 GB, free: 10.22 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.17e-05/1.014, allocations: 11.44 kB / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.014, allocations: 0 / 1.059 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of Templates: time 0.009439/1.023, allocations: 5.446 MB / 1.064 GB, free: 4.824 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_maint_7_0_x_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative -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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.c:817: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: *** [: Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_functions.o] Error 1