Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json 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/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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001098/0.001098, allocations: 118.5 kB / 17.1 MB, free: 5.996 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001056/0.001056, allocations: 192.9 kB / 18.04 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.107/1.107, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6369/0.6369, allocations: 122.9 MB / 414.8 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009e-05/1.011e-05, allocations: 2.281 kB / 0.5691 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001028/0.001046, allocations: 0.5516 MB / 0.5697 GB, free: 28.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009084/0.001966, allocations: 0.9982 MB / 0.5706 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.54e-05/0.001991, allocations: 0 / 0.5706 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.005e-05/0.002007, allocations: 0 / 0.5706 GB, free: 27.72 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005784/0.002596, allocations: 102.7 kB / 0.5707 GB, free: 27.67 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.937e-05/0.002634, allocations: 13.73 kB / 0.5707 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 3.768e-05/0.002678, allocations: 5.391 kB / 0.5708 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.604e-05/0.002719, allocations: 2.703 kB / 0.5708 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.275e-05/0.002737, allocations: 2.188 kB / 0.5708 GB, free: 27.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001695/0.00291, allocations: 42.95 kB / 0.5708 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 7.975e-06/0.002924, allocations: 1 kB / 0.5708 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001317/0.003061, allocations: 82.94 kB / 0.5709 GB, free: 27.62 MB / 446.1 MB Notification: Performance of combineBinaries: time 2.25e-05/0.00309, allocations: 16.66 kB / 0.5709 GB, free: 27.61 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.991e-06/0.003101, allocations: 11.81 kB / 0.5709 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 7.925e-06/0.003113, allocations: 0 / 0.5709 GB, free: 27.6 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.086e-05/0.003129, allocations: 1.938 kB / 0.5709 GB, free: 27.6 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 (1) * Number of variables: 1 (1) Notification: Performance of Bindings: time 0.000161/0.003294, allocations: 161 kB / 0.5711 GB, free: 27.37 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.168e-05/0.003311, allocations: 6.281 kB / 0.5711 GB, free: 27.37 MB / 446.1 MB Notification: Performance of Early Inline: time 4.776e-05/0.003363, allocations: 47.52 kB / 0.5711 GB, free: 27.3 MB / 446.1 MB Notification: Performance of simplify1: time 2.455e-06/0.003371, allocations: 2.344 kB / 0.5711 GB, free: 27.3 MB / 446.1 MB Notification: Performance of Alias: time 2.772e-05/0.003403, allocations: 52.75 kB / 0.5712 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simplify2: time 1.092e-06/0.003409, allocations: 1.125 kB / 0.5712 GB, free: 27.22 MB / 446.1 MB Notification: Performance of Detect States: time 3.424e-05/0.003447, allocations: 32.52 kB / 0.5712 GB, free: 27.18 MB / 446.1 MB Notification: Performance of Events: time 4.607e-05/0.003498, allocations: 19.88 kB / 0.5712 GB, free: 27.17 MB / 446.1 MB Notification: Performance of Partitioning: time 3.389e-05/0.003538, allocations: 24.69 kB / 0.5712 GB, free: 27.14 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001321/0.003674, allocations: 33.69 kB / 0.5713 GB, free: 27.12 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.014e-05/0.003713, allocations: 56.19 kB / 0.5713 GB, free: 27.06 MB / 446.1 MB Notification: Performance of Inline: time 0.0002364/0.003955, allocations: 176.6 kB / 0.5715 GB, free: 26.94 MB / 446.1 MB Notification: Performance of Partitioning: time 8.175e-06/0.00397, allocations: 10.53 kB / 0.5715 GB, free: 26.92 MB / 446.1 MB Notification: Performance of Cleanup: time 5.59e-06/0.00398, allocations: 0.6094 kB / 0.5715 GB, free: 26.92 MB / 446.1 MB Notification: Performance of Causalize: time 8.514e-05/0.004069, allocations: 69.77 kB / 0.5716 GB, free: 26.89 MB / 446.1 MB Notification: Performance of Tearing: time 7.905e-06/0.004085, allocations: 4.219 kB / 0.5716 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Initialization: time 3.4e-07/0.004089, allocations: 0 / 0.5716 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Tearing: time 1.302e-06/0.004095, allocations: 2.031 kB / 0.5716 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Categorize: time 5.12e-06/0.004104, allocations: 3.984 kB / 0.5716 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Solve: time 8.318e-05/0.004192, allocations: 32.03 kB / 0.5716 GB, free: 26.88 MB / 446.1 MB Notification: Performance of Jacobian: time 2.404e-06/0.0042, allocations: 5.5 kB / 0.5716 GB, free: 26.87 MB / 446.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 2 (2) {cmp, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:2, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.113e-05/0.004225, allocations: 24.52 kB / 0.5716 GB, free: 26.86 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004899/0.004719, allocations: 0.8629 MB / 0.5725 GB, free: 26.09 MB / 446.1 MB Notification: Performance of Templates: time 0.002421/0.007151, allocations: 0.7456 MB / 0.5732 GB, free: 26.05 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction -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.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction -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.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:44:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:45:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:136:15: warning: implicit declaration of function 'cryptographicsHash' is invalid in C99 [-Wimplicit-function-declaration] _sha1_ext = cryptographicsHash(MMC_STRINGDATA(_str)); ^ IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:136:13: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _sha1_ext = cryptographicsHash(MMC_STRINGDATA(_str)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:148:17: warning: implicit declaration of function 'ModelicaStrings_compare' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_compare(MMC_STRINGDATA(_string1), MMC_STRINGDATA(_string2), _caseSensitive_ext); ^ 3 warnings and 2 errors generated. make: *** [: IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1