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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.335/2.335, allocations: 390.5 MB / 398 MB, free: 10.94 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.001406/0.001406, allocations: 184.8 kB / 491.2 MB, free: 1.547 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.536/1.536, allocations: 221.5 MB / 0.7868 GB, free: 13.33 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.0009405/0.0009404, allocations: 90.94 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.045e-05/2.049e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3184, allocations: 143 MB / 1.212 GB, free: 39.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.027/1.345, allocations: 170.3 MB / 1.379 GB, free: 16.21 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003317/1.345, allocations: 122.8 kB / 1.379 GB, free: 16.18 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04248/1.388, allocations: 15.3 MB / 1.394 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.884e-06/1.388, allocations: 0 / 1.394 GB, free: 26.25 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.575e-05/1.388, allocations: 0 / 1.394 GB, free: 26.25 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.001395/1.389, allocations: 0.56 MB / 1.394 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 8.559e-05/1.39, allocations: 11.47 kB / 1.394 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.449e-05/1.39, allocations: 79.23 kB / 1.394 GB, free: 25.65 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001887/1.39, allocations: 255.5 kB / 1.395 GB, free: 25.36 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.288e-05/1.39, allocations: 154.4 kB / 1.395 GB, free: 25.21 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.665e-05/1.39, allocations: 150.6 kB / 1.395 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.238e-05/1.39, allocations: 154.6 kB / 1.395 GB, free: 24.91 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.037e-05/1.39, allocations: 101 kB / 1.395 GB, free: 24.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.591e-05/1.39, allocations: 75.28 kB / 1.395 GB, free: 24.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.478e-05/1.39, allocations: 154.4 kB / 1.395 GB, free: 24.59 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.32e-05/1.39, allocations: 154.5 kB / 1.396 GB, free: 24.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003204/1.391, allocations: 445.4 kB / 1.396 GB, free: 23.98 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/1.391, allocations: 172.9 kB / 1.396 GB, free: 23.8 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.334e-05/1.391, allocations: 84.12 kB / 1.396 GB, free: 23.71 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/1.391, allocations: 75.28 kB / 1.396 GB, free: 23.64 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.282e-05/1.391, allocations: 109.8 kB / 1.396 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 9.21e-07/1.391, allocations: 0 / 1.396 GB, free: 23.52 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 9.508e-05/1.391, allocations: 33.45 kB / 1.396 GB, free: 23.49 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/1.391, allocations: 55.34 kB / 1.396 GB, free: 23.42 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/1.391, allocations: 117.6 kB / 1.397 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.262e-05/1.391, allocations: 29.55 kB / 1.397 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.808e-05/1.391, allocations: 90.81 kB / 1.397 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/1.391, allocations: 0 / 1.397 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-06/1.391, allocations: 0 / 1.397 GB, free: 23.21 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001711/1.392, allocations: 323.5 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.309e-05/1.392, allocations: 7.281 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.413e-05/1.392, allocations: 3.844 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/1.392, allocations: 6.906 kB / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.392, allocations: 0 / 1.397 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001493/1.392, allocations: 56.66 kB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/1.392, allocations: 3.875 kB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.152e-05/1.392, allocations: 3.844 kB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/1.392, allocations: 64 / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-06/1.392, allocations: 7.938 kB / 1.397 GB, free: 22.84 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/1.392, allocations: 4.062 kB / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/1.392, allocations: 3.844 kB / 1.397 GB, free: 22.83 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.894e-06/1.392, allocations: 0 / 1.397 GB, free: 22.83 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 0.0001316/1.392, allocations: 189.2 kB / 1.397 GB, free: 22.64 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-05/1.392, allocations: 108.8 kB / 1.397 GB, free: 22.53 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.546e-05/1.392, allocations: 112.4 kB / 1.397 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001013/1.392, allocations: 176.3 kB / 1.398 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.823e-05/1.393, allocations: 184.2 kB / 1.398 GB, free: 22.05 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.467e-05/1.393, allocations: 180.2 kB / 1.398 GB, free: 21.87 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002634/1.393, allocations: 395.1 kB / 1.398 GB, free: 21.45 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/1.393, allocations: 104.9 kB / 1.398 GB, free: 21.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/1.393, allocations: 101 kB / 1.399 GB, free: 21.24 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.004e-05/1.393, allocations: 188.2 kB / 1.399 GB, free: 21.05 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.393, allocations: 184.2 kB / 1.399 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.007e-05/1.393, allocations: 176.3 kB / 1.399 GB, free: 20.68 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.621e-05/1.393, allocations: 183.1 kB / 1.399 GB, free: 20.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001828/1.394, allocations: 307.5 kB / 1.4 GB, free: 20.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/1.394, allocations: 193.9 kB / 1.4 GB, free: 19.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/1.394, allocations: 180.2 kB / 1.4 GB, free: 19.79 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.141e-05/1.394, allocations: 104.8 kB / 1.4 GB, free: 19.68 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/1.394, allocations: 181.2 kB / 1.4 GB, free: 19.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/1.394, allocations: 105 kB / 1.4 GB, free: 19.39 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 6.439e-05/1.394, allocations: 98.25 kB / 1.4 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.31e-07/1.394, allocations: 0 / 1.4 GB, free: 19.31 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001351/1.396, allocations: 325.9 kB / 1.401 GB, free: 19.2 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.001061/1.397, allocations: 0.5417 MB / 1.401 GB, free: 18.89 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.777e-05/1.397, allocations: 44.12 kB / 1.401 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.397, allocations: 0 / 1.401 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.633e-06/1.397, allocations: 0 / 1.401 GB, free: 18.86 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004134/1.397, allocations: 0.5253 MB / 1.402 GB, free: 18.33 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002163/1.397, allocations: 150.8 kB / 1.402 GB, free: 18.18 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/1.398, allocations: 0.6881 MB / 1.403 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.498e-05/1.398, allocations: 3.938 kB / 1.403 GB, free: 17.47 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/1.398, allocations: 15.09 kB / 1.403 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/1.398, allocations: 0 / 1.403 GB, free: 17.46 MB / 0.8386 GB Notification: Performance of Templates: time 0.008071/1.406, allocations: 5.322 MB / 1.408 GB, free: 14.33 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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_InternalResistancesTwoUTube -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.InternalResistancesTwoUTube_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_functions.c:779: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.InternalResistancesTwoUTube_functions.o] Error 1