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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") [: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 8.1.4-maint.8.1.x/package.mo): time 1.514/1.514, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001216/0.001216, allocations: 177.3 kB / 366.3 MB, free: 1.93 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.329/1.329, allocations: 205.1 MB / 0.6256 GB, free: 5.789 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.0009777/0.0009776, allocations: 92.16 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.127e-05/1.13e-05, allocations: 4 kB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6812/0.6813, allocations: 116.3 MB / 0.9726 GB, free: 68.46 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.8815, allocations: 150.4 MB / 1.12 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/0.8819, allocations: 119.8 kB / 1.12 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02479/0.9067, allocations: 8.117 MB / 1.128 GB, free: 5.863 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.9067, allocations: 8 kB / 1.128 GB, free: 5.855 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006885/0.9074, allocations: 0.553 MB / 1.128 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.9074, allocations: 8.031 kB / 1.128 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.665e-05/0.9075, allocations: 23.62 kB / 1.128 GB, free: 5.227 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003199/0.9078, allocations: 218.2 kB / 1.128 GB, free: 4.973 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.9078, allocations: 3.906 kB / 1.128 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.9079, allocations: 0 / 1.128 GB, free: 4.969 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001215/0.908, allocations: 79.95 kB / 1.128 GB, free: 4.891 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.9081, allocations: 113.6 kB / 1.129 GB, free: 4.773 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.9081, allocations: 4 kB / 1.129 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.9082, allocations: 0.75 kB / 1.129 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.9082, allocations: 0 / 1.129 GB, free: 4.77 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002581/0.9084, allocations: 246.3 kB / 1.129 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.9086, allocations: 126.5 kB / 1.129 GB, free: 4.359 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.9087, allocations: 112.8 kB / 1.129 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.9087, allocations: 0 / 1.129 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.9087, allocations: 38.56 kB / 1.129 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=32): time 9.32e-07/0.9088, allocations: 0 / 1.129 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32): time 0.0004267/0.9092, allocations: 315.1 kB / 1.129 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.049e-05/0.9092, allocations: 59.39 kB / 1.129 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.9094, allocations: 216.3 kB / 1.13 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.9095, allocations: 25.7 kB / 1.13 GB, free: 3.57 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.741e-05/0.9095, allocations: 100.8 kB / 1.13 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.9096, allocations: 102.4 kB / 1.13 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.9096, allocations: 0 / 1.13 GB, free: 3.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.9098, allocations: 346.8 kB / 1.13 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.551e-05/0.9098, allocations: 84.55 kB / 1.13 GB, free: 2.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.447e-05/0.9099, allocations: 79.95 kB / 1.13 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001345/0.9101, allocations: 111.9 kB / 1.13 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9101, allocations: 0 / 1.13 GB, free: 2.746 MB / 0.7292 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002968/0.9104, allocations: 313.3 kB / 1.131 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.9104, allocations: 10.72 kB / 1.131 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.188e-05/0.9104, allocations: 7.984 kB / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.9105, allocations: 1.312 kB / 1.131 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.9105, allocations: 4.062 kB / 1.131 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.9105, allocations: 0 / 1.131 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.9105, allocations: 15.78 kB / 1.131 GB, free: 2.398 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.949e-05/0.9106, allocations: 0 / 1.131 GB, free: 2.398 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 7.976e-05/0.9106, allocations: 105 kB / 1.131 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.497e-05/0.9107, allocations: 23.62 kB / 1.131 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004862/0.9112, allocations: 0.5729 MB / 1.131 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/0.9112, allocations: 176.3 kB / 1.132 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.219e-05/0.9113, allocations: 180.2 kB / 1.132 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/0.9114, allocations: 192.1 kB / 1.132 GB, free: 1.027 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003758/0.9118, allocations: 0.513 MB / 1.132 GB, free: 480 kB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.499e-05/0.9119, allocations: 101 kB / 1.133 GB, free: 372 kB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.77e-05/0.9119, allocations: 109.6 kB / 1.133 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-05/0.912, allocations: 181.4 kB / 1.133 GB, free: 68 kB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.621e-05/0.9121, allocations: 184.3 kB / 1.133 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.247e-05/0.9121, allocations: 180.2 kB / 1.133 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.117e-05/0.9122, allocations: 184.3 kB / 1.133 GB, free: 15.51 MB / 0.7448 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002021/0.9124, allocations: 335.4 kB / 1.134 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004205/0.9128, allocations: 362.8 kB / 1.134 GB, free: 14.78 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000166/0.913, allocations: 176.3 kB / 1.134 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.9132, allocations: 108.9 kB / 1.134 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.194e-05/0.9132, allocations: 176.3 kB / 1.134 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.9133, allocations: 105 kB / 1.135 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001221/0.9145, allocations: 1.145 MB / 1.136 GB, free: 13.05 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001044/0.9156, allocations: 303.6 kB / 1.136 GB, free: 12.75 MB / 0.7448 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.0008488/0.9164, allocations: 443.7 kB / 1.136 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.9167, allocations: 185.9 kB / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.9167, allocations: 0 / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.809e-06/0.9167, allocations: 3.938 kB / 1.137 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.9171, allocations: 0.5431 MB / 1.137 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004727/0.9176, allocations: 356.8 kB / 1.137 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003429/0.918, allocations: 0.7699 MB / 1.138 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of SimCode: time 3.6e-07/0.918, allocations: 4 kB / 1.138 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of Templates: time 0.008547/0.9265, allocations: 4.552 MB / 1.143 GB, free: 5.922 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_TwoUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube -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_TwoUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c:358: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_TwoUTube_functions.o] Error 1