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.00117/0.00117, allocations: 112.9 kB / 16.42 MB, free: 6.523 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.001024/0.001024, allocations: 183.2 kB / 17.35 MB, free: 5.746 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.15 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.111/2.111, allocations: 437 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.346e-05, allocations: 2.281 kB / 1.019 GB, free: 9.477 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001693/0.001715, allocations: 1.269 MB / 1.02 GB, free: 8.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.005624/0.007349, allocations: 4.485 MB / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.04e-05/0.007382, allocations: 0 / 1.025 GB, free: 3.691 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.051e-05/0.007428, allocations: 0 / 1.025 GB, free: 3.691 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.002958/0.01039, allocations: 1.499 MB / 1.026 GB, free: 2.191 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 6.761e-05/0.01047, allocations: 31.91 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 5.491e-05/0.01053, allocations: 23.92 kB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.53e-05/0.01057, allocations: 11.97 kB / 1.026 GB, free: 2.125 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.659e-05/0.0106, allocations: 4 kB / 1.026 GB, free: 2.121 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.388e-05/0.01063, allocations: 7.938 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-06/0.01065, allocations: 0 / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002313/0.01297, allocations: 2.235 MB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of combineBinaries: time 3.731e-05/0.01301, allocations: 15.89 kB / 1.029 GB, free: 15.86 MB / 0.8106 GB Notification: Performance of replaceArrayConstructors: time 1.252e-05/0.01303, allocations: 15.89 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 1.829e-05/0.01306, allocations: 7.938 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.138e-06/0.01307, allocations: 0 / 1.029 GB, free: 15.84 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.0002712/0.01334, allocations: 210.8 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of FunctionAlias: time 4.596e-05/0.0134, allocations: 27.81 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of Early Inline: time 6.998e-05/0.01347, allocations: 56.34 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of simplify1: time 6.352e-06/0.01348, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of Alias: time 0.0001748/0.01366, allocations: 80.92 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of simplify2: time 3.967e-06/0.01368, allocations: 3.984 kB / 1.029 GB, free: 15.29 MB / 0.8106 GB Notification: Performance of Detect States: time 4.297e-05/0.01372, allocations: 28.14 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of Events: time 1.152e-05/0.01374, allocations: 8 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of Partitioning: time 2.835e-05/0.01377, allocations: 12.12 kB / 1.029 GB, free: 15.21 MB / 0.8106 GB Notification: Performance of Causalize: time 6.482e-05/0.01384, allocations: 44.11 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of After Index Reduction Inline: time 3.919e-05/0.01389, allocations: 52.34 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Inline: time 0.01098/0.02487, allocations: 1.029 MB / 1.03 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of Partitioning: time 1.085e-05/0.02489, allocations: 16.06 kB / 1.03 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of Cleanup: time 1.246e-05/0.02491, allocations: 8 kB / 1.03 GB, free: 14.08 MB / 0.8106 GB Notification: Performance of Causalize: time 0.002275/0.02719, allocations: 2.513 MB / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Tearing: time 9.598e-06/0.02721, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Initialization: time 3e-07/0.02722, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Tearing: time 1.723e-06/0.02722, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Categorize: time 6.382e-06/0.02723, allocations: 0 / 1.033 GB, free: 11.54 MB / 0.8106 GB Notification: Performance of Solve: time 3.803e-05/0.02727, allocations: 15.92 kB / 1.033 GB, free: 11.52 MB / 0.8106 GB Notification: Performance of Jacobian: time 2.295e-06/0.02728, allocations: 0 / 1.033 GB, free: 11.52 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 2.926e-05/0.02731, allocations: 24.88 kB / 1.033 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of SimCode: time 0.005141/0.03246, allocations: 4.578 MB / 1.037 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of Templates: time 0.01411/0.04659, allocations: 10.89 MB / 1.048 GB, free: 12.14 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