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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") [: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.557/1.557, allocations: 289.8 MB / 297.1 MB, free: 6.664 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.001078/0.001078, allocations: 177.3 kB / 366.3 MB, free: 1.988 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.312/1.312, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.00103/0.00103, allocations: 85.86 kB / 0.7395 GB, free: 39.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.418e-06/9.438e-06, allocations: 0 / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7059, allocations: 116.3 MB / 0.9726 GB, free: 68.41 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.9076, allocations: 150.4 MB / 1.12 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/0.908, allocations: 112.4 kB / 1.12 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of FrontEnd: time 0.02416/0.9322, allocations: 7.657 MB / 1.127 GB, free: 6.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.9322, allocations: 0 / 1.127 GB, free: 6.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005384/0.9328, allocations: 481.9 kB / 1.128 GB, free: 5.746 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.9328, allocations: 12.03 kB / 1.128 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.804e-05/0.9329, allocations: 13.03 kB / 1.128 GB, free: 5.723 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000211/0.9331, allocations: 192 kB / 1.128 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.054e-06/0.9331, allocations: 0 / 1.128 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.197e-05/0.9331, allocations: 0 / 1.128 GB, free: 5.492 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.605e-05/0.9332, allocations: 23.98 kB / 1.128 GB, free: 5.469 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.88e-05/0.9333, allocations: 57.67 kB / 1.128 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.9333, allocations: 0 / 1.128 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.9333, allocations: 3.938 kB / 1.128 GB, free: 5.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.9333, allocations: 4 kB / 1.128 GB, free: 5.398 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000175/0.9335, allocations: 166.1 kB / 1.128 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 6.931e-05/0.9336, allocations: 46.56 kB / 1.128 GB, free: 5.145 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.831e-05/0.9336, allocations: 32.88 kB / 1.128 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.9336, allocations: 1.594 kB / 1.128 GB, free: 5.109 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.9337, allocations: 30.56 kB / 1.128 GB, free: 5.07 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.9337, allocations: 8 kB / 1.128 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0002547/0.9339, allocations: 101.6 kB / 1.128 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.934, allocations: 51.41 kB / 1.128 GB, free: 4.895 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.9341, allocations: 140.6 kB / 1.128 GB, free: 4.746 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.9341, allocations: 25.7 kB / 1.128 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.038e-05/0.9342, allocations: 88.14 kB / 1.129 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.39e-05/0.9342, allocations: 27.64 kB / 1.129 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.9342, allocations: 0 / 1.129 GB, free: 4.598 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.9343, allocations: 322.8 kB / 1.129 GB, free: 4.273 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.355e-05/0.9344, allocations: 28.02 kB / 1.129 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.171e-05/0.9344, allocations: 23.98 kB / 1.129 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.872e-05/0.9345, allocations: 34.17 kB / 1.129 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.9345, allocations: 0 / 1.129 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001319/0.9346, allocations: 109.6 kB / 1.129 GB, free: 4.078 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.9346, allocations: 4 kB / 1.129 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.374e-05/0.9346, allocations: 1.219 kB / 1.129 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.9347, allocations: 4 kB / 1.129 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.12e-07/0.9347, allocations: 0 / 1.129 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.317e-06/0.9347, allocations: 0 / 1.129 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.037e-05/0.9347, allocations: 4.062 kB / 1.129 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/0.9347, allocations: 4 kB / 1.129 GB, free: 4.062 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 6.757e-05/0.9348, allocations: 104.9 kB / 1.129 GB, free: 3.953 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.54e-05/0.9348, allocations: 11.84 kB / 1.129 GB, free: 3.941 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.935, allocations: 212.1 kB / 1.129 GB, free: 3.699 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.66e-05/0.9351, allocations: 180.2 kB / 1.13 GB, free: 3.516 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.9352, allocations: 188.2 kB / 1.13 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.715e-05/0.9353, allocations: 176.3 kB / 1.13 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002568/0.9355, allocations: 417.7 kB / 1.13 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.99e-05/0.9356, allocations: 105.6 kB / 1.13 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.039e-05/0.9356, allocations: 105.7 kB / 1.13 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.02e-05/0.9357, allocations: 180.2 kB / 1.131 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.653e-05/0.9358, allocations: 188.1 kB / 1.131 GB, free: 2.098 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.989e-05/0.9358, allocations: 180.2 kB / 1.131 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.345e-05/0.9359, allocations: 184.3 kB / 1.131 GB, free: 1.727 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001232/0.936, allocations: 307.7 kB / 1.131 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000129/0.9361, allocations: 223.8 kB / 1.132 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.848e-05/0.9362, allocations: 180.2 kB / 1.132 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.9364, allocations: 109 kB / 1.132 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.207e-05/0.9364, allocations: 176.3 kB / 1.132 GB, free: 0.6836 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.9365, allocations: 104.9 kB / 1.132 GB, free: 0.5742 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000231/0.9367, allocations: 259.7 kB / 1.132 GB, free: 328 kB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006884/0.9374, allocations: 251.6 kB / 1.133 GB, free: 76 kB / 0.7292 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.0007845/0.9382, allocations: 438.6 kB / 1.133 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001115/0.9383, allocations: 73.92 kB / 1.133 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.9383, allocations: 0 / 1.133 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.502e-06/0.9384, allocations: 0 / 1.133 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003492/0.9387, allocations: 0.5308 MB / 1.134 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002778/0.939, allocations: 195 kB / 1.134 GB, free: 14.81 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003202/0.9393, allocations: 0.711 MB / 1.135 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of SimCode: time 2.71e-07/0.9393, allocations: 0.6562 kB / 1.135 GB, free: 14.07 MB / 0.7448 GB Notification: Performance of Templates: time 0.008132/0.9475, allocations: 4.281 MB / 1.139 GB, free: 9.859 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_OneUTube -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_OneUTube_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_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_OneUTube_functions.o] Error 1