Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_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.00123/0.00123, allocations: 107.7 kB / 16.42 MB, free: 6.512 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.001301/0.001301, allocations: 196.2 kB / 17.35 MB, free: 5.754 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.282/1.282, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.253/1.253, allocations: 251.7 MB / 0.51 GB, free: 432 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.167e-05, allocations: 5.656 kB / 0.7264 GB, free: 4.691 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001284/0.001313, allocations: 0.5701 MB / 0.727 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001241/0.002566, allocations: 0.9849 MB / 0.728 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.782e-05/0.002593, allocations: 0 / 0.728 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.475e-05/0.002615, allocations: 4 kB / 0.728 GB, free: 3.121 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.0006636/0.003283, allocations: 91.78 kB / 0.728 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.718e-05/0.003328, allocations: 7.984 kB / 0.7281 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.624e-05/0.00338, allocations: 7.938 kB / 0.7281 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.037e-05/0.003425, allocations: 4 kB / 0.7281 GB, free: 3.012 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.942e-05/0.003449, allocations: 3.984 kB / 0.7281 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.914e-05/0.003492, allocations: 7.938 kB / 0.7281 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.065e-06/0.003505, allocations: 0 / 0.7281 GB, free: 3 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001579/0.003666, allocations: 79.91 kB / 0.7282 GB, free: 2.922 MB / 0.5606 GB Notification: Performance of combineBinaries: time 2.862e-05/0.003702, allocations: 11.84 kB / 0.7282 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 6.713e-06/0.003715, allocations: 11.91 kB / 0.7282 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.142e-05/0.00373, allocations: 4 kB / 0.7282 GB, free: 2.895 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.025e-06/0.003743, allocations: 0 / 0.7282 GB, free: 2.895 MB / 0.5606 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.0002258/0.003972, allocations: 157.3 kB / 0.7283 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 2.662e-05/0.004004, allocations: 15.88 kB / 0.7283 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of Early Inline: time 7.535e-05/0.004084, allocations: 44.36 kB / 0.7284 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of simplify1: time 4.118e-06/0.004093, allocations: 4 kB / 0.7284 GB, free: 2.551 MB / 0.5606 GB Notification: Performance of Alias: time 4.631e-05/0.004143, allocations: 48.62 kB / 0.7284 GB, free: 2.465 MB / 0.5606 GB Notification: Performance of simplify2: time 1.403e-06/0.004149, allocations: 3.938 kB / 0.7284 GB, free: 2.461 MB / 0.5606 GB Notification: Performance of Events: time 5.539e-05/0.00421, allocations: 15.94 kB / 0.7285 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of Detect States: time 5.36e-05/0.004269, allocations: 28.23 kB / 0.7285 GB, free: 2.402 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.437e-05/0.004329, allocations: 16.12 kB / 0.7285 GB, free: 2.379 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001411/0.004475, allocations: 56.09 kB / 0.7285 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 4.554e-05/0.004529, allocations: 56.67 kB / 0.7286 GB, free: 2.234 MB / 0.5606 GB Notification: Performance of Inline: time 0.0001253/0.004659, allocations: 96.41 kB / 0.7287 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of Partitioning: time 1.041e-05/0.004677, allocations: 8.125 kB / 0.7287 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Cleanup: time 9.959e-06/0.004691, allocations: 7.984 kB / 0.7287 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001141/0.004809, allocations: 80.06 kB / 0.7288 GB, free: 2 MB / 0.5606 GB Notification: Performance of Tearing: time 7.845e-06/0.004826, allocations: 8 kB / 0.7288 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Initialization: time 6.41e-07/0.004831, allocations: 0 / 0.7288 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of Tearing: time 1.844e-06/0.004838, allocations: 3.938 kB / 0.7288 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of Categorize: time 8.606e-06/0.00485, allocations: 0 / 0.7288 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of Solve: time 3.644e-05/0.00489, allocations: 4 kB / 0.7288 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.276e-06/0.004898, allocations: 0 / 0.7288 GB, free: 1.984 MB / 0.5606 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: ........... 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.387e-05/0.004935, allocations: 19.41 kB / 0.7288 GB, free: 1.977 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0008035/0.005746, allocations: 0.8632 MB / 0.7297 GB, free: 1.09 MB / 0.5606 GB Notification: Performance of Templates: time 0.00262/0.008376, allocations: 0.7207 MB / 0.7304 GB, free: 424 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_maint.7.0.x_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 7.0.3-maint.7.0.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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o Buildings_maint.7.0.x_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 7.0.3-maint.7.0.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_maint_7_0_x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:42:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:43:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1