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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.405/1.405, allocations: 249.5 MB / 257 MB, free: 7.031 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.001311/0.001311, allocations: 191.4 kB / 316.3 MB, free: 3.242 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.648/1.648, allocations: 205.3 MB / 0.5671 GB, free: 15.79 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.0008888/0.0008888, allocations: 94.81 kB / 0.6714 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.64e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2407/0.2407, allocations: 106.3 MB / 0.8853 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8409/1.082, allocations: 152.4 MB / 1.034 GB, free: 1.473 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003038/1.082, allocations: 120.1 kB / 1.034 GB, free: 1.395 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04482/1.127, allocations: 14.86 MB / 1.049 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.803e-06/1.127, allocations: 0 / 1.049 GB, free: 4.809 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.127, allocations: 0 / 1.049 GB, free: 4.809 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.001023/1.128, allocations: 0.5438 MB / 1.049 GB, free: 4.227 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/1.128, allocations: 8.031 kB / 1.049 GB, free: 4.219 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.654e-05/1.128, allocations: 87.45 kB / 1.049 GB, free: 4.133 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000153/1.128, allocations: 248.4 kB / 1.05 GB, free: 3.852 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/1.128, allocations: 150.6 kB / 1.05 GB, free: 3.703 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.406e-05/1.128, allocations: 150.6 kB / 1.05 GB, free: 3.555 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.501e-05/1.128, allocations: 158.2 kB / 1.05 GB, free: 3.402 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.202e-05/1.128, allocations: 101 kB / 1.05 GB, free: 3.297 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.306e-05/1.128, allocations: 79.22 kB / 1.05 GB, free: 3.219 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-05/1.129, allocations: 154.6 kB / 1.05 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.205e-05/1.129, allocations: 150.6 kB / 1.051 GB, free: 2.918 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002724/1.129, allocations: 453.3 kB / 1.051 GB, free: 2.445 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 7.554e-05/1.129, allocations: 165.1 kB / 1.051 GB, free: 2.273 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/1.129, allocations: 80.14 kB / 1.051 GB, free: 2.191 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.794e-05/1.129, allocations: 75.28 kB / 1.051 GB, free: 2.117 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.426e-05/1.129, allocations: 113.2 kB / 1.051 GB, free: 2 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/1.129, allocations: 0 / 1.051 GB, free: 2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=0): time 7.851e-05/1.129, allocations: 33.64 kB / 1.051 GB, free: 1.961 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/1.129, allocations: 51.41 kB / 1.051 GB, free: 1.898 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/1.129, allocations: 116.5 kB / 1.052 GB, free: 1.781 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.362e-05/1.129, allocations: 25.7 kB / 1.052 GB, free: 1.75 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.878e-05/1.129, allocations: 95.75 kB / 1.052 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/1.129, allocations: 0 / 1.052 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/1.129, allocations: 0 / 1.052 GB, free: 1.66 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001095/1.13, allocations: 319.6 kB / 1.052 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.332e-05/1.13, allocations: 7.375 kB / 1.052 GB, free: 1.336 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.862e-05/1.13, allocations: 4 kB / 1.052 GB, free: 1.332 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.303e-05/1.13, allocations: 11.94 kB / 1.052 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/1.13, allocations: 0 / 1.052 GB, free: 1.32 MB / 0.6667 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001284/1.13, allocations: 53.36 kB / 1.052 GB, free: 1.266 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/1.13, allocations: 9.703 kB / 1.052 GB, free: 1.258 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.094e-05/1.13, allocations: 4 kB / 1.052 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/1.13, allocations: 0 / 1.052 GB, free: 1.254 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.222e-06/1.13, allocations: 3.938 kB / 1.052 GB, free: 1.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.537e-06/1.13, allocations: 4.062 kB / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/1.13, allocations: 0 / 1.052 GB, free: 1.246 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/1.13, allocations: 0 / 1.052 GB, free: 1.246 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 9.306e-05/1.13, allocations: 184.2 kB / 1.052 GB, free: 1.059 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.784e-05/1.13, allocations: 104.9 kB / 1.052 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.896e-05/1.13, allocations: 117 kB / 1.052 GB, free: 0.8242 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-05/1.13, allocations: 187.3 kB / 1.053 GB, free: 0.6367 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-05/1.13, allocations: 176.3 kB / 1.053 GB, free: 468 kB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-05/1.13, allocations: 180.3 kB / 1.053 GB, free: 280 kB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/1.131, allocations: 393.6 kB / 1.053 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.643e-05/1.131, allocations: 105 kB / 1.053 GB, free: 15.74 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.375e-05/1.131, allocations: 105 kB / 1.054 GB, free: 15.63 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.631e-05/1.131, allocations: 196.1 kB / 1.054 GB, free: 15.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-05/1.131, allocations: 176.3 kB / 1.054 GB, free: 15.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-05/1.131, allocations: 176.3 kB / 1.054 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.821e-05/1.131, allocations: 184.2 kB / 1.054 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001338/1.131, allocations: 307.4 kB / 1.055 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/1.131, allocations: 185.9 kB / 1.055 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/1.131, allocations: 184.2 kB / 1.055 GB, free: 14.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/1.131, allocations: 105 kB / 1.055 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/1.132, allocations: 181.2 kB / 1.055 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/1.132, allocations: 101 kB / 1.055 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.012e-05/1.132, allocations: 103.1 kB / 1.055 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.132, allocations: 0 / 1.055 GB, free: 13.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001218/1.133, allocations: 321.4 kB / 1.056 GB, free: 13.38 MB / 0.6823 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.001166/1.134, allocations: 0.5654 MB / 1.056 GB, free: 12.82 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.944e-05/1.134, allocations: 37.53 kB / 1.056 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.134, allocations: 0 / 1.056 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.044e-06/1.134, allocations: 4.062 kB / 1.056 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/1.135, allocations: 0.5272 MB / 1.057 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002143/1.135, allocations: 150.7 kB / 1.057 GB, free: 12.08 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/1.135, allocations: 0.6885 MB / 1.058 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.966e-05/1.135, allocations: 4 kB / 1.058 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.3e-05/1.135, allocations: 7.438 kB / 1.058 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of SimCode: time 3.61e-07/1.135, allocations: 0 / 1.058 GB, free: 11.36 MB / 0.6823 GB Notification: Performance of Templates: time 0.009141/1.144, allocations: 5.302 MB / 1.063 GB, free: 6.113 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_InternalResistancesOneUTube -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.InternalResistancesOneUTube_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:786: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.InternalResistancesOneUTube_functions.o] Error 1