Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001203/0.001203, allocations: 104.7 kB / 16.38 MB, free: 6.492 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.001238/0.001238, allocations: 190.5 kB / 17.31 MB, free: 5.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.405/1.405, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.5496 GB, free: 17.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.697e-05/2.707e-05, allocations: 2.281 kB / 0.6729 GB, free: 5.891 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001797/0.001841, allocations: 0.5802 MB / 0.6734 GB, free: 5.312 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.00315, allocations: 0.9915 MB / 0.6744 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.958e-05/0.00318, allocations: 0 / 0.6744 GB, free: 4.305 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.529e-05/0.003202, allocations: 0 / 0.6744 GB, free: 4.305 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0006516/0.003865, allocations: 91.77 kB / 0.6745 GB, free: 4.215 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 3.011e-05/0.003903, allocations: 8 kB / 0.6745 GB, free: 4.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.003964, allocations: 11.94 kB / 0.6745 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.912e-05/0.004018, allocations: 0 / 0.6745 GB, free: 4.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.978e-05/0.004041, allocations: 7.984 kB / 0.6745 GB, free: 4.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.009e-05/0.004095, allocations: 11.92 kB / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.00411, allocations: 0 / 0.6745 GB, free: 4.176 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.004262, allocations: 75.92 kB / 0.6746 GB, free: 4.102 MB / 0.545 GB Notification: Performance of combineBinaries: time 3.415e-05/0.004303, allocations: 7.906 kB / 0.6746 GB, free: 4.094 MB / 0.545 GB Notification: Performance of replaceArrayConstructors: time 7.103e-06/0.004314, allocations: 11.84 kB / 0.6746 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 1.068e-05/0.004329, allocations: 0 / 0.6746 GB, free: 4.082 MB / 0.545 GB Notification: Performance of FrontEnd: time 9.729e-06/0.004344, allocations: 4 kB / 0.6746 GB, free: 4.078 MB / 0.545 GB 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.0002482/0.004596, allocations: 157.3 kB / 0.6748 GB, free: 3.824 MB / 0.545 GB Notification: Performance of FunctionAlias: time 1.756e-05/0.004619, allocations: 7.891 kB / 0.6748 GB, free: 3.816 MB / 0.545 GB Notification: Performance of Early Inline: time 8.592e-05/0.004711, allocations: 56.36 kB / 0.6748 GB, free: 3.734 MB / 0.545 GB Notification: Performance of simplify1: time 2.414e-06/0.00472, allocations: 0 / 0.6748 GB, free: 3.734 MB / 0.545 GB Notification: Performance of Alias: time 4.997e-05/0.004773, allocations: 48.61 kB / 0.6749 GB, free: 3.648 MB / 0.545 GB Notification: Performance of simplify2: time 1.022e-06/0.004779, allocations: 0 / 0.6749 GB, free: 3.648 MB / 0.545 GB Notification: Performance of Events: time 6.089e-05/0.004844, allocations: 11.94 kB / 0.6749 GB, free: 3.637 MB / 0.545 GB Notification: Performance of Detect States: time 0.0002177/0.005069, allocations: 39.27 kB / 0.6749 GB, free: 3.586 MB / 0.545 GB Notification: Performance of Partitioning: time 5.095e-05/0.005126, allocations: 20.11 kB / 0.675 GB, free: 3.559 MB / 0.545 GB Notification: Performance of Causalize: time 0.000139/0.005271, allocations: 48.11 kB / 0.675 GB, free: 3.504 MB / 0.545 GB Notification: Performance of After Index Reduction Inline: time 4.464e-05/0.005322, allocations: 60.33 kB / 0.6751 GB, free: 3.418 MB / 0.545 GB Notification: Performance of Inline: time 7.459e-05/0.005402, allocations: 76.73 kB / 0.6751 GB, free: 3.309 MB / 0.545 GB Notification: Performance of Partitioning: time 1.177e-05/0.00542, allocations: 16.12 kB / 0.6752 GB, free: 3.285 MB / 0.545 GB Notification: Performance of Cleanup: time 5.711e-06/0.005431, allocations: 0 / 0.6752 GB, free: 3.285 MB / 0.545 GB Notification: Performance of Causalize: time 7.58e-05/0.005511, allocations: 56.09 kB / 0.6752 GB, free: 3.223 MB / 0.545 GB Notification: Performance of Tearing: time 6.853e-06/0.005525, allocations: 0 / 0.6752 GB, free: 3.223 MB / 0.545 GB Notification: Performance of Initialization: time 3.01e-07/0.005529, allocations: 0 / 0.6752 GB, free: 3.223 MB / 0.545 GB Notification: Performance of Tearing: time 2.324e-06/0.005535, allocations: 0 / 0.6752 GB, free: 3.223 MB / 0.545 GB Notification: Performance of Categorize: time 9.427e-06/0.005548, allocations: 8.25 kB / 0.6752 GB, free: 3.215 MB / 0.545 GB Notification: Performance of Solve: time 3.117e-05/0.005584, allocations: 4 kB / 0.6752 GB, free: 3.211 MB / 0.545 GB Notification: Performance of Jacobian: time 2.725e-06/0.005591, allocations: 0 / 0.6752 GB, free: 3.211 MB / 0.545 GB 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: ........... 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: Performance of backend: time 3.107e-05/0.005626, allocations: 19.67 kB / 0.6752 GB, free: 3.199 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007163/0.006346, allocations: 0.8621 MB / 0.6761 GB, free: 2.32 MB / 0.545 GB Notification: Performance of Templates: time 0.0025/0.008857, allocations: 0.6753 MB / 0.6767 GB, free: 1.688 MB / 0.545 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/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=Buildings_8_Buildings_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 Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:42:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:43:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:128:15: warning: implicit declaration of function 'cryptographicsHash' is invalid in C99 [-Wimplicit-function-declaration] _sha1_ext = cryptographicsHash(MMC_STRINGDATA(_str)); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:128:13: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _sha1_ext = cryptographicsHash(MMC_STRINGDATA(_str)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 2 warnings and 2 errors generated. make: *** [: Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1