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_OneUTube.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_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.6922/0.6922, 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.001214/0.001214, allocations: 189.2 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.642/1.642, allocations: 205.1 MB / 399.1 MB, free: 6.129 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.001055/0.001055, allocations: 87.33 kB / 476.3 MB, free: 8.883 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.598e-06, allocations: 4 kB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.171, allocations: 76.75 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4528/0.6239, allocations: 115 MB / 0.7333 GB, free: 13.29 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.6242, allocations: 111.9 kB / 0.7334 GB, free: 13.18 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_OneUTube.mo:32:26-32: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_OneUTube.mo:34:21-34: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_OneUTube.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.02492/0.6492, allocations: 7.883 MB / 0.7411 GB, free: 5.305 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.6492, allocations: 0 / 0.7411 GB, free: 5.305 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007568/0.65, allocations: 481.9 kB / 0.7416 GB, free: 4.789 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.65, allocations: 8.031 kB / 0.7416 GB, free: 4.781 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.6501, allocations: 7.906 kB / 0.7416 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002282/0.6503, allocations: 179.5 kB / 0.7418 GB, free: 4.555 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.6503, allocations: 4 kB / 0.7418 GB, free: 4.551 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.406e-05/0.6504, allocations: 7.906 kB / 0.7418 GB, free: 4.543 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.193e-05/0.6504, allocations: 27.98 kB / 0.7418 GB, free: 4.516 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.534e-05/0.6505, allocations: 57.61 kB / 0.7419 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.6506, allocations: 0 / 0.7419 GB, free: 4.453 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.6506, allocations: 4 kB / 0.7419 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.458e-06/0.6506, allocations: 0 / 0.7419 GB, free: 4.449 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.6508, allocations: 163.2 kB / 0.742 GB, free: 4.254 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.091e-05/0.6509, allocations: 46.47 kB / 0.7421 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.771e-05/0.651, allocations: 44.81 kB / 0.7421 GB, free: 4.152 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.651, allocations: 4 kB / 0.7421 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.914e-05/0.651, allocations: 30.56 kB / 0.7421 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.6511, allocations: 0 / 0.7421 GB, free: 4.109 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.0002818/0.6513, allocations: 105.6 kB / 0.7422 GB, free: 4 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.055e-05/0.6514, allocations: 51.41 kB / 0.7423 GB, free: 3.938 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001478/0.6515, allocations: 141.1 kB / 0.7424 GB, free: 3.789 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.746e-05/0.6516, allocations: 25.7 kB / 0.7424 GB, free: 3.758 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.6516, allocations: 92.11 kB / 0.7425 GB, free: 3.664 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.813e-05/0.6517, allocations: 27.55 kB / 0.7426 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.6517, allocations: 0 / 0.7426 GB, free: 3.637 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6518, allocations: 322.8 kB / 0.7429 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.954e-05/0.6519, allocations: 27.98 kB / 0.7429 GB, free: 3.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.038e-05/0.6519, allocations: 23.98 kB / 0.7429 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.185e-05/0.652, allocations: 31.98 kB / 0.7429 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.652, allocations: 0 / 0.7429 GB, free: 3.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001429/0.6521, allocations: 97.56 kB / 0.743 GB, free: 3.129 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6522, allocations: 8.062 kB / 0.743 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.206e-05/0.6522, allocations: 4 kB / 0.743 GB, free: 3.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.6522, allocations: 7.844 kB / 0.7431 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.6522, allocations: 0 / 0.7431 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.6522, allocations: 0 / 0.7431 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.6523, allocations: 0 / 0.7431 GB, free: 3.109 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.2e-05/0.6523, allocations: 4 kB / 0.7431 GB, free: 3.105 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 8.23e-05/0.6524, allocations: 101 kB / 0.7432 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.723e-05/0.6524, allocations: 11.81 kB / 0.7432 GB, free: 2.988 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002062/0.6526, allocations: 212.2 kB / 0.7434 GB, free: 2.75 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.176e-05/0.6527, allocations: 180.2 kB / 0.7435 GB, free: 2.566 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.717e-05/0.6528, allocations: 180.3 kB / 0.7437 GB, free: 2.383 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.6528, allocations: 180.2 kB / 0.7439 GB, free: 2.199 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002564/0.6531, allocations: 421.6 kB / 0.7443 GB, free: 1.742 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.122e-05/0.6532, allocations: 109 kB / 0.7444 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.187e-05/0.6532, allocations: 105.7 kB / 0.7445 GB, free: 1.52 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.7e-05/0.6533, allocations: 180.2 kB / 0.7447 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.016e-05/0.6534, allocations: 176.3 kB / 0.7448 GB, free: 1.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001053/0.6535, allocations: 184.2 kB / 0.745 GB, free: 0.9688 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.278e-05/0.6536, allocations: 192.1 kB / 0.7452 GB, free: 0.7734 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001486/0.6537, allocations: 311.6 kB / 0.7455 GB, free: 456 kB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.6539, allocations: 213.9 kB / 0.7457 GB, free: 216 kB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.654, allocations: 180.3 kB / 0.7459 GB, free: 28 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001158/0.6541, allocations: 105.8 kB / 0.746 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.229e-05/0.6542, allocations: 184.2 kB / 0.7461 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.6543, allocations: 105 kB / 0.7462 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002484/0.6545, allocations: 259.2 kB / 0.7465 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.000838/0.6554, allocations: 243.6 kB / 0.7467 GB, free: 15.13 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.001087/0.6564, allocations: 448.6 kB / 0.7471 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001178/0.6566, allocations: 69.92 kB / 0.7472 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6566, allocations: 4.062 kB / 0.7472 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.6566, allocations: 3.938 kB / 0.7472 GB, free: 14.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004091/0.657, allocations: 0.5316 MB / 0.7477 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000317/0.6573, allocations: 199.1 kB / 0.7479 GB, free: 13.85 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003852/0.6577, allocations: 0.7149 MB / 0.7486 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of SimCode: time 6.21e-07/0.6577, allocations: 4 kB / 0.7486 GB, free: 13.11 MB / 0.5105 GB Notification: Performance of Templates: time 0.009221/0.667, allocations: 4.313 MB / 0.7528 GB, free: 8.844 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1