Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cmp",fileNamePrefix="Buildings_latest_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.001222/0.001222, allocations: 110.2 kB / 16.42 MB, free: 6.484 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.001078/0.001078, allocations: 190 kB / 17.36 MB, free: 5.707 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.193/2.193, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.247e-05, allocations: 2.5 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001095/0.001119, allocations: 0.5821 MB / 1.055 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001008/0.002137, allocations: 0.9953 MB / 1.056 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.485e-05/0.002162, allocations: 0 / 1.056 GB, free: 6.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.002183, allocations: 3.938 kB / 1.056 GB, free: 6.074 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005503/0.002746, allocations: 103.8 kB / 1.056 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 2.785e-05/0.002783, allocations: 11.97 kB / 1.056 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.313e-05/0.002831, allocations: 4 kB / 1.056 GB, free: 5.957 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.002872, allocations: 7.938 kB / 1.056 GB, free: 5.949 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.449e-05/0.002891, allocations: 4 kB / 1.056 GB, free: 5.945 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.003064, allocations: 31.91 kB / 1.056 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.674e-06/0.003079, allocations: 4 kB / 1.056 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001257/0.003209, allocations: 79.91 kB / 1.056 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of combineBinaries: time 2.537e-05/0.003241, allocations: 19.84 kB / 1.056 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 4.498e-06/0.003249, allocations: 3.906 kB / 1.056 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 7.805e-06/0.003262, allocations: 4 kB / 1.056 GB, free: 5.805 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.05e-05/0.003276, allocations: 0 / 1.056 GB, free: 5.805 MB / 0.8262 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.0001947/0.003476, allocations: 161.3 kB / 1.057 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 1.397e-05/0.003499, allocations: 11.89 kB / 1.057 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of Early Inline: time 5.664e-05/0.00356, allocations: 48.36 kB / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of simplify1: time 2.144e-06/0.003567, allocations: 0 / 1.057 GB, free: 5.461 MB / 0.8262 GB Notification: Performance of Alias: time 3.98e-05/0.00361, allocations: 52.61 kB / 1.057 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simplify2: time 3.176e-06/0.003619, allocations: 7.938 kB / 1.057 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of Events: time 4.669e-05/0.003669, allocations: 15.94 kB / 1.057 GB, free: 5.348 MB / 0.8262 GB Notification: Performance of Detect States: time 4.438e-05/0.003719, allocations: 30.2 kB / 1.057 GB, free: 5.305 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.723e-05/0.003761, allocations: 24.11 kB / 1.057 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0001164/0.003882, allocations: 36.11 kB / 1.057 GB, free: 5.23 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 3.72e-05/0.003926, allocations: 56.55 kB / 1.057 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of Inline: time 0.0002008/0.004131, allocations: 158.7 kB / 1.057 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of Partitioning: time 9.528e-06/0.004148, allocations: 8.125 kB / 1.057 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Cleanup: time 5.07e-06/0.004157, allocations: 0 / 1.057 GB, free: 4.945 MB / 0.8262 GB Notification: Performance of Causalize: time 8.552e-05/0.004246, allocations: 64.09 kB / 1.057 GB, free: 4.875 MB / 0.8262 GB Notification: Performance of Tearing: time 7.244e-06/0.004261, allocations: 3.938 kB / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Initialization: time 3.5e-07/0.004265, allocations: 0 / 1.057 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of Tearing: time 8.11e-07/0.004271, allocations: 4 kB / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Categorize: time 4.659e-06/0.004279, allocations: 0 / 1.057 GB, free: 4.867 MB / 0.8262 GB Notification: Performance of Solve: time 8.158e-05/0.004364, allocations: 34.58 kB / 1.057 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.234e-06/0.004371, allocations: 0 / 1.057 GB, free: 4.836 MB / 0.8262 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 2.174e-05/0.004399, allocations: 19.02 kB / 1.057 GB, free: 4.824 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005799/0.004983, allocations: 0.8584 MB / 1.058 GB, free: 3.949 MB / 0.8262 GB Notification: Performance of Templates: time 0.008917/0.01391, allocations: 0.7498 MB / 1.059 GB, free: 3.242 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_latest_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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o Buildings_latest_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/Modelica 4.0.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:44:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:45:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ Buildings_latest_Buildings.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)); ^ Buildings_latest_Buildings.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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_latest_Buildings.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: *** [: Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1