Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_10_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.001155/0.001155, allocations: 105.6 kB / 16.42 MB, free: 5.945 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.001052/0.001052, allocations: 187.4 kB / 17.36 MB, free: 5.547 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.165/1.165, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.102/2.102, allocations: 437 MB / 0.7112 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.65e-05/1.651e-05, allocations: 4.531 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001626/0.00165, allocations: 1.271 MB / 1.02 GB, free: 8.148 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005573/0.007233, allocations: 4.483 MB / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.861e-05/0.007262, allocations: 0 / 1.025 GB, free: 3.645 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.066e-05/0.007308, allocations: 3.984 kB / 1.025 GB, free: 3.641 MB / 0.795 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeBindings: time 0.002908/0.01022, allocations: 1.506 MB / 1.026 GB, free: 2.133 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.828e-05/0.01031, allocations: 31.91 kB / 1.026 GB, free: 2.102 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.11e-05/0.01037, allocations: 11.98 kB / 1.026 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.01041, allocations: 4 kB / 1.026 GB, free: 2.086 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.171e-05/0.01044, allocations: 7.984 kB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.936e-05/0.01048, allocations: 11.88 kB / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 9.478e-06/0.01049, allocations: 0 / 1.026 GB, free: 2.066 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002568/0.01307, allocations: 2.246 MB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of combineBinaries: time 2.952e-05/0.01311, allocations: 7.906 kB / 1.029 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 1.018e-05/0.01312, allocations: 7.906 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.6e-05/0.01314, allocations: 7.938 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.638e-06/0.01316, allocations: 4 kB / 1.029 GB, free: 15.79 MB / 0.8106 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.0002817/0.01344, allocations: 218.8 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 4.187e-05/0.01349, allocations: 11.95 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of Early Inline: time 6.811e-05/0.01356, allocations: 56.36 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of simplify1: time 6.191e-06/0.01357, allocations: 3.984 kB / 1.029 GB, free: 15.38 MB / 0.8106 GB Notification: Performance of Alias: time 0.0001713/0.01375, allocations: 88.61 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of simplify2: time 4.679e-06/0.01377, allocations: 11.97 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of Detect States: time 0.0001431/0.01391, allocations: 32.14 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of Events: time 1.105e-05/0.01393, allocations: 3.984 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of Partitioning: time 2.78e-05/0.01396, allocations: 16.31 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of Causalize: time 6.297e-05/0.01403, allocations: 36.11 kB / 1.029 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 4.183e-05/0.01408, allocations: 52.36 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of Inline: time 0.01093/0.02501, allocations: 1.032 MB / 1.03 GB, free: 14.05 MB / 0.8106 GB Notification: Performance of Partitioning: time 1.356e-05/0.02504, allocations: 16.12 kB / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of Cleanup: time 8.676e-06/0.02505, allocations: 0 / 1.03 GB, free: 14.03 MB / 0.8106 GB Notification: Performance of Causalize: time 0.002376/0.02743, allocations: 2.509 MB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Tearing: time 1.055e-05/0.02745, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Initialization: time 4.21e-07/0.02746, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Tearing: time 1.733e-06/0.02746, allocations: 0 / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Categorize: time 8.155e-06/0.02748, allocations: 3.984 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of Solve: time 3.758e-05/0.02752, allocations: 15.94 kB / 1.033 GB, free: 11.47 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.665e-06/0.02753, allocations: 0 / 1.033 GB, free: 11.47 MB / 0.8106 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: ........... 1 (scalar:0, array:1, 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.309e-05/0.02756, allocations: 23.17 kB / 1.033 GB, free: 11.46 MB / 0.8106 GB Notification: Performance of SimCode: time 0.006073/0.03364, allocations: 4.587 MB / 1.037 GB, free: 6.934 MB / 0.8106 GB Notification: Performance of Templates: time 0.0157/0.04936, allocations: 10.89 MB / 1.048 GB, free: 12.08 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f Buildings_10_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.o Buildings_10_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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_10_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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:40:27: error: use of undeclared identifier '_OMC_LIT10' tmpMeta1 = stringAppend(_OMC_LIT10,_sha); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:41:36: error: use of undeclared identifier '_OMC_LIT11' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT11); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:68:62: error: use of undeclared identifier '_OMC_LIT12' omc_Modelica_Utilities_Files_createDirectory(threadData, _OMC_LIT12); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:70:62: error: use of undeclared identifier '_OMC_LIT13' omc_Modelica_Utilities_Files_createDirectory(threadData, _OMC_LIT13); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:72:88: error: use of undeclared identifier '_OMC_LIT14' _writegFun = omc_Modelica_Utilities_Streams_writeRealMatrix(threadData, _pathSave, _OMC_LIT14, _TStep, 0 /* false */, _OMC_LIT15); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:72:123: error: use of undeclared identifier '_OMC_LIT15' _writegFun = omc_Modelica_Utilities_Streams_writeRealMatrix(threadData, _pathSave, _OMC_LIT14, _TStep, 0 /* false */, _OMC_LIT15); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:75: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_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:865:24: error: use of undeclared identifier '_OMC_LIT21' real_array_copy_data(_OMC_LIT21, _p); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:1420:60: error: use of undeclared identifier '_OMC_LIT22' cat_alloc_real_array(((modelica_integer) 1), &tmp24, 3, &_OMC_LIT22, &tmp20, &_tLon); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2299:24: error: use of undeclared identifier '_OMC_LIT23' real_array_copy_data(_OMC_LIT23, _P); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2302:24: error: use of undeclared identifier '_OMC_LIT24' real_array_copy_data(_OMC_LIT24, _Q); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2305:24: error: use of undeclared identifier '_OMC_LIT25' real_array_copy_data(_OMC_LIT25, _R); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2308:24: error: use of undeclared identifier '_OMC_LIT26' real_array_copy_data(_OMC_LIT26, _S); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2421:24: error: use of undeclared identifier '_OMC_LIT27' real_array_copy_data(_OMC_LIT27, _P); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2424:24: error: use of undeclared identifier '_OMC_LIT28' real_array_copy_data(_OMC_LIT28, _Q); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2427:24: error: use of undeclared identifier '_OMC_LIT29' real_array_copy_data(_OMC_LIT29, _R); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2430:24: error: use of undeclared identifier '_OMC_LIT30' real_array_copy_data(_OMC_LIT30, _S); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2544:24: error: use of undeclared identifier '_OMC_LIT23' real_array_copy_data(_OMC_LIT23, _P); ^ Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:2547:24: error: use of undeclared identifier '_OMC_LIT24' real_array_copy_data(_OMC_LIT24, _Q); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o] Error 1