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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.206/2.206, allocations: 390.5 MB / 398 MB, free: 10.99 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.001062/0.001062, allocations: 180.9 kB / 491.2 MB, free: 1.605 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.583/1.583, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0009033/0.0009033, allocations: 87.91 kB / 0.9269 GB, free: 13.8 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.199e-05/3.186e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/0.3278, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.334, allocations: 169.6 MB / 1.378 GB, free: 16.48 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003095/1.335, allocations: 115.6 kB / 1.378 GB, free: 16.45 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03962/1.374, allocations: 14.98 MB / 1.393 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.613e-06/1.374, allocations: 0 / 1.393 GB, free: 26.64 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.152e-06/1.374, allocations: 3.844 kB / 1.393 GB, free: 26.64 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0009327/1.375, allocations: 0.5481 MB / 1.393 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/1.375, allocations: 11.56 kB / 1.393 GB, free: 26.12 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.563e-05/1.376, allocations: 83.14 kB / 1.393 GB, free: 26.04 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/1.376, allocations: 254 kB / 1.394 GB, free: 25.75 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.738e-05/1.376, allocations: 150.6 kB / 1.394 GB, free: 25.61 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.552e-05/1.376, allocations: 154.4 kB / 1.394 GB, free: 25.46 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.357e-05/1.376, allocations: 150.6 kB / 1.394 GB, free: 25.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.96e-05/1.376, allocations: 112.5 kB / 1.394 GB, free: 25.2 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.844e-05/1.376, allocations: 75.28 kB / 1.394 GB, free: 25.12 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/1.376, allocations: 154.6 kB / 1.394 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-05/1.376, allocations: 154.5 kB / 1.394 GB, free: 24.82 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/1.376, allocations: 440.9 kB / 1.395 GB, free: 24.36 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.559e-05/1.376, allocations: 169 kB / 1.395 GB, free: 24.19 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/1.377, allocations: 84.14 kB / 1.395 GB, free: 24.11 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.147e-05/1.377, allocations: 75.28 kB / 1.395 GB, free: 24.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.127e-05/1.377, allocations: 113.1 kB / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.42e-07/1.377, allocations: 0 / 1.395 GB, free: 23.91 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 6.881e-05/1.377, allocations: 34.05 kB / 1.395 GB, free: 23.88 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.995e-05/1.377, allocations: 51.41 kB / 1.395 GB, free: 23.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001108/1.377, allocations: 117.1 kB / 1.396 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.215e-06/1.377, allocations: 29.7 kB / 1.396 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.843e-05/1.377, allocations: 91.27 kB / 1.396 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.377, allocations: 0 / 1.396 GB, free: 23.6 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.377, allocations: 3.938 kB / 1.396 GB, free: 23.59 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001255/1.377, allocations: 322 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.419e-05/1.377, allocations: 3.719 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.008e-05/1.377, allocations: 3.875 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.538e-05/1.377, allocations: 7.344 kB / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.377, allocations: 0 / 1.396 GB, free: 23.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001171/1.377, allocations: 60.78 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.377, allocations: 5.344 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/1.377, allocations: 3.5 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/1.377, allocations: 0 / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/1.377, allocations: 0 / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.377, allocations: 3.984 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.942e-05/1.377, allocations: 3.875 kB / 1.396 GB, free: 23.22 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/1.377, allocations: 48 / 1.396 GB, free: 23.22 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 8.961e-05/1.377, allocations: 180.2 kB / 1.396 GB, free: 23.04 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/1.378, allocations: 120.2 kB / 1.396 GB, free: 22.92 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/1.378, allocations: 112.9 kB / 1.396 GB, free: 22.8 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/1.378, allocations: 180.1 kB / 1.397 GB, free: 22.62 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-05/1.378, allocations: 176.3 kB / 1.397 GB, free: 22.45 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-05/1.378, allocations: 180.2 kB / 1.397 GB, free: 22.26 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/1.378, allocations: 400 kB / 1.397 GB, free: 21.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-05/1.378, allocations: 105 kB / 1.397 GB, free: 21.73 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/1.378, allocations: 104.9 kB / 1.398 GB, free: 21.62 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.33e-05/1.378, allocations: 180.3 kB / 1.398 GB, free: 21.44 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.929e-05/1.378, allocations: 180.1 kB / 1.398 GB, free: 21.26 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.751e-05/1.378, allocations: 180.2 kB / 1.398 GB, free: 21.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.557e-05/1.378, allocations: 187.9 kB / 1.398 GB, free: 20.89 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/1.379, allocations: 299.6 kB / 1.398 GB, free: 20.57 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.876e-05/1.379, allocations: 189.8 kB / 1.399 GB, free: 20.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.338e-05/1.379, allocations: 183.6 kB / 1.399 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/1.379, allocations: 108.9 kB / 1.399 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.557e-05/1.379, allocations: 181.1 kB / 1.399 GB, free: 19.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/1.379, allocations: 101 kB / 1.399 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.323e-05/1.379, allocations: 98.2 kB / 1.399 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.379, allocations: 0 / 1.399 GB, free: 19.71 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0009189/1.38, allocations: 315.7 kB / 1.4 GB, free: 19.6 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.0009578/1.381, allocations: 0.5468 MB / 1.4 GB, free: 19.28 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 8.374e-05/1.381, allocations: 40.39 kB / 1.4 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.381, allocations: 0 / 1.4 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.324e-06/1.381, allocations: 3.938 kB / 1.4 GB, free: 19.24 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/1.381, allocations: 0.5251 MB / 1.401 GB, free: 18.72 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002014/1.382, allocations: 147.1 kB / 1.401 GB, free: 18.57 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/1.382, allocations: 0.6919 MB / 1.402 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.3e-05/1.382, allocations: 0 / 1.402 GB, free: 17.86 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.548e-06/1.382, allocations: 7.438 kB / 1.402 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of SimCode: time 1.9e-07/1.382, allocations: 3.875 kB / 1.402 GB, free: 17.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.007637/1.39, allocations: 5.174 MB / 1.407 GB, free: 15.26 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:748: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.InternalResistancesOneUTube_functions.o] Error 1