Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.209/2.209, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 176.9 kB / 491.2 MB, free: 1.598 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.547/1.547, allocations: 221.5 MB / 0.7868 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009443/0.0009443, allocations: 94.75 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.092e-05/3.095e-05, allocations: 7.984 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2815, allocations: 143 MB / 1.212 GB, free: 39.5 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9619/1.243, allocations: 161.7 MB / 1.37 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/1.244, allocations: 116.9 kB / 1.37 GB, free: 17.53 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02098/1.265, allocations: 7.952 MB / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/1.265, allocations: 0 / 1.378 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.089e-05/1.265, allocations: 3.906 kB / 1.378 GB, free: 31.46 MB / 0.8386 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.00053/1.265, allocations: 479.3 kB / 1.379 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.098e-05/1.265, allocations: 7.688 kB / 1.379 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.545e-05/1.265, allocations: 11.7 kB / 1.379 GB, free: 31 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.266, allocations: 184.1 kB / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/1.266, allocations: 0 / 1.379 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/1.266, allocations: 3.984 kB / 1.379 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.056e-05/1.266, allocations: 23.08 kB / 1.379 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.131e-05/1.266, allocations: 60.19 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/1.266, allocations: 0 / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.165e-06/1.266, allocations: 0 / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/1.266, allocations: 3.844 kB / 1.379 GB, free: 30.74 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001363/1.266, allocations: 160.4 kB / 1.379 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.055e-05/1.266, allocations: 49.88 kB / 1.379 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.196e-05/1.266, allocations: 31.56 kB / 1.379 GB, free: 30.53 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.488e-05/1.266, allocations: 7.859 kB / 1.379 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/1.266, allocations: 34.5 kB / 1.379 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/1.266, allocations: 0 / 1.379 GB, free: 30.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001743/1.266, allocations: 95.27 kB / 1.379 GB, free: 30.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/1.266, allocations: 55.25 kB / 1.379 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.707e-05/1.266, allocations: 134.3 kB / 1.379 GB, free: 30.26 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 7.924e-06/1.266, allocations: 29.48 kB / 1.379 GB, free: 30.23 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.775e-05/1.266, allocations: 101.1 kB / 1.38 GB, free: 30.14 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.266, allocations: 19.53 kB / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/1.266, allocations: 0 / 1.38 GB, free: 30.12 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/1.267, allocations: 329.7 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/1.267, allocations: 19.33 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.402e-05/1.267, allocations: 27.89 kB / 1.38 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.675e-05/1.267, allocations: 31.02 kB / 1.38 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/1.267, allocations: 4.969 kB / 1.38 GB, free: 29.79 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000105/1.267, allocations: 95.41 kB / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/1.267, allocations: 3.875 kB / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.267, allocations: 0 / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.267, allocations: 3.875 kB / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/1.267, allocations: 0 / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/1.267, allocations: 0 / 1.38 GB, free: 29.74 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.943e-05/1.267, allocations: 11.78 kB / 1.38 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/1.267, allocations: 3.875 kB / 1.38 GB, free: 29.73 MB / 0.8386 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.736e-05/1.267, allocations: 113 kB / 1.38 GB, free: 29.61 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/1.267, allocations: 11.72 kB / 1.38 GB, free: 29.6 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/1.267, allocations: 192.9 kB / 1.38 GB, free: 29.41 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.878e-05/1.267, allocations: 177 kB / 1.381 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.702e-05/1.267, allocations: 191.9 kB / 1.381 GB, free: 29.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.193e-05/1.267, allocations: 176.3 kB / 1.381 GB, free: 28.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/1.268, allocations: 420.3 kB / 1.381 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.949e-05/1.268, allocations: 108.9 kB / 1.381 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.413e-05/1.268, allocations: 105 kB / 1.382 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.673e-05/1.268, allocations: 180.2 kB / 1.382 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.073e-05/1.268, allocations: 184 kB / 1.382 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.834e-05/1.268, allocations: 179.6 kB / 1.382 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.626e-05/1.268, allocations: 184.2 kB / 1.382 GB, free: 27.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.547e-05/1.268, allocations: 315.3 kB / 1.383 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.709e-05/1.268, allocations: 225 kB / 1.383 GB, free: 26.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.498e-05/1.268, allocations: 180.2 kB / 1.383 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/1.268, allocations: 109 kB / 1.383 GB, free: 26.63 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.493e-05/1.268, allocations: 180.2 kB / 1.383 GB, free: 26.45 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.303e-05/1.268, allocations: 104.9 kB / 1.383 GB, free: 26.34 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001889/1.268, allocations: 253.5 kB / 1.384 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.41e-07/1.268, allocations: 0 / 1.384 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0006072/1.269, allocations: 240.5 kB / 1.384 GB, free: 26.18 MB / 0.8386 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.0006626/1.27, allocations: 443 kB / 1.384 GB, free: 25.92 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.422e-05/1.27, allocations: 71.52 kB / 1.384 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.27, allocations: 3.938 kB / 1.384 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.372e-06/1.27, allocations: 0 / 1.384 GB, free: 25.88 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/1.27, allocations: 0.5229 MB / 1.385 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002191/1.27, allocations: 196.2 kB / 1.385 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.271, allocations: 0.7112 MB / 1.386 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.786e-05/1.271, allocations: 3.859 kB / 1.386 GB, free: 24.48 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.768e-06/1.271, allocations: 7.438 kB / 1.386 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of SimCode: time 2.41e-07/1.271, allocations: 0 / 1.386 GB, free: 24.47 MB / 0.8386 GB Notification: Performance of Templates: time 0.006155/1.277, allocations: 4.182 MB / 1.39 GB, free: 22.38 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1