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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.5.0/package.mo): time 0.7916/0.7916, allocations: 127.4 MB / 134.6 MB, free: 4.133 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.001055/0.001055, allocations: 177.3 kB / 164.4 MB, free: 6.902 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.575/1.575, allocations: 205.1 MB / 399.1 MB, free: 6.078 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.001081/0.001081, allocations: 91.33 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.048e-05/1.051e-05, allocations: 4 kB / 0.546 GB, free: 42.68 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1592, allocations: 76.73 MB / 0.621 GB, free: 13.86 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4512/0.6104, allocations: 124 MB / 0.7421 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003136/0.6108, allocations: 123.9 kB / 0.7422 GB, free: 4.176 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.04731/0.6581, allocations: 15.01 MB / 0.7568 GB, free: 5.164 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.6582, allocations: 4 kB / 0.7568 GB, free: 5.16 MB / 0.5105 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.001112/0.6593, allocations: 0.5446 MB / 0.7574 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.6593, allocations: 8.031 kB / 0.7574 GB, free: 4.562 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.722e-05/0.6594, allocations: 91.42 kB / 0.7575 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.6596, allocations: 254.1 kB / 0.7577 GB, free: 4.184 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.077e-05/0.6597, allocations: 150.6 kB / 0.7579 GB, free: 4.035 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.745e-05/0.6598, allocations: 150.6 kB / 0.758 GB, free: 3.887 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.94e-05/0.6598, allocations: 154.6 kB / 0.7581 GB, free: 3.734 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.246e-05/0.6599, allocations: 101 kB / 0.7582 GB, free: 3.629 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.736e-05/0.66, allocations: 87.19 kB / 0.7583 GB, free: 3.543 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.685e-05/0.66, allocations: 154.6 kB / 0.7585 GB, free: 3.391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.847e-05/0.6601, allocations: 154.5 kB / 0.7586 GB, free: 3.238 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003309/0.6604, allocations: 442.5 kB / 0.759 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001009/0.6605, allocations: 169.1 kB / 0.7592 GB, free: 2.594 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.978e-05/0.6606, allocations: 80.14 kB / 0.7593 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.654e-05/0.6606, allocations: 75.28 kB / 0.7594 GB, free: 2.438 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.614e-05/0.6607, allocations: 109.8 kB / 0.7595 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=0): time 1.352e-06/0.6607, allocations: 0 / 0.7595 GB, free: 2.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=0): time 0.0001021/0.6608, allocations: 41.53 kB / 0.7595 GB, free: 2.273 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.6608, allocations: 51.41 kB / 0.7595 GB, free: 2.211 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.661, allocations: 119.1 kB / 0.7597 GB, free: 2.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.661, allocations: 25.7 kB / 0.7597 GB, free: 2.055 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 6.177e-05/0.6611, allocations: 88.14 kB / 0.7598 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 1.743e-06/0.6611, allocations: 0 / 0.7598 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.026e-06/0.6611, allocations: 0 / 0.7598 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.6612, allocations: 318.8 kB / 0.7601 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.534e-05/0.6613, allocations: 8 kB / 0.7601 GB, free: 1.637 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.559e-05/0.6613, allocations: 4 kB / 0.7601 GB, free: 1.633 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.006e-05/0.6614, allocations: 4 kB / 0.7601 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.6614, allocations: 0 / 0.7601 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001615/0.6616, allocations: 57.62 kB / 0.7601 GB, free: 1.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.6616, allocations: 4 kB / 0.7601 GB, free: 1.562 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.6616, allocations: 4 kB / 0.7602 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.6616, allocations: 0 / 0.7602 GB, free: 1.559 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.573e-06/0.6616, allocations: 4.062 kB / 0.7602 GB, free: 1.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.483e-06/0.6616, allocations: 3.938 kB / 0.7602 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.6617, allocations: 3.906 kB / 0.7602 GB, free: 1.547 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.6617, allocations: 4 kB / 0.7602 GB, free: 1.543 MB / 0.5105 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.000105/0.6618, allocations: 180.2 kB / 0.7603 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.433e-05/0.6619, allocations: 108.9 kB / 0.7604 GB, free: 1.246 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.905e-05/0.6619, allocations: 112.5 kB / 0.7606 GB, free: 1.129 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.307e-05/0.662, allocations: 188.1 kB / 0.7607 GB, free: 0.9375 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001134/0.6621, allocations: 184.3 kB / 0.7609 GB, free: 0.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.687e-05/0.6622, allocations: 176.3 kB / 0.7611 GB, free: 0.5703 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.6625, allocations: 393.7 kB / 0.7614 GB, free: 144 kB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.802e-05/0.6625, allocations: 105 kB / 0.7615 GB, free: 32 kB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.6626, allocations: 101 kB / 0.7616 GB, free: 15.93 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.119e-05/0.6627, allocations: 184.2 kB / 0.7618 GB, free: 15.74 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.446e-05/0.6628, allocations: 184.3 kB / 0.762 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.774e-05/0.6628, allocations: 184.2 kB / 0.7622 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.159e-05/0.6629, allocations: 184.2 kB / 0.7623 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002041/0.6632, allocations: 304.7 kB / 0.7626 GB, free: 14.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.678e-05/0.6633, allocations: 193.9 kB / 0.7628 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.089e-05/0.6634, allocations: 176.3 kB / 0.763 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.6635, allocations: 101 kB / 0.7631 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.705e-05/0.6636, allocations: 184.2 kB / 0.7633 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.556e-05/0.6636, allocations: 105 kB / 0.7634 GB, free: 14.06 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.196e-05/0.6637, allocations: 97.61 kB / 0.7635 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001297/0.665, allocations: 319.5 kB / 0.7638 GB, free: 13.65 MB / 0.5261 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.001793/0.6668, allocations: 0.5713 MB / 0.7643 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001007/0.6669, allocations: 33.7 kB / 0.7644 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.638e-05/0.667, allocations: 0 / 0.7644 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.919e-06/0.667, allocations: 8.062 kB / 0.7644 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003792/0.6674, allocations: 0.534 MB / 0.7649 GB, free: 12.49 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002451/0.6676, allocations: 151 kB / 0.765 GB, free: 12.32 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/0.6679, allocations: 0.6958 MB / 0.7657 GB, free: 11.6 MB / 0.5261 GB Notification: Performance of SimCode: time 3.11e-07/0.6679, allocations: 4 kB / 0.7657 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.01138/0.6793, allocations: 5.568 MB / 0.7711 GB, free: 6.074 MB / 0.5261 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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_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 BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:857: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.InternalResistancesOneUTube_functions.o] Error 1