Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.7478/0.7478, allocations: 141.8 MB / 149.1 MB, free: 1.188 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 186.2 kB / 182 MB, free: 13.32 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.3 MB / 436 MB, free: 6.219 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 102.2 kB / 0.507 GB, free: 18.89 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002013/0.002014, allocations: 272.8 kB / 0.5885 GB, free: 7.242 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.258e-06/9.288e-06, allocations: 2.812 kB / 0.676 GB, free: 140.1 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1704/0.1705, allocations: 82.78 MB / 0.7568 GB, free: 89.5 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1453/0.3158, allocations: 120.2 MB / 0.8742 GB, free: 1.09 MB / 0.5419 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.3162, allocations: 118.7 kB / 0.8743 GB, free: 0.9766 MB / 0.5419 GB Notification: Performance of FrontEnd: time 0.3489/0.6651, allocations: 7.752 MB / 0.8819 GB, free: 117.4 MB / 0.5419 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.6652, allocations: 1.594 kB / 0.8819 GB, free: 117.4 MB / 0.5419 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.0006829/0.6659, allocations: 484 kB / 0.8824 GB, free: 116.9 MB / 0.5419 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.6659, allocations: 9.781 kB / 0.8824 GB, free: 116.9 MB / 0.5419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.666, allocations: 7.188 kB / 0.8824 GB, free: 116.9 MB / 0.5419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001855/0.6662, allocations: 183.8 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6662, allocations: 4.438 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.6662, allocations: 1.219 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.284e-05/0.6663, allocations: 22.78 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.6664, allocations: 55.66 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6664, allocations: 1.875 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.6665, allocations: 4.5 kB / 0.8826 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.6665, allocations: 9.094 kB / 0.8827 GB, free: 116.7 MB / 0.5419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001908/0.6667, allocations: 169.1 kB / 0.8828 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.675e-05/0.6668, allocations: 46.38 kB / 0.8829 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.897e-05/0.6668, allocations: 32.62 kB / 0.8829 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.6669, allocations: 2.359 kB / 0.8829 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.699e-05/0.6669, allocations: 31.12 kB / 0.8829 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of pre-optimization done (n=8): time 1.403e-06/0.6669, allocations: 4.562 kB / 0.8829 GB, free: 116.5 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8): time 0.0002324/0.6671, allocations: 103.3 kB / 0.883 GB, free: 116.4 MB / 0.5419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.6672, allocations: 51.41 kB / 0.8831 GB, free: 116.4 MB / 0.5419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.6673, allocations: 141 kB / 0.8832 GB, free: 116.3 MB / 0.5419 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.6673, allocations: 25.7 kB / 0.8832 GB, free: 116.2 MB / 0.5419 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.6673, allocations: 88.52 kB / 0.8833 GB, free: 116.1 MB / 0.5419 GB Notification: Performance of collectInitialBindings (initialization): time 3.524e-05/0.6673, allocations: 25.89 kB / 0.8833 GB, free: 116.1 MB / 0.5419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-06/0.6674, allocations: 0 / 0.8833 GB, free: 116.1 MB / 0.5419 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/0.6674, allocations: 326.1 kB / 0.8837 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.849e-05/0.6675, allocations: 26.36 kB / 0.8837 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.292e-05/0.6675, allocations: 22.91 kB / 0.8837 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.082e-05/0.6676, allocations: 32.73 kB / 0.8837 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6676, allocations: 0 / 0.8837 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001414/0.6677, allocations: 101.1 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.6678, allocations: 4.719 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.6678, allocations: 3.359 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.6678, allocations: 0.9688 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.92e-07/0.6678, allocations: 0 / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.6678, allocations: 5.219 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.455e-05/0.6678, allocations: 5.156 kB / 0.8838 GB, free: 115.8 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.895e-05/0.6679, allocations: 3.25 kB / 0.8838 GB, free: 115.8 MB / 0.5419 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 4.666e-05/0.6679, allocations: 108.2 kB / 0.884 GB, free: 115.7 MB / 0.5419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.6679, allocations: 6.562 kB / 0.884 GB, free: 115.6 MB / 0.5419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001636/0.6681, allocations: 210 kB / 0.8842 GB, free: 115.5 MB / 0.5419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-05/0.6681, allocations: 178.7 kB / 0.8843 GB, free: 115.3 MB / 0.5419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.462e-05/0.6682, allocations: 185 kB / 0.8845 GB, free: 115.1 MB / 0.5419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-05/0.6682, allocations: 182.8 kB / 0.8847 GB, free: 114.9 MB / 0.5419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.6684, allocations: 418.2 kB / 0.8851 GB, free: 114.5 MB / 0.5419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.841e-05/0.6684, allocations: 113.5 kB / 0.8852 GB, free: 114.4 MB / 0.5419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.279e-05/0.6685, allocations: 107.3 kB / 0.8853 GB, free: 114.3 MB / 0.5419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.611e-05/0.6685, allocations: 182.1 kB / 0.8855 GB, free: 114.1 MB / 0.5419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.515e-05/0.6685, allocations: 181 kB / 0.8856 GB, free: 113.9 MB / 0.5419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-05/0.6685, allocations: 182.7 kB / 0.8858 GB, free: 113.7 MB / 0.5419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.508e-05/0.6686, allocations: 181.6 kB / 0.886 GB, free: 113.5 MB / 0.5419 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.815e-05/0.6687, allocations: 315.7 kB / 0.8863 GB, free: 113.2 MB / 0.5419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.683e-05/0.6688, allocations: 219.1 kB / 0.8865 GB, free: 113 MB / 0.5419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.547e-05/0.6688, allocations: 188.1 kB / 0.8867 GB, free: 112.8 MB / 0.5419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.753e-05/0.6689, allocations: 102.8 kB / 0.8868 GB, free: 112.7 MB / 0.5419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.669, allocations: 177.9 kB / 0.8869 GB, free: 112.5 MB / 0.5419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.669, allocations: 106.7 kB / 0.887 GB, free: 112.4 MB / 0.5419 GB Notification: Performance of sort global known variables: time 0.0002595/0.6692, allocations: 272.7 kB / 0.8873 GB, free: 112.3 MB / 0.5419 GB Notification: Performance of remove unused functions: time 0.0008812/0.6701, allocations: 245.9 kB / 0.8875 GB, free: 112.3 MB / 0.5419 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.001089/0.6712, allocations: 432.4 kB / 0.8879 GB, free: 112.1 MB / 0.5419 GB Notification: Performance of simCode: created initialization part: time 0.0001198/0.6714, allocations: 74.56 kB / 0.888 GB, free: 112 MB / 0.5419 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.6714, allocations: 0 / 0.888 GB, free: 112 MB / 0.5419 GB Notification: Performance of simCode: created simulation system equations: time 2.355e-06/0.6714, allocations: 0.5625 kB / 0.888 GB, free: 112 MB / 0.5419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002715/0.6717, allocations: 0.5339 MB / 0.8885 GB, free: 111.5 MB / 0.5419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.6719, allocations: 190.8 kB / 0.8887 GB, free: 111.3 MB / 0.5419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6721, allocations: 0.7132 MB / 0.8894 GB, free: 110.6 MB / 0.5419 GB Notification: Performance of SimCode: time 2.61e-07/0.6721, allocations: 0 / 0.8894 GB, free: 110.6 MB / 0.5419 GB Notification: Performance of Templates: time 0.009569/0.6817, allocations: 4.287 MB / 0.8936 GB, free: 109.6 MB / 0.5419 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.c BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_functions.o] Error 1