Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001296/0.001296, allocations: 108.2 kB / 16.42 MB, free: 6.023 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.001042/0.001042, allocations: 185.3 kB / 17.35 MB, free: 5.617 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8965/0.8965, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.83e-05/2.831e-05, allocations: 6.344 kB / 0.5863 GB, free: 21.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001507/0.001545, allocations: 0.5542 MB / 0.5868 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.002755, allocations: 0.9855 MB / 0.5878 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.255e-05/0.002791, allocations: 2.531 kB / 0.5878 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.347e-05/0.00281, allocations: 0 / 0.5878 GB, free: 20.5 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006602/0.003487, allocations: 89.78 kB / 0.5879 GB, free: 20.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.064e-05/0.003527, allocations: 17.17 kB / 0.5879 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.003596, allocations: 2.906 kB / 0.5879 GB, free: 20.44 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.702e-05/0.003648, allocations: 5.344 kB / 0.5879 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.871e-05/0.003673, allocations: 6.75 kB / 0.5879 GB, free: 20.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.003906, allocations: 29.75 kB / 0.5879 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.004e-05/0.003922, allocations: 0 / 0.5879 GB, free: 20.42 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.004089, allocations: 77.41 kB / 0.588 GB, free: 20.38 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.371e-05/0.00413, allocations: 17.66 kB / 0.588 GB, free: 20.37 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 7.985e-06/0.004143, allocations: 14.77 kB / 0.588 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.239e-05/0.00416, allocations: 0 / 0.588 GB, free: 20.36 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.576e-05/0.004182, allocations: 2.125 kB / 0.588 GB, free: 20.36 MB / 446.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.0002445/0.004431, allocations: 158 kB / 0.5882 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FunctionAlias: time 1.867e-05/0.004457, allocations: 9.25 kB / 0.5882 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Early Inline: time 6.066e-05/0.004522, allocations: 47.67 kB / 0.5882 GB, free: 20.05 MB / 446.1 MB Notification: Performance of simplify1: time 6.192e-06/0.004535, allocations: 7.453 kB / 0.5882 GB, free: 20.05 MB / 446.1 MB Notification: Performance of Alias: time 3.867e-05/0.004577, allocations: 53.69 kB / 0.5883 GB, free: 19.96 MB / 446.1 MB Notification: Performance of simplify2: time 1.122e-06/0.004583, allocations: 0 / 0.5883 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001986/0.004787, allocations: 37.66 kB / 0.5883 GB, free: 19.91 MB / 446.1 MB Notification: Performance of Events: time 6.163e-05/0.004854, allocations: 8.406 kB / 0.5883 GB, free: 19.91 MB / 446.1 MB Notification: Performance of Partitioning: time 4.531e-05/0.004905, allocations: 21 kB / 0.5884 GB, free: 19.89 MB / 446.1 MB Notification: Performance of Causalize: time 0.000168/0.005078, allocations: 35.58 kB / 0.5884 GB, free: 19.86 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 4.063e-05/0.005127, allocations: 59.58 kB / 0.5884 GB, free: 19.79 MB / 446.1 MB Notification: Performance of Inline: time 0.0002588/0.005391, allocations: 160.3 kB / 0.5886 GB, free: 19.66 MB / 446.1 MB Notification: Performance of Partitioning: time 9.337e-06/0.005409, allocations: 16.97 kB / 0.5886 GB, free: 19.64 MB / 446.1 MB Notification: Performance of Cleanup: time 8.075e-06/0.005421, allocations: 3.984 kB / 0.5886 GB, free: 19.63 MB / 446.1 MB Notification: Performance of Causalize: time 9.972e-05/0.005525, allocations: 72.36 kB / 0.5887 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Tearing: time 1.045e-05/0.005543, allocations: 1.5 kB / 0.5887 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Initialization: time 2.81e-07/0.005548, allocations: 1.844 kB / 0.5887 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Tearing: time 9.61e-07/0.005554, allocations: 0 / 0.5887 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Categorize: time 6.362e-06/0.005565, allocations: 1.25 kB / 0.5887 GB, free: 19.59 MB / 446.1 MB Notification: Performance of Solve: time 8.851e-05/0.005658, allocations: 33 kB / 0.5887 GB, free: 19.57 MB / 446.1 MB Notification: Performance of Jacobian: time 3.296e-06/0.005667, allocations: 0 / 0.5887 GB, free: 19.57 MB / 446.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.831e-05/0.0057, allocations: 20.77 kB / 0.5887 GB, free: 19.56 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006589/0.006365, allocations: 0.8682 MB / 0.5896 GB, free: 18.76 MB / 446.1 MB Notification: Performance of Templates: time 0.002826/0.009203, allocations: 0.7322 MB / 0.5903 GB, free: 18.4 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f IDEAS_dev_IDEAS.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/IDEAS 3.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o IDEAS_dev_IDEAS.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/IDEAS 3.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:42:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:43:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ IDEAS_dev_IDEAS.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)); ^ IDEAS_dev_IDEAS.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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:140: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: *** [: IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1