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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 1.924/1.924, allocations: 390.4 MB / 397.7 MB, free: 11.25 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.001126/0.001126, allocations: 181.3 kB / 490.8 MB, free: 1.977 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.359/1.359, allocations: 221.3 MB / 0.7863 GB, free: 13.75 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.0009673/0.0009673, allocations: 91.78 kB / 0.9264 GB, free: 14.27 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.049e-05/1.051e-05, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2524, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7896/1.042, allocations: 169.5 MB / 1.377 GB, free: 16.28 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/1.043, allocations: 117.8 kB / 1.377 GB, free: 16.25 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.04647/1.089, allocations: 14.8 MB / 1.392 GB, free: 10.61 MB / 0.823 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.089, allocations: 1.625 kB / 1.392 GB, free: 10.61 MB / 0.823 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.001149/1.09, allocations: 0.541 MB / 1.392 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/1.09, allocations: 9.5 kB / 1.392 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/1.09, allocations: 88.52 kB / 1.392 GB, free: 26.01 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001506/1.09, allocations: 251.2 kB / 1.393 GB, free: 25.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.002e-05/1.091, allocations: 154.3 kB / 1.393 GB, free: 25.58 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.783e-05/1.091, allocations: 152 kB / 1.393 GB, free: 25.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.752e-05/1.091, allocations: 154.5 kB / 1.393 GB, free: 25.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.975e-05/1.091, allocations: 101.7 kB / 1.393 GB, free: 25.17 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/1.091, allocations: 75.28 kB / 1.393 GB, free: 25.1 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.411e-05/1.091, allocations: 155.8 kB / 1.393 GB, free: 24.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.096e-05/1.091, allocations: 150.6 kB / 1.393 GB, free: 24.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003431/1.091, allocations: 444.3 kB / 1.394 GB, free: 24.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.018e-05/1.091, allocations: 170.9 kB / 1.394 GB, free: 24.17 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.19e-05/1.091, allocations: 84.14 kB / 1.394 GB, free: 24.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/1.091, allocations: 75.28 kB / 1.394 GB, free: 24.01 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/1.091, allocations: 107.2 kB / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.363e-06/1.092, allocations: 0 / 1.394 GB, free: 23.89 MB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 8.139e-05/1.092, allocations: 44.61 kB / 1.394 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.081e-05/1.092, allocations: 51.41 kB / 1.394 GB, free: 23.79 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001335/1.092, allocations: 121.1 kB / 1.395 GB, free: 23.68 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 8.636e-06/1.092, allocations: 25.7 kB / 1.395 GB, free: 23.65 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.844e-05/1.092, allocations: 85.42 kB / 1.395 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/1.092, allocations: 0 / 1.395 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.826e-06/1.092, allocations: 1.438 kB / 1.395 GB, free: 23.57 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001857/1.092, allocations: 316.3 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.678e-05/1.092, allocations: 6 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/1.092, allocations: 2.719 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.291e-05/1.092, allocations: 6.125 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/1.092, allocations: 4.031 kB / 1.395 GB, free: 23.25 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001543/1.092, allocations: 54.97 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/1.092, allocations: 5.781 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/1.092, allocations: 1.75 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/1.092, allocations: 1.562 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/1.092, allocations: 0 / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/1.092, allocations: 0 / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.828e-05/1.092, allocations: 9.156 kB / 1.395 GB, free: 23.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/1.092, allocations: 1.781 kB / 1.395 GB, free: 23.2 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.0001032/1.093, allocations: 184.2 kB / 1.395 GB, free: 23.01 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/1.093, allocations: 112.4 kB / 1.395 GB, free: 22.89 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.363e-05/1.093, allocations: 113.1 kB / 1.395 GB, free: 22.78 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.745e-05/1.093, allocations: 182 kB / 1.396 GB, free: 22.6 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.407e-05/1.093, allocations: 176.3 kB / 1.396 GB, free: 22.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.364e-05/1.093, allocations: 177.8 kB / 1.396 GB, free: 22.24 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002043/1.093, allocations: 402.1 kB / 1.396 GB, free: 21.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.328e-05/1.093, allocations: 106.3 kB / 1.396 GB, free: 21.7 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.375e-05/1.093, allocations: 102.4 kB / 1.396 GB, free: 21.6 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-05/1.093, allocations: 180.2 kB / 1.397 GB, free: 21.41 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.885e-05/1.093, allocations: 181.2 kB / 1.397 GB, free: 21.23 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.75e-05/1.093, allocations: 185.2 kB / 1.397 GB, free: 21.04 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.678e-05/1.094, allocations: 181.3 kB / 1.397 GB, free: 20.86 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001443/1.094, allocations: 309.1 kB / 1.397 GB, free: 20.54 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 6.276e-05/1.094, allocations: 195.9 kB / 1.398 GB, free: 20.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.293e-05/1.094, allocations: 177.3 kB / 1.398 GB, free: 20.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.986e-05/1.094, allocations: 110 kB / 1.398 GB, free: 20.04 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.322e-05/1.094, allocations: 181 kB / 1.398 GB, free: 19.86 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/1.094, allocations: 101.9 kB / 1.398 GB, free: 19.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5.741e-05/1.094, allocations: 95.23 kB / 1.398 GB, free: 19.67 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00134/1.095, allocations: 323.8 kB / 1.399 GB, free: 19.57 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.001886/1.097, allocations: 0.5526 MB / 1.399 GB, free: 19.25 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.891e-05/1.097, allocations: 36.77 kB / 1.399 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/1.097, allocations: 0.8125 kB / 1.399 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.954e-06/1.097, allocations: 0 / 1.399 GB, free: 19.21 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004055/1.098, allocations: 0.5315 MB / 1.4 GB, free: 18.69 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002232/1.098, allocations: 143.6 kB / 1.4 GB, free: 18.54 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003703/1.098, allocations: 0.6942 MB / 1.401 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of SimCode: time 2.61e-07/1.098, allocations: 1.125 kB / 1.401 GB, free: 17.82 MB / 0.8386 GB Notification: Performance of Templates: time 0.0127/1.111, allocations: 5.402 MB / 1.406 GB, free: 15.11 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 -fPIC -O0 -falign-functions -march=native -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 -fPIC -O0 -falign-functions -march=native -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:819: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