Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001228/0.001228, allocations: 111.8 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.001292/0.001292, allocations: 184.2 kB / 17.35 MB, free: 5.754 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002207/0.002207, allocations: 289.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9516/0.9516, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.588e-05/3.589e-05, allocations: 6.219 kB / 0.6821 GB, free: 7 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001814/0.001858, allocations: 0.5638 MB / 0.6826 GB, free: 6.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00155/0.00342, allocations: 1.003 MB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.811e-05/0.00346, allocations: 3.938 kB / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.011e-05/0.003485, allocations: 0 / 0.6836 GB, free: 5.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008164/0.004324, allocations: 91.78 kB / 0.6837 GB, free: 5.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.585e-05/0.004369, allocations: 11.98 kB / 0.6837 GB, free: 5.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.661e-05/0.004445, allocations: 7.938 kB / 0.6837 GB, free: 5.305 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.688e-05/0.004517, allocations: 8 kB / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.903e-05/0.004541, allocations: 0 / 0.6837 GB, free: 5.297 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.004827, allocations: 39.91 kB / 0.6838 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.004846, allocations: 0 / 0.6838 GB, free: 5.258 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001847/0.005035, allocations: 79.91 kB / 0.6838 GB, free: 5.18 MB / 494.1 MB Notification: Performance of combineBinaries: time 4.178e-05/0.005084, allocations: 7.906 kB / 0.6839 GB, free: 5.172 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.443e-05/0.005103, allocations: 15.83 kB / 0.6839 GB, free: 5.156 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.309e-05/0.005121, allocations: 0 / 0.6839 GB, free: 5.156 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.628e-05/0.005141, allocations: 0 / 0.6839 GB, free: 5.156 MB / 494.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.0003982/0.005546, allocations: 165.3 kB / 0.684 GB, free: 4.895 MB / 494.1 MB Notification: Performance of FunctionAlias: time 2.018e-05/0.005572, allocations: 3.938 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001032/0.005679, allocations: 52.36 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of simplify1: time 5.31e-06/0.005691, allocations: 3.984 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of Alias: time 6.868e-05/0.005764, allocations: 64.56 kB / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simplify2: time 1.162e-06/0.005769, allocations: 0 / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of Detect States: time 6.85e-05/0.005842, allocations: 22.72 kB / 0.6842 GB, free: 4.672 MB / 494.1 MB Notification: Performance of Events: time 7.322e-05/0.005924, allocations: 15.94 kB / 0.6842 GB, free: 4.656 MB / 494.1 MB Notification: Performance of Partitioning: time 5.357e-05/0.005985, allocations: 20.11 kB / 0.6842 GB, free: 4.629 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001975/0.006188, allocations: 36.11 kB / 0.6842 GB, free: 4.586 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 4.986e-05/0.006246, allocations: 52.36 kB / 0.6843 GB, free: 4.508 MB / 494.1 MB Notification: Performance of Inline: time 0.0003013/0.006555, allocations: 185.8 kB / 0.6845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of Partitioning: time 1.264e-05/0.006577, allocations: 20.05 kB / 0.6845 GB, free: 4.273 MB / 494.1 MB Notification: Performance of Cleanup: time 9.688e-06/0.006591, allocations: 4 kB / 0.6845 GB, free: 4.27 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001091/0.006705, allocations: 68.09 kB / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of Tearing: time 1.129e-05/0.006725, allocations: 0 / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of Initialization: time 2.91e-07/0.006729, allocations: 0 / 0.6846 GB, free: 4.195 MB / 494.1 MB Notification: Performance of Tearing: time 2.415e-06/0.006737, allocations: 3.938 kB / 0.6846 GB, free: 4.191 MB / 494.1 MB Notification: Performance of Categorize: time 6.372e-06/0.006749, allocations: 4 kB / 0.6846 GB, free: 4.188 MB / 494.1 MB Notification: Performance of Solve: time 9.755e-05/0.006851, allocations: 27.97 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of Jacobian: time 4.469e-06/0.006861, allocations: 0 / 0.6846 GB, free: 4.16 MB / 494.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 6.564e-05/0.006931, allocations: 24.34 kB / 0.6846 GB, free: 4.145 MB / 494.1 MB Notification: Performance of SimCode: time 0.0009607/0.007897, allocations: 0.857 MB / 0.6854 GB, free: 3.266 MB / 494.1 MB Notification: Performance of Templates: time 0.003258/0.01117, allocations: 0.7547 MB / 0.6862 GB, free: 2.562 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f BuildingSystems_BuildingSystems.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/BuildingSystems 2.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o BuildingSystems_BuildingSystems.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/BuildingSystems 2.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:44:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:45:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ BuildingSystems_BuildingSystems.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)); ^ BuildingSystems_BuildingSystems.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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1