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.001272/0.001272, allocations: 119.3 kB / 17.1 MB, free: 6.004 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.001311/0.001312, allocations: 192.9 kB / 18.03 MB, free: 5.082 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.537/1.537, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8183/0.8183, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.056e-05/3.056e-05, allocations: 2.281 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001712/0.001752, allocations: 0.5639 MB / 0.5589 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00148/0.003244, allocations: 0.9935 MB / 0.5599 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.166e-05/0.003288, allocations: 0.9688 kB / 0.5599 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.664e-05/0.003311, allocations: 0 / 0.5599 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000794/0.00411, allocations: 102.3 kB / 0.56 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.764e-05/0.004157, allocations: 13.25 kB / 0.56 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.783e-05/0.004232, allocations: 3.484 kB / 0.56 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.263e-05/0.004291, allocations: 6.953 kB / 0.56 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.164e-05/0.004317, allocations: 2.109 kB / 0.56 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002784/0.004602, allocations: 37.22 kB / 0.56 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.197e-05/0.00462, allocations: 1.281 kB / 0.56 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002093/0.004834, allocations: 85.36 kB / 0.5601 GB, free: 31.14 MB / 446.1 MB Notification: Performance of combineBinaries: time 4.504e-05/0.004888, allocations: 13.72 kB / 0.5601 GB, free: 31.14 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 7.334e-06/0.0049, allocations: 6.656 kB / 0.5601 GB, free: 31.13 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.458e-05/0.00492, allocations: 2.219 kB / 0.5601 GB, free: 31.13 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.658e-05/0.004942, allocations: 0 / 0.5601 GB, free: 31.13 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.0002685/0.005216, allocations: 165.5 kB / 0.5603 GB, free: 30.9 MB / 446.1 MB Notification: Performance of FunctionAlias: time 2.338e-05/0.005245, allocations: 5.359 kB / 0.5603 GB, free: 30.9 MB / 446.1 MB Notification: Performance of Early Inline: time 8.574e-05/0.005335, allocations: 48.78 kB / 0.5603 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simplify1: time 2.825e-06/0.005345, allocations: 0.5312 kB / 0.5603 GB, free: 30.84 MB / 446.1 MB Notification: Performance of Alias: time 6.914e-05/0.005421, allocations: 53.47 kB / 0.5604 GB, free: 30.75 MB / 446.1 MB Notification: Performance of simplify2: time 2.164e-06/0.005431, allocations: 1.109 kB / 0.5604 GB, free: 30.75 MB / 446.1 MB Notification: Performance of Events: time 7.601e-05/0.005514, allocations: 22.36 kB / 0.5604 GB, free: 30.74 MB / 446.1 MB Notification: Performance of Detect States: time 6.642e-05/0.005586, allocations: 29.48 kB / 0.5604 GB, free: 30.7 MB / 446.1 MB Notification: Performance of Partitioning: time 5.736e-05/0.005649, allocations: 18.45 kB / 0.5605 GB, free: 30.68 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001889/0.005843, allocations: 36.05 kB / 0.5605 GB, free: 30.66 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 4.336e-05/0.005895, allocations: 54.02 kB / 0.5605 GB, free: 30.6 MB / 446.1 MB Notification: Performance of Inline: time 0.0002856/0.006188, allocations: 154.6 kB / 0.5607 GB, free: 30.48 MB / 446.1 MB Notification: Performance of Partitioning: time 1.127e-05/0.006207, allocations: 9.219 kB / 0.5607 GB, free: 30.47 MB / 446.1 MB Notification: Performance of Cleanup: time 1.073e-05/0.006223, allocations: 5.156 kB / 0.5607 GB, free: 30.47 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001065/0.006334, allocations: 69.78 kB / 0.5608 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Tearing: time 1.339e-05/0.006357, allocations: 6 kB / 0.5608 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Initialization: time 3.81e-07/0.006362, allocations: 0 / 0.5608 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Tearing: time 8.52e-07/0.006368, allocations: 0.7188 kB / 0.5608 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Categorize: time 8.196e-06/0.006382, allocations: 1.094 kB / 0.5608 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Solve: time 0.0001043/0.006492, allocations: 36.14 kB / 0.5608 GB, free: 30.42 MB / 446.1 MB Notification: Performance of Jacobian: time 3.537e-06/0.006501, allocations: 0 / 0.5608 GB, free: 30.42 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 3.803e-05/0.006544, allocations: 26.59 kB / 0.5608 GB, free: 30.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.0008458/0.007395, allocations: 0.8645 MB / 0.5617 GB, free: 29.63 MB / 446.1 MB Notification: Performance of Templates: time 0.003728/0.01113, allocations: 0.7487 MB / 0.5624 GB, free: 29.6 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