Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json 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/IBPSA 4.0.0-master/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) 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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001412/0.001413, allocations: 176.4 kB / 8.005 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.511/0.511, allocations: 90.91 MB / 99.34 MB, free: 2.164 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 343.2 MB, free: 1.574 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 95.14 kB / 415.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.513e-05/1.536e-05, allocations: 4 kB / 494.6 MB, free: 52.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1214, allocations: 72.33 MB / 0.5536 GB, free: 12.21 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5015/0.623, allocations: 121.1 MB / 0.6718 GB, free: 5.281 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.6234, allocations: 117.2 kB / 0.6719 GB, free: 5.207 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04217/0.6656, allocations: 14.98 MB / 0.6866 GB, free: 8.516 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6656, allocations: 0 / 0.6866 GB, free: 8.516 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.164e-06/0.6656, allocations: 0 / 0.6866 GB, free: 8.516 MB / 490.7 MB 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.0009742/0.6666, allocations: 0.5519 MB / 0.6871 GB, free: 7.93 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/0.6666, allocations: 12.03 kB / 0.6871 GB, free: 7.918 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.6667, allocations: 83.19 kB / 0.6872 GB, free: 7.836 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.6669, allocations: 246.3 kB / 0.6874 GB, free: 7.555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.048e-05/0.6669, allocations: 154.5 kB / 0.6876 GB, free: 7.402 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/0.667, allocations: 150.6 kB / 0.6877 GB, free: 7.254 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.517e-05/0.667, allocations: 154.6 kB / 0.6879 GB, free: 7.102 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.986e-05/0.6671, allocations: 108.9 kB / 0.688 GB, free: 6.988 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.528e-05/0.6671, allocations: 75.28 kB / 0.688 GB, free: 6.914 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.975e-05/0.6672, allocations: 153.2 kB / 0.6882 GB, free: 6.766 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/0.6672, allocations: 154.5 kB / 0.6883 GB, free: 6.613 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002444/0.6675, allocations: 437.4 kB / 0.6887 GB, free: 6.156 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.607e-05/0.6676, allocations: 173.1 kB / 0.6889 GB, free: 5.977 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.6676, allocations: 84.12 kB / 0.689 GB, free: 5.891 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.6676, allocations: 75.28 kB / 0.6891 GB, free: 5.816 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.087e-05/0.6677, allocations: 113.4 kB / 0.6892 GB, free: 5.699 MB / 490.7 MB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.6677, allocations: 0 / 0.6892 GB, free: 5.699 MB / 490.7 MB Notification: Performance of matching and sorting (n=0): time 7.567e-05/0.6678, allocations: 29.61 kB / 0.6892 GB, free: 5.664 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.6678, allocations: 59.34 kB / 0.6893 GB, free: 5.594 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.6679, allocations: 117.4 kB / 0.6894 GB, free: 5.477 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.668, allocations: 29.64 kB / 0.6894 GB, free: 5.441 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/0.668, allocations: 96.98 kB / 0.6895 GB, free: 5.352 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.433e-06/0.668, allocations: 0 / 0.6895 GB, free: 5.352 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.805e-06/0.668, allocations: 0 / 0.6895 GB, free: 5.352 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001098/0.6681, allocations: 319.7 kB / 0.6898 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.228e-05/0.6682, allocations: 2.812 kB / 0.6898 GB, free: 5.031 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.134e-05/0.6682, allocations: 8 kB / 0.6898 GB, free: 5.023 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.062e-05/0.6683, allocations: 4 kB / 0.6898 GB, free: 5.02 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6683, allocations: 0 / 0.6898 GB, free: 5.02 MB / 490.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001264/0.6684, allocations: 49 kB / 0.6899 GB, free: 4.969 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.6684, allocations: 4 kB / 0.6899 GB, free: 4.965 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.808e-05/0.6684, allocations: 4 kB / 0.6899 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.6685, allocations: 0 / 0.6899 GB, free: 4.961 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.6685, allocations: 3.938 kB / 0.6899 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.566e-06/0.6685, allocations: 0 / 0.6899 GB, free: 4.957 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.017e-05/0.6685, allocations: 3.906 kB / 0.6899 GB, free: 4.953 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.6685, allocations: 12.02 kB / 0.6899 GB, free: 4.941 MB / 490.7 MB 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.237e-05/0.6686, allocations: 180.2 kB / 0.6901 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.953e-05/0.6687, allocations: 112.2 kB / 0.6902 GB, free: 4.645 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.6687, allocations: 108.7 kB / 0.6903 GB, free: 4.531 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-05/0.6688, allocations: 176.3 kB / 0.6904 GB, free: 4.352 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.435e-05/0.6688, allocations: 188.2 kB / 0.6906 GB, free: 4.16 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.945e-05/0.6689, allocations: 180.3 kB / 0.6908 GB, free: 3.977 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.6691, allocations: 392.8 kB / 0.6912 GB, free: 3.555 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-05/0.6691, allocations: 112.9 kB / 0.6913 GB, free: 3.438 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.335e-05/0.6692, allocations: 101 kB / 0.6914 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-05/0.6692, allocations: 184.3 kB / 0.6915 GB, free: 3.145 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-05/0.6693, allocations: 188.2 kB / 0.6917 GB, free: 2.953 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.027e-05/0.6694, allocations: 180.3 kB / 0.6919 GB, free: 2.77 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.679e-05/0.6695, allocations: 176.3 kB / 0.6921 GB, free: 2.59 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.6697, allocations: 310.8 kB / 0.6924 GB, free: 2.266 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.6698, allocations: 186 kB / 0.6925 GB, free: 2.059 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6699, allocations: 191.3 kB / 0.6927 GB, free: 1.867 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-05/0.67, allocations: 101 kB / 0.6928 GB, free: 1.762 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.102e-05/0.6701, allocations: 181.2 kB / 0.693 GB, free: 1.578 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.6701, allocations: 108.9 kB / 0.6931 GB, free: 1.465 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.014e-05/0.6702, allocations: 95.34 kB / 0.6932 GB, free: 1.379 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6702, allocations: 0 / 0.6932 GB, free: 1.379 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001025/0.6712, allocations: 325.6 kB / 0.6935 GB, free: 1.07 MB / 490.7 MB 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.001039/0.6722, allocations: 0.5383 MB / 0.694 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.251e-05/0.6723, allocations: 33.7 kB / 0.694 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6724, allocations: 0 / 0.694 GB, free: 0.4961 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 1.423e-06/0.6724, allocations: 3.938 kB / 0.694 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.6727, allocations: 0.5366 MB / 0.6946 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001973/0.6729, allocations: 142.6 kB / 0.6947 GB, free: 15.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.6732, allocations: 0.6885 MB / 0.6954 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 1.402e-05/0.6732, allocations: 0 / 0.6954 GB, free: 15.08 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.024e-05/0.6732, allocations: 11.38 kB / 0.6954 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of SimCode: time 3.1e-07/0.6732, allocations: 0 / 0.6954 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of Templates: time 0.008467/0.6817, allocations: 5.186 MB / 0.7005 GB, free: 9.945 MB / 0.4948 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.c clang -Os -fPIC -falign-functions -mfpmath=sse -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/include/omc/c" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_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 IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.c:1008: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: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_functions.o] Error 1