Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001261/0.001262, allocations: 109.5 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.001135/0.001135, allocations: 185.9 kB / 17.36 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.153/1.153, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.931/1.931, allocations: 390.2 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.268e-05/1.268e-05, allocations: 2.281 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001124/0.001144, allocations: 0.5654 MB / 0.9521 GB, free: 7.098 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001081/0.002236, allocations: 0.9876 MB / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.00226, allocations: 0 / 0.953 GB, free: 6.094 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.002278, allocations: 3.938 kB / 0.953 GB, free: 6.09 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0005462/0.002837, allocations: 95.78 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 2.707e-05/0.002873, allocations: 8 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.178e-05/0.002921, allocations: 7.984 kB / 0.9531 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.37e-05/0.002959, allocations: 3.984 kB / 0.9531 GB, free: 5.977 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.55e-05/0.002978, allocations: 4 kB / 0.9531 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.003157, allocations: 39.84 kB / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 7.764e-06/0.00317, allocations: 0 / 0.9532 GB, free: 5.934 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000135/0.003309, allocations: 71.94 kB / 0.9532 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of combineBinaries: time 2.406e-05/0.003341, allocations: 11.89 kB / 0.9533 GB, free: 5.852 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 6.151e-06/0.003353, allocations: 15.84 kB / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.514e-06/0.003365, allocations: 0 / 0.9533 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.09e-05/0.003381, allocations: 3.938 kB / 0.9533 GB, free: 5.832 MB / 0.7325 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.000199/0.003584, allocations: 165.3 kB / 0.9534 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 1.423e-05/0.003603, allocations: 7.891 kB / 0.9534 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of Early Inline: time 5.928e-05/0.003667, allocations: 48.42 kB / 0.9535 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of simplify1: time 2.635e-06/0.003675, allocations: 3.938 kB / 0.9535 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of Alias: time 4.169e-05/0.003721, allocations: 52.56 kB / 0.9535 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of simplify2: time 2.474e-06/0.003728, allocations: 4 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of Detect States: time 4.048e-05/0.003773, allocations: 24.25 kB / 0.9536 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of Events: time 4.923e-05/0.003827, allocations: 15.92 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.429e-05/0.003867, allocations: 12.12 kB / 0.9536 GB, free: 5.316 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0001187/0.003992, allocations: 40.11 kB / 0.9536 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 3.98e-05/0.004039, allocations: 56.55 kB / 0.9537 GB, free: 5.188 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001926/0.004237, allocations: 145.8 kB / 0.9538 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.082e-05/0.004259, allocations: 16.05 kB / 0.9538 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of Cleanup: time 6.533e-06/0.004269, allocations: 4 kB / 0.9538 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of Causalize: time 9.005e-05/0.004365, allocations: 64.09 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of Tearing: time 7.303e-06/0.00438, allocations: 0 / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of Initialization: time 3e-07/0.004384, allocations: 0 / 0.9539 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of Tearing: time 4.228e-06/0.004392, allocations: 7.938 kB / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of Categorize: time 5.29e-06/0.004401, allocations: 0 / 0.9539 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of Solve: time 7.622e-05/0.00448, allocations: 27.97 kB / 0.9539 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.525e-06/0.004488, allocations: 0 / 0.9539 GB, free: 4.883 MB / 0.7325 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.561e-05/0.004517, allocations: 25.61 kB / 0.954 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0005575/0.005079, allocations: 0.8678 MB / 0.9548 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of Templates: time 0.002252/0.007343, allocations: 0.73 MB / 0.9555 GB, free: 3.297 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile make -j1 -f Buildings_9_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 9.1.3-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.o Buildings_9_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 9.1.3-maint.9.1.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_9_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_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:42:19: error: use of undeclared identifier '_OMC_LIT4' _formatStrGen = _OMC_LIT4; ^ Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.c:43:19: error: use of undeclared identifier '_OMC_LIT5' _formatStrCoo = _OMC_LIT5; ^ Buildings_9_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_9_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)); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_9_Buildings.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: *** [: Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_functions.o] Error 1