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.001102/0.001102, allocations: 104.1 kB / 16.42 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.001083/0.001083, allocations: 189.9 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.172/1.172, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001883/0.001883, allocations: 293.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8411/0.8411, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.721e-05/1.722e-05, allocations: 4.953 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001165/0.00119, allocations: 0.5676 MB / 0.6826 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002259, allocations: 0.9953 MB / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.595e-05/0.002285, allocations: 0 / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.308e-05/0.002305, allocations: 0 / 0.6836 GB, free: 5.418 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005924/0.002901, allocations: 99.77 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.763e-05/0.002939, allocations: 11.94 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.341e-05/0.002989, allocations: 7.984 kB / 0.6837 GB, free: 5.301 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.671e-05/0.003031, allocations: 8 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.378e-05/0.00305, allocations: 0 / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001833/0.003237, allocations: 40.78 kB / 0.6838 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.595e-06/0.00325, allocations: 0 / 0.6838 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.003389, allocations: 83.84 kB / 0.6838 GB, free: 5.172 MB / 494.1 MB Notification: Performance of combineBinaries: time 2.971e-05/0.003427, allocations: 15.89 kB / 0.6839 GB, free: 5.156 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 7.014e-06/0.003439, allocations: 10.84 kB / 0.6839 GB, free: 5.148 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.005e-05/0.003453, allocations: 4 kB / 0.6839 GB, free: 5.145 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.045e-05/0.003468, allocations: 0 / 0.6839 GB, free: 5.145 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.0002026/0.003674, allocations: 157.3 kB / 0.684 GB, free: 4.891 MB / 494.1 MB Notification: Performance of FunctionAlias: time 1.335e-05/0.003693, allocations: 7.969 kB / 0.684 GB, free: 4.883 MB / 494.1 MB Notification: Performance of Early Inline: time 6.353e-05/0.00376, allocations: 48.36 kB / 0.6841 GB, free: 4.809 MB / 494.1 MB Notification: Performance of simplify1: time 4.959e-06/0.003772, allocations: 8 kB / 0.6841 GB, free: 4.801 MB / 494.1 MB Notification: Performance of Alias: time 5.054e-05/0.003827, allocations: 56.58 kB / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of simplify2: time 1.232e-06/0.003832, allocations: 0 / 0.6841 GB, free: 4.707 MB / 494.1 MB Notification: Performance of Events: time 5.145e-05/0.003888, allocations: 27.84 kB / 0.6842 GB, free: 4.68 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001613/0.004054, allocations: 28.19 kB / 0.6842 GB, free: 4.637 MB / 494.1 MB Notification: Performance of Partitioning: time 3.872e-05/0.0041, allocations: 16.12 kB / 0.6842 GB, free: 4.613 MB / 494.1 MB Notification: Performance of Causalize: time 0.0001257/0.004231, allocations: 40.09 kB / 0.6842 GB, free: 4.566 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 3.873e-05/0.004278, allocations: 56.36 kB / 0.6843 GB, free: 4.484 MB / 494.1 MB Notification: Performance of Inline: time 0.0002131/0.004496, allocations: 152.9 kB / 0.6844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of Partitioning: time 8.797e-06/0.004513, allocations: 8.125 kB / 0.6845 GB, free: 4.289 MB / 494.1 MB Notification: Performance of Cleanup: time 7.675e-06/0.004524, allocations: 4 kB / 0.6845 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Causalize: time 9.047e-05/0.004619, allocations: 56.09 kB / 0.6845 GB, free: 4.223 MB / 494.1 MB Notification: Performance of Tearing: time 6.132e-06/0.004633, allocations: 8 kB / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of Initialization: time 3.01e-07/0.004637, allocations: 0 / 0.6845 GB, free: 4.215 MB / 494.1 MB Notification: Performance of Tearing: time 1.783e-06/0.004643, allocations: 3.938 kB / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of Categorize: time 5.611e-06/0.004652, allocations: 0 / 0.6845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of Solve: time 8.858e-05/0.004744, allocations: 39.95 kB / 0.6846 GB, free: 4.172 MB / 494.1 MB Notification: Performance of Jacobian: time 4.107e-06/0.004754, allocations: 4 kB / 0.6846 GB, free: 4.168 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 2.667e-05/0.004784, allocations: 19.16 kB / 0.6846 GB, free: 4.16 MB / 494.1 MB Notification: Performance of SimCode: time 0.0006221/0.005412, allocations: 0.8611 MB / 0.6854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of Templates: time 0.002262/0.007685, allocations: 0.754 MB / 0.6862 GB, free: 2.574 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