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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.435/1.435, allocations: 249.5 MB / 257 MB, free: 6.984 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.001053/0.001053, allocations: 184.8 kB / 316.3 MB, free: 3.223 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.635/1.635, allocations: 205.3 MB / 0.5671 GB, free: 15.86 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.0007937/0.0007938, allocations: 86.55 kB / 0.6714 GB, free: 4.984 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.107e-05/2.108e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1934/0.1934, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.713/0.9065, allocations: 144.2 MB / 1.026 GB, free: 9.598 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003355/0.9069, allocations: 115.3 kB / 1.026 GB, free: 9.523 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02359/0.9305, allocations: 8.31 MB / 1.034 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9305, allocations: 0 / 1.034 GB, free: 2.391 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.9305, allocations: 4 kB / 1.034 GB, free: 2.387 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006981/0.9312, allocations: 0.5613 MB / 1.035 GB, free: 1.797 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.9313, allocations: 12.03 kB / 1.035 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.678e-05/0.9313, allocations: 19.72 kB / 1.035 GB, free: 1.766 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.9316, allocations: 225.5 kB / 1.035 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.9316, allocations: 0 / 1.035 GB, free: 1.508 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.418e-05/0.9317, allocations: 4 kB / 1.035 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001142/0.9318, allocations: 75.03 kB / 1.035 GB, free: 1.445 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001513/0.9319, allocations: 106.5 kB / 1.035 GB, free: 1.352 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.932, allocations: 7.922 kB / 1.035 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.932, allocations: 0 / 1.035 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.184e-06/0.932, allocations: 4 kB / 1.035 GB, free: 1.34 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002785/0.9323, allocations: 239.1 kB / 1.036 GB, free: 1.098 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000129/0.9324, allocations: 119.4 kB / 1.036 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.833e-05/0.9325, allocations: 113 kB / 1.036 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.9325, allocations: 0 / 1.036 GB, free: 0.9336 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9326, allocations: 34.56 kB / 1.036 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=32): time 9.52e-07/0.9326, allocations: 0 / 1.036 GB, free: 0.8906 MB / 0.6511 GB Notification: Performance of matching and sorting (n=32): time 0.0003318/0.9329, allocations: 230.3 kB / 1.036 GB, free: 0.6914 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.657e-05/0.933, allocations: 55.34 kB / 1.036 GB, free: 0.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.9332, allocations: 217.7 kB / 1.036 GB, free: 440 kB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.9332, allocations: 25.7 kB / 1.036 GB, free: 408 kB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/0.9333, allocations: 132.4 kB / 1.036 GB, free: 304 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.153e-05/0.9334, allocations: 100.9 kB / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.9334, allocations: 0 / 1.037 GB, free: 212 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.9335, allocations: 344.7 kB / 1.037 GB, free: 15.88 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.986e-05/0.9336, allocations: 69.34 kB / 1.037 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.204e-05/0.9337, allocations: 73.47 kB / 1.037 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001176/0.9338, allocations: 105 kB / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.9338, allocations: 0 / 1.037 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002338/0.9341, allocations: 232.5 kB / 1.037 GB, free: 15.47 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.9341, allocations: 13 kB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.9341, allocations: 0 / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.9341, allocations: 0 / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.163e-06/0.9341, allocations: 0 / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.9341, allocations: 4 kB / 1.037 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.9342, allocations: 11.78 kB / 1.037 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.9342, allocations: 8 kB / 1.037 GB, free: 15.44 MB / 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 7.007e-05/0.9343, allocations: 108.9 kB / 1.037 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.9343, allocations: 27.56 kB / 1.037 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004725/0.9348, allocations: 0.5715 MB / 1.038 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.958e-05/0.9349, allocations: 184.2 kB / 1.038 GB, free: 14.51 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.664e-05/0.9349, allocations: 183.6 kB / 1.038 GB, free: 14.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.799e-05/0.935, allocations: 176.3 kB / 1.039 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003631/0.9354, allocations: 0.5178 MB / 1.039 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.203e-05/0.9354, allocations: 109.6 kB / 1.039 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.787e-05/0.9355, allocations: 105 kB / 1.039 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-05/0.9355, allocations: 180.2 kB / 1.039 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/0.9356, allocations: 187.8 kB / 1.04 GB, free: 13.01 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-05/0.9357, allocations: 180.3 kB / 1.04 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.221e-05/0.9358, allocations: 180.2 kB / 1.04 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.936, allocations: 323.5 kB / 1.04 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003805/0.9363, allocations: 365.3 kB / 1.041 GB, free: 11.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001514/0.9365, allocations: 184.2 kB / 1.041 GB, free: 11.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.9367, allocations: 105 kB / 1.041 GB, free: 11.64 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.14e-05/0.9367, allocations: 180.2 kB / 1.041 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.942e-05/0.9368, allocations: 108.9 kB / 1.041 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.001102/0.9379, allocations: 1.107 MB / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9379, allocations: 0 / 1.042 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0009733/0.9389, allocations: 298.3 kB / 1.043 GB, free: 10.37 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.0008328/0.9397, allocations: 448.7 kB / 1.043 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002174/0.9399, allocations: 187.2 kB / 1.043 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.94, allocations: 0 / 1.043 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.94, allocations: 0 / 1.043 GB, free: 9.789 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004232/0.9404, allocations: 0.5343 MB / 1.044 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004721/0.9409, allocations: 360.5 kB / 1.044 GB, free: 8.891 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.9412, allocations: 0.7614 MB / 1.045 GB, free: 8.105 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.9412, allocations: 4 kB / 1.045 GB, free: 8.102 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.412e-05/0.9413, allocations: 7.438 kB / 1.045 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of SimCode: time 4.01e-07/0.9413, allocations: 0 / 1.045 GB, free: 8.094 MB / 0.6667 GB Notification: Performance of Templates: time 0.008294/0.9496, allocations: 4.467 MB / 1.049 GB, free: 3.691 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_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 Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_maint.7.0.x_Buildings.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: *** [: Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1