Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.597/1.597, allocations: 289.9 MB / 297.4 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001128/0.001128, allocations: 176.8 kB / 366.7 MB, free: 1.637 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008709/0.0008709, allocations: 98.92 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.337e-05/2.339e-05, allocations: 4 kB / 0.8597 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6621/0.6621, allocations: 116.3 MB / 0.9733 GB, free: 76.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.8639, allocations: 150.5 MB / 1.12 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002901/0.8642, allocations: 120.5 kB / 1.12 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02236/0.8866, allocations: 7.845 MB / 1.128 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8866, allocations: 1.969 kB / 1.128 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.8866, allocations: 0 / 1.128 GB, free: 7.75 MB / 0.7292 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.0005224/0.8871, allocations: 481.9 kB / 1.129 GB, free: 7.234 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8872, allocations: 8.031 kB / 1.129 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.8872, allocations: 7.906 kB / 1.129 GB, free: 7.219 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.8874, allocations: 191.3 kB / 1.129 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-06/0.8875, allocations: 0 / 1.129 GB, free: 6.988 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.8875, allocations: 4 kB / 1.129 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.868e-05/0.8876, allocations: 23.98 kB / 1.129 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.859e-05/0.8876, allocations: 57.69 kB / 1.129 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.8877, allocations: 0 / 1.129 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.8877, allocations: 0 / 1.129 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.8877, allocations: 0 / 1.129 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/0.8879, allocations: 170.1 kB / 1.129 GB, free: 6.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.6e-05/0.888, allocations: 42.56 kB / 1.129 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.282e-05/0.888, allocations: 36.88 kB / 1.129 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.888, allocations: 0 / 1.129 GB, free: 6.605 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.8881, allocations: 38.56 kB / 1.129 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.8881, allocations: 0 / 1.129 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001951/0.8883, allocations: 91.75 kB / 1.129 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.8883, allocations: 51.41 kB / 1.129 GB, free: 6.402 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001215/0.8884, allocations: 137.5 kB / 1.129 GB, free: 6.258 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.8885, allocations: 29.64 kB / 1.129 GB, free: 6.223 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.8885, allocations: 104.1 kB / 1.129 GB, free: 6.117 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.8885, allocations: 19.69 kB / 1.129 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.637e-06/0.8886, allocations: 0 / 1.129 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.343e-05/0.8887, allocations: 322.8 kB / 1.13 GB, free: 5.773 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.8887, allocations: 27.98 kB / 1.13 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.775e-05/0.8887, allocations: 23.98 kB / 1.13 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.211e-05/0.8888, allocations: 31.97 kB / 1.13 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.8888, allocations: 0 / 1.13 GB, free: 5.691 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001189/0.8889, allocations: 93.67 kB / 1.13 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.889, allocations: 9.094 kB / 1.13 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.889, allocations: 0 / 1.13 GB, free: 5.586 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.889, allocations: 4.062 kB / 1.13 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.889, allocations: 0 / 1.13 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-06/0.889, allocations: 3.984 kB / 1.13 GB, free: 5.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.932e-05/0.8891, allocations: 7.906 kB / 1.13 GB, free: 5.57 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.766e-05/0.8891, allocations: 0 / 1.13 GB, free: 5.57 MB / 0.7292 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.269e-05/0.8892, allocations: 108.9 kB / 1.13 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.395e-05/0.8892, allocations: 11.86 kB / 1.13 GB, free: 5.445 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001768/0.8894, allocations: 200.2 kB / 1.13 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/0.8894, allocations: 188.2 kB / 1.13 GB, free: 5.027 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.871e-05/0.8895, allocations: 180.2 kB / 1.131 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.489e-05/0.8896, allocations: 176.3 kB / 1.131 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002206/0.8898, allocations: 425.6 kB / 1.131 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/0.8898, allocations: 105.6 kB / 1.131 GB, free: 4.098 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.64e-05/0.8899, allocations: 109 kB / 1.131 GB, free: 3.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.601e-05/0.8899, allocations: 180.3 kB / 1.132 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.243e-05/0.89, allocations: 188.2 kB / 1.132 GB, free: 3.609 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.272e-05/0.89, allocations: 176.3 kB / 1.132 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.445e-05/0.8901, allocations: 176.3 kB / 1.132 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.8902, allocations: 319.7 kB / 1.132 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.8904, allocations: 213.9 kB / 1.133 GB, free: 2.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.8905, allocations: 184.2 kB / 1.133 GB, free: 2.492 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.077e-05/0.8906, allocations: 104.9 kB / 1.133 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.764e-05/0.8906, allocations: 180.3 kB / 1.133 GB, free: 2.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.313e-05/0.8907, allocations: 108.9 kB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002207/0.8909, allocations: 255.2 kB / 1.133 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8909, allocations: 0 / 1.133 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006288/0.8915, allocations: 243.6 kB / 1.134 GB, free: 1.598 MB / 0.7292 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.0007162/0.8923, allocations: 445.1 kB / 1.134 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001079/0.8924, allocations: 69.62 kB / 1.134 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.8924, allocations: 1.312 kB / 1.134 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.885e-06/0.8924, allocations: 4.062 kB / 1.134 GB, free: 1.082 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/0.8927, allocations: 0.5259 MB / 1.135 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.893, allocations: 198.3 kB / 1.135 GB, free: 352 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002612/0.8933, allocations: 0.7041 MB / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.731e-05/0.8933, allocations: 7.984 kB / 1.136 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.225e-05/0.8933, allocations: 11.44 kB / 1.136 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.8933, allocations: 0 / 1.136 GB, free: 15.59 MB / 0.7448 GB Notification: Performance of Templates: time 0.006996/0.9003, allocations: 4.157 MB / 1.14 GB, free: 11.5 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o Buildings_8_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_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1