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.MultipoleThermalResistances_OneUTube.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.5 MB / 257 MB, free: 6.918 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.001106/0.001106, allocations: 180.8 kB / 316.3 MB, free: 3.258 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.588/1.588, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.0008969/0.0008969, allocations: 82.48 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.699e-05/1.702e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2203, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.727/0.9474, allocations: 144.2 MB / 1.026 GB, free: 9.629 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003328/0.9478, allocations: 123.9 kB / 1.026 GB, free: 9.547 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02267/0.9705, allocations: 7.847 MB / 1.034 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.794e-06/0.9705, allocations: 0 / 1.034 GB, free: 2.832 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.9705, allocations: 0 / 1.034 GB, free: 2.832 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005595/0.9711, allocations: 489.8 kB / 1.034 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.9711, allocations: 8.031 kB / 1.034 GB, free: 2.312 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.371e-05/0.9712, allocations: 9.719 kB / 1.034 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.9714, allocations: 191.3 kB / 1.035 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.482e-06/0.9714, allocations: 0 / 1.035 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.9714, allocations: 4 kB / 1.035 GB, free: 2.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.916e-05/0.9715, allocations: 23.17 kB / 1.035 GB, free: 2.051 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.557e-05/0.9716, allocations: 60.73 kB / 1.035 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.214e-06/0.9716, allocations: 0 / 1.035 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.9716, allocations: 0 / 1.035 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.11e-06/0.9716, allocations: 0 / 1.035 GB, free: 1.988 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.9718, allocations: 166.8 kB / 1.035 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 6.302e-05/0.9719, allocations: 49.56 kB / 1.035 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/0.9719, allocations: 33.88 kB / 1.035 GB, free: 1.715 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.9719, allocations: 4 kB / 1.035 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.972, allocations: 30.56 kB / 1.035 GB, free: 1.672 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/0.972, allocations: 4 kB / 1.035 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8): time 0.0002017/0.9722, allocations: 89.5 kB / 1.035 GB, free: 1.578 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.081e-05/0.9722, allocations: 54.66 kB / 1.035 GB, free: 1.516 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.9723, allocations: 135.6 kB / 1.035 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.196e-05/0.9724, allocations: 25.7 kB / 1.035 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.331e-05/0.9724, allocations: 98.27 kB / 1.035 GB, free: 1.262 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.9724, allocations: 27.58 kB / 1.035 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.9725, allocations: 0 / 1.035 GB, free: 1.234 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.9726, allocations: 324.7 kB / 1.036 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.231e-05/0.9726, allocations: 27.3 kB / 1.036 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.766e-05/0.9726, allocations: 19.98 kB / 1.036 GB, free: 0.8711 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.926e-05/0.9727, allocations: 39.06 kB / 1.036 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.9727, allocations: 0 / 1.036 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001324/0.9729, allocations: 96.08 kB / 1.036 GB, free: 0.7422 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.9729, allocations: 8 kB / 1.036 GB, free: 0.7344 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.495e-05/0.9729, allocations: 4.062 kB / 1.036 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.9729, allocations: 0 / 1.036 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.9729, allocations: 0 / 1.036 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.9729, allocations: 0 / 1.036 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.148e-05/0.973, allocations: 8 kB / 1.036 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.973, allocations: 0 / 1.036 GB, free: 0.7227 MB / 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 7.34e-05/0.9731, allocations: 104.9 kB / 1.036 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.376e-05/0.9731, allocations: 11.81 kB / 1.036 GB, free: 0.6016 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.9733, allocations: 211.6 kB / 1.036 GB, free: 380 kB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.395e-05/0.9734, allocations: 180.3 kB / 1.036 GB, free: 192 kB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-05/0.9735, allocations: 176.3 kB / 1.036 GB, free: 8 kB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.761e-05/0.9735, allocations: 184.1 kB / 1.037 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.9738, allocations: 418.3 kB / 1.037 GB, free: 15.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/0.9738, allocations: 101.7 kB / 1.037 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.81e-05/0.9739, allocations: 108.9 kB / 1.037 GB, free: 15.16 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.184e-05/0.9739, allocations: 184.2 kB / 1.037 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.787e-05/0.974, allocations: 186.9 kB / 1.038 GB, free: 14.78 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.016e-05/0.974, allocations: 184.2 kB / 1.038 GB, free: 14.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.734e-05/0.9741, allocations: 176.3 kB / 1.038 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.9743, allocations: 315 kB / 1.038 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.9744, allocations: 221.3 kB / 1.038 GB, free: 13.85 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.967e-05/0.9745, allocations: 180.2 kB / 1.039 GB, free: 13.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.876e-05/0.9746, allocations: 104.9 kB / 1.039 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.602e-05/0.9746, allocations: 180.3 kB / 1.039 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-05/0.9747, allocations: 112.5 kB / 1.039 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002003/0.9749, allocations: 249.8 kB / 1.039 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9749, allocations: 0 / 1.039 GB, free: 13.08 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006658/0.9755, allocations: 242.9 kB / 1.039 GB, free: 12.85 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.0007731/0.9763, allocations: 453.3 kB / 1.04 GB, free: 12.41 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.9764, allocations: 69 kB / 1.04 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.9765, allocations: 0 / 1.04 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.443e-06/0.9765, allocations: 4.062 kB / 1.04 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003721/0.9768, allocations: 0.5303 MB / 1.04 GB, free: 11.8 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002811/0.9771, allocations: 191.1 kB / 1.041 GB, free: 11.6 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002892/0.9774, allocations: 0.7041 MB / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 1.688e-05/0.9775, allocations: 4 kB / 1.041 GB, free: 10.87 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.553e-05/0.9775, allocations: 11.44 kB / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of SimCode: time 2.1e-07/0.9775, allocations: 0 / 1.041 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of Templates: time 0.007327/0.9848, allocations: 4.17 MB / 1.045 GB, free: 6.75 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_maint.7.0.x_Buildings.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: *** [: Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1