Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110.5 kB / 16.38 MB, free: 6.48 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.001168/0.001167, allocations: 190.5 kB / 17.31 MB, free: 5.797 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.783/1.783, allocations: 292.3 MB / 0.5496 GB, free: 17.45 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.717e-05, allocations: 5.797 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.002417/0.002462, allocations: 1.256 MB / 0.6741 GB, free: 4.594 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004893/0.007368, allocations: 3.359 MB / 0.6774 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.007415, allocations: 0 / 0.6774 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.571e-05/0.007489, allocations: 0 / 0.6774 GB, free: 1.219 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Math/package.mo:1125:3-1182:12:writable] Warning: Pure function 'Modelica.Math.Matrices.solve' contains a call to impure function 'Modelica.Math.Matrices.LAPACK.dgesv_vec'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/gFunction.mo:2:1-295:14:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction' contains a call to impure function 'Modelica.Math.Matrices.solve'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:261:3-308:15:writable] Warning: Pure function 'Modelica.Utilities.Strings.findLast' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:216:3-259:11:writable] Warning: Pure function 'Modelica.Utilities.Strings.find' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/LoadAggregation/temperatureResponseMatrix.mo:2:1-106:30:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.temperatureResponseMatrix' contains a call to impure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.gFunction'. Notification: Performance of NFTyping.typeBindings: time 0.002809/0.0103, allocations: 0.9899 MB / 0.6784 GB, free: 232 kB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 8.996e-05/0.0104, allocations: 39.89 kB / 0.6784 GB, free: 192 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.022e-05/0.01048, allocations: 19.92 kB / 0.6784 GB, free: 172 kB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.01054, allocations: 0 / 0.6784 GB, free: 172 kB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.01057, allocations: 7.984 kB / 0.6784 GB, free: 164 kB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.752e-05/0.01062, allocations: 4 kB / 0.6784 GB, free: 160 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.947e-06/0.01063, allocations: 0 / 0.6784 GB, free: 160 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001709/0.01235, allocations: 1.443 MB / 0.6798 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of combineBinaries: time 4.418e-05/0.0124, allocations: 19.84 kB / 0.6799 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.104e-05/0.01242, allocations: 3.906 kB / 0.6799 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.528e-05/0.01244, allocations: 4 kB / 0.6799 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.022e-05/0.01246, allocations: 3.938 kB / 0.6799 GB, free: 14.68 MB / 0.5606 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.0002792/0.01274, allocations: 181.1 kB / 0.6801 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 5.339e-05/0.0128, allocations: 23.89 kB / 0.6801 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of Early Inline: time 9.415e-05/0.0129, allocations: 56.34 kB / 0.6801 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplify1: time 5.751e-06/0.01292, allocations: 0 / 0.6801 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of Alias: time 0.0001958/0.01312, allocations: 88.69 kB / 0.6802 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of simplify2: time 2.655e-06/0.01313, allocations: 0 / 0.6802 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Events: time 1.36e-05/0.01315, allocations: 3.984 kB / 0.6802 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of Detect States: time 4.715e-05/0.0132, allocations: 28.23 kB / 0.6802 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of Partitioning: time 4.035e-05/0.01325, allocations: 20.34 kB / 0.6803 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0001017/0.01335, allocations: 48.11 kB / 0.6803 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 3.846e-05/0.0134, allocations: 52.3 kB / 0.6804 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of Inline: time 9.625e-05/0.0135, allocations: 72.47 kB / 0.6804 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of Partitioning: time 1.586e-05/0.01353, allocations: 20.2 kB / 0.6804 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of Cleanup: time 6.933e-06/0.01354, allocations: 0 / 0.6804 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of Causalize: time 7.801e-05/0.01363, allocations: 52.09 kB / 0.6805 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of Tearing: time 8.406e-06/0.01364, allocations: 3.938 kB / 0.6805 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Initialization: time 3e-07/0.01365, allocations: 0 / 0.6805 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Tearing: time 6.61e-07/0.01365, allocations: 0 / 0.6805 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Categorize: time 5.871e-06/0.01366, allocations: 0 / 0.6805 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Solve: time 2.201e-05/0.01369, allocations: 4.375 kB / 0.6805 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of Jacobian: time 3.547e-06/0.0137, allocations: 4 kB / 0.6805 GB, free: 13.75 MB / 0.5606 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: ................. 1 (1) {$FUN_2} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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: ........... 0 (scalar:0, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:1) * 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 3.766e-05/0.01374, allocations: 23.09 kB / 0.6805 GB, free: 13.74 MB / 0.5606 GB Notification: Performance of SimCode: time 0.004293/0.01804, allocations: 3.918 MB / 0.6844 GB, free: 9.855 MB / 0.5606 GB Notification: Performance of Templates: time 0.01128/0.02934, allocations: 7.227 MB / 0.6914 GB, free: 2.676 MB / 0.5606 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix -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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_LoadAggregation_Validation_TemperatureResponseMatrix -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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:30:27: error: use of undeclared identifier '_OMC_LIT10' tmpMeta1 = stringAppend(_OMC_LIT10,_sha); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:31:36: error: use of undeclared identifier '_OMC_LIT11' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT11); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:52:62: error: use of undeclared identifier '_OMC_LIT12' omc_Modelica_Utilities_Files_createDirectory(threadData, _OMC_LIT12); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:54:62: error: use of undeclared identifier '_OMC_LIT13' omc_Modelica_Utilities_Files_createDirectory(threadData, _OMC_LIT13); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:56:88: error: use of undeclared identifier '_OMC_LIT14' _writegFun = omc_Modelica_Utilities_Streams_writeRealMatrix(threadData, _pathSave, _OMC_LIT14, _TStep, 0 /* false */, _OMC_LIT15); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:56:123: error: use of undeclared identifier '_OMC_LIT15' _writegFun = omc_Modelica_Utilities_Streams_writeRealMatrix(threadData, _pathSave, _OMC_LIT14, _TStep, 0 /* false */, _OMC_LIT15); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:59:93: error: use of undeclared identifier '_OMC_LIT14' real_array_copy_data(omc_Modelica_Utilities_Streams_readRealMatrix(threadData, _pathSave, _OMC_LIT14, _nTimTot, ((modelica_integer) 2), 1 /* true */), _TStep); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:542:59: error: use of undeclared identifier '_OMC_LIT18' cat_alloc_real_array(((modelica_integer) 1), &tmp9, 3, &_OMC_LIT18, &tmp5, &_tLon); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1025:24: error: use of undeclared identifier '_OMC_LIT19' real_array_copy_data(_OMC_LIT19, _P); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1028:24: error: use of undeclared identifier '_OMC_LIT20' real_array_copy_data(_OMC_LIT20, _Q); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1031:24: error: use of undeclared identifier '_OMC_LIT21' real_array_copy_data(_OMC_LIT21, _R); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1034:24: error: use of undeclared identifier '_OMC_LIT22' real_array_copy_data(_OMC_LIT22, _S); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1147:24: error: use of undeclared identifier '_OMC_LIT23' real_array_copy_data(_OMC_LIT23, _P); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1150:24: error: use of undeclared identifier '_OMC_LIT24' real_array_copy_data(_OMC_LIT24, _Q); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1153:24: error: use of undeclared identifier '_OMC_LIT25' real_array_copy_data(_OMC_LIT25, _R); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1156:24: error: use of undeclared identifier '_OMC_LIT26' real_array_copy_data(_OMC_LIT26, _S); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1270:24: error: use of undeclared identifier '_OMC_LIT19' real_array_copy_data(_OMC_LIT19, _P); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1273:24: error: use of undeclared identifier '_OMC_LIT20' real_array_copy_data(_OMC_LIT20, _Q); ^ Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1276:24: error: use of undeclared identifier '_OMC_LIT27' real_array_copy_data(_OMC_LIT27, _R); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o] Error 1