Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.262/2.262, allocations: 387.4 MB / 394.9 MB, free: 13.34 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.00127/0.00127, allocations: 175.9 kB / 487.4 MB, free: 4.988 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.561/1.561, allocations: 221.5 MB / 0.7824 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 102.2 kB / 0.9219 GB, free: 2.188 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.207e-05/2.211e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3102, allocations: 142.4 MB / 1.206 GB, free: 43.87 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.026/1.337, allocations: 160.9 MB / 1.363 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/1.337, allocations: 119.8 kB / 1.363 GB, free: 18.35 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02119/1.358, allocations: 7.931 MB / 1.371 GB, free: 33.15 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.292e-06/1.358, allocations: 7.938 kB / 1.371 GB, free: 33.14 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.358, allocations: 4 kB / 1.371 GB, free: 33.14 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.0005739/1.359, allocations: 483.2 kB / 1.371 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/1.359, allocations: 7.719 kB / 1.371 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/1.359, allocations: 11 kB / 1.372 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/1.359, allocations: 190.8 kB / 1.372 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/1.359, allocations: 3.875 kB / 1.372 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.828e-06/1.359, allocations: 0 / 1.372 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.113e-05/1.359, allocations: 23.42 kB / 1.372 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.423e-05/1.359, allocations: 57.02 kB / 1.372 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.134e-06/1.359, allocations: 0 / 1.372 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/1.359, allocations: 0 / 1.372 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.359, allocations: 0 / 1.372 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000138/1.359, allocations: 167.7 kB / 1.372 GB, free: 32.24 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 4.756e-05/1.359, allocations: 41.75 kB / 1.372 GB, free: 32.21 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.073e-05/1.359, allocations: 42.73 kB / 1.372 GB, free: 32.2 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/1.359, allocations: 3.984 kB / 1.372 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/1.359, allocations: 38.44 kB / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 8.92e-07/1.359, allocations: 0 / 1.372 GB, free: 32.15 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001718/1.36, allocations: 89.98 kB / 1.372 GB, free: 32.1 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.647e-05/1.36, allocations: 51.41 kB / 1.372 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001033/1.36, allocations: 138 kB / 1.372 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.976e-06/1.36, allocations: 25.7 kB / 1.372 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.04e-05/1.36, allocations: 93.42 kB / 1.372 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.067e-05/1.36, allocations: 26.61 kB / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.046e-06/1.36, allocations: 4.031 kB / 1.372 GB, free: 31.8 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001113/1.36, allocations: 325.6 kB / 1.373 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.617e-05/1.36, allocations: 27.3 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.272e-05/1.36, allocations: 22.17 kB / 1.373 GB, free: 31.47 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.962e-05/1.36, allocations: 34.91 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/1.36, allocations: 3.938 kB / 1.373 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/1.36, allocations: 94.72 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.36, allocations: 7.688 kB / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/1.36, allocations: 0 / 1.373 GB, free: 31.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/1.36, allocations: 4.062 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.21e-07/1.36, allocations: 0 / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/1.36, allocations: 3.812 kB / 1.373 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.867e-05/1.36, allocations: 7.844 kB / 1.373 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.36, allocations: 1.812 kB / 1.373 GB, free: 31.39 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 6.29e-05/1.36, allocations: 114 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.413e-05/1.36, allocations: 7.781 kB / 1.373 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001483/1.361, allocations: 200.2 kB / 1.373 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-05/1.361, allocations: 181 kB / 1.373 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.058e-05/1.361, allocations: 176.3 kB / 1.374 GB, free: 30.73 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.548e-05/1.361, allocations: 188 kB / 1.374 GB, free: 30.54 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/1.361, allocations: 414.6 kB / 1.374 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-05/1.361, allocations: 104.8 kB / 1.374 GB, free: 30 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.087e-05/1.361, allocations: 112.9 kB / 1.374 GB, free: 29.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.437e-05/1.361, allocations: 184.2 kB / 1.375 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.296e-05/1.361, allocations: 176.3 kB / 1.375 GB, free: 29.52 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.68e-05/1.361, allocations: 184 kB / 1.375 GB, free: 29.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.607e-05/1.361, allocations: 176.3 kB / 1.375 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001144/1.361, allocations: 322.8 kB / 1.375 GB, free: 28.83 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.78e-05/1.361, allocations: 212.7 kB / 1.376 GB, free: 28.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.404e-05/1.362, allocations: 183.4 kB / 1.376 GB, free: 28.43 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.812e-05/1.362, allocations: 104.9 kB / 1.376 GB, free: 28.32 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.705e-05/1.362, allocations: 184.2 kB / 1.376 GB, free: 28.14 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/1.362, allocations: 109 kB / 1.376 GB, free: 28.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001816/1.362, allocations: 258 kB / 1.376 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.4e-07/1.362, allocations: 0 / 1.376 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007416/1.363, allocations: 239.2 kB / 1.377 GB, free: 27.86 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.0006931/1.363, allocations: 444.2 kB / 1.377 GB, free: 27.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001058/1.364, allocations: 70.52 kB / 1.377 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/1.364, allocations: 0 / 1.377 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/1.364, allocations: 0 / 1.377 GB, free: 27.56 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/1.364, allocations: 0.5328 MB / 1.378 GB, free: 27.03 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002276/1.364, allocations: 193.8 kB / 1.378 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002543/1.364, allocations: 0.703 MB / 1.379 GB, free: 26.16 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.026e-05/1.364, allocations: 4 kB / 1.379 GB, free: 26.15 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.207e-05/1.364, allocations: 11.28 kB / 1.379 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.364, allocations: 0 / 1.379 GB, free: 26.14 MB / 0.8386 GB Notification: Performance of Templates: time 0.006611/1.371, allocations: 4.164 MB / 1.383 GB, free: 24.07 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_9_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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1