Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6884/0.6884, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001223/0.001223, allocations: 181.3 kB / 164.4 MB, free: 6.871 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.628/1.628, allocations: 205.1 MB / 399.1 MB, free: 6.066 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 91.27 kB / 476.3 MB, free: 8.809 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.978e-06, allocations: 4 kB / 0.546 GB, free: 42.64 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1675, allocations: 76.75 MB / 0.621 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4554/0.6229, allocations: 115 MB / 0.7333 GB, free: 13.23 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002898/0.6232, allocations: 115.9 kB / 0.7334 GB, free: 13.11 MB / 0.4948 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:25:40-25:54:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:31:35-31:49:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:38:26-38:40:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:40:21-40:35:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/IBPSA/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/Validation/MultipoleThermalResistances_TwoUTube.mo:19:32-19:46:writable] Warning: Non-array modification '"(m.K)/W"' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd: time 0.02454/0.6478, allocations: 8.402 MB / 0.7416 GB, free: 4.719 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.6478, allocations: 4 kB / 0.7416 GB, free: 4.715 MB / 0.4948 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.0005687/0.6484, allocations: 0.5521 MB / 0.7422 GB, free: 4.117 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.6484, allocations: 12.02 kB / 0.7422 GB, free: 4.105 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.502e-05/0.6485, allocations: 31.61 kB / 0.7422 GB, free: 4.074 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.6487, allocations: 217.6 kB / 0.7424 GB, free: 3.824 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.208e-06/0.6487, allocations: 4 kB / 0.7424 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.114e-05/0.6487, allocations: 3.25 kB / 0.7424 GB, free: 3.82 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001047/0.6489, allocations: 79.95 kB / 0.7425 GB, free: 3.742 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.649, allocations: 105.6 kB / 0.7426 GB, free: 3.633 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.649, allocations: 7.906 kB / 0.7426 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.777e-06/0.649, allocations: 0 / 0.7426 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.649, allocations: 0 / 0.7426 GB, free: 3.625 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002265/0.6493, allocations: 242.4 kB / 0.7428 GB, free: 3.352 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.6494, allocations: 122.5 kB / 0.743 GB, free: 3.223 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.834e-05/0.6495, allocations: 116.8 kB / 0.7431 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.6495, allocations: 0 / 0.7431 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.6495, allocations: 30.56 kB / 0.7431 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=32): time 7.72e-07/0.6496, allocations: 0 / 0.7431 GB, free: 3.066 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32): time 0.0004027/0.65, allocations: 329.8 kB / 0.7434 GB, free: 2.738 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/0.65, allocations: 52.34 kB / 0.7435 GB, free: 2.676 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.6502, allocations: 220.3 kB / 0.7437 GB, free: 2.453 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.6502, allocations: 29.64 kB / 0.7437 GB, free: 2.418 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.192e-05/0.6503, allocations: 104.8 kB / 0.7438 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000123/0.6504, allocations: 98.47 kB / 0.7439 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.077e-06/0.6504, allocations: 0 / 0.7439 GB, free: 2.215 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.6506, allocations: 338.8 kB / 0.7442 GB, free: 1.875 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001017/0.6507, allocations: 79.95 kB / 0.7443 GB, free: 1.797 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.6507, allocations: 75.97 kB / 0.7444 GB, free: 1.723 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.6509, allocations: 120.1 kB / 0.7445 GB, free: 1.605 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.6509, allocations: 3.938 kB / 0.7445 GB, free: 1.602 MB / 0.4948 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002931/0.6512, allocations: 317.3 kB / 0.7448 GB, free: 1.285 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.6512, allocations: 11.98 kB / 0.7448 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.859e-05/0.6512, allocations: 0 / 0.7448 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.6512, allocations: 0 / 0.7448 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.6512, allocations: 0 / 0.7448 GB, free: 1.273 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.6513, allocations: 4 kB / 0.7448 GB, free: 1.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.555e-05/0.6513, allocations: 15.69 kB / 0.7448 GB, free: 1.254 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.6513, allocations: 7.938 kB / 0.7448 GB, free: 1.246 MB / 0.4948 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.656e-05/0.6514, allocations: 105 kB / 0.7449 GB, free: 1.137 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/0.6514, allocations: 23.62 kB / 0.7449 GB, free: 1.113 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004647/0.6519, allocations: 0.5729 MB / 0.7455 GB, free: 444 kB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.887e-05/0.652, allocations: 180.2 kB / 0.7457 GB, free: 256 kB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.806e-05/0.652, allocations: 180.2 kB / 0.7458 GB, free: 68 kB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.858e-05/0.6521, allocations: 180.3 kB / 0.746 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003485/0.6525, allocations: 0.5207 MB / 0.7465 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.642e-05/0.6525, allocations: 108.9 kB / 0.7466 GB, free: 15.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.627e-05/0.6525, allocations: 105.7 kB / 0.7467 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-05/0.6526, allocations: 176.3 kB / 0.7469 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.299e-05/0.6527, allocations: 184.2 kB / 0.7471 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.856e-05/0.6527, allocations: 176.3 kB / 0.7472 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.083e-05/0.6528, allocations: 192.2 kB / 0.7474 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001811/0.653, allocations: 331.4 kB / 0.7477 GB, free: 14 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004027/0.6534, allocations: 369.5 kB / 0.7481 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.6536, allocations: 180.2 kB / 0.7483 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001524/0.6537, allocations: 105.9 kB / 0.7484 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.755e-05/0.6538, allocations: 176.3 kB / 0.7485 GB, free: 13.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.967e-05/0.6538, allocations: 108.9 kB / 0.7486 GB, free: 13.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.001188/0.655, allocations: 1.145 MB / 0.7498 GB, free: 11.88 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0008269/0.6559, allocations: 303.7 kB / 0.75 GB, free: 11.59 MB / 0.5105 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.0007959/0.6567, allocations: 443.6 kB / 0.7505 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002146/0.6569, allocations: 181.9 kB / 0.7506 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.6569, allocations: 0 / 0.7506 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.393e-06/0.6569, allocations: 0 / 0.7506 GB, free: 10.96 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.6573, allocations: 0.5471 MB / 0.7512 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.6578, allocations: 351.8 kB / 0.7515 GB, free: 10.04 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003214/0.6581, allocations: 0.7686 MB / 0.7523 GB, free: 9.242 MB / 0.5105 GB Notification: Performance of SimCode: time 2.61e-07/0.6581, allocations: 3.938 kB / 0.7523 GB, free: 9.238 MB / 0.5105 GB Notification: Performance of Templates: time 0.008648/0.6668, allocations: 4.6 MB / 0.7568 GB, free: 4.691 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.c clang -fPIC -O0 -falign-functions -march=native -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_functions.o] Error 1