Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TStep",fileNamePrefix="Buildings_latest_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_latest_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.001092/0.001092, allocations: 111.8 kB / 16.43 MB, free: 6.461 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.001063/0.001063, allocations: 188.2 kB / 17.36 MB, free: 5.73 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.138/1.138, 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 11.0.1-master/package.mo): time 2.189/2.189, allocations: 461.9 MB / 0.7354 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.187e-05/1.189e-05, allocations: 2.5 kB / 1.055 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001606/0.001627, allocations: 1.263 MB / 1.056 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.005464/0.0071, allocations: 4.483 MB / 1.06 GB, free: 1.973 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.94e-05/0.007134, allocations: 4 kB / 1.06 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.735e-05/0.007176, allocations: 0 / 1.06 GB, free: 1.969 MB / 0.8262 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 11.0.1-master/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.002935/0.01013, allocations: 1.504 MB / 1.062 GB, free: 472 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.314e-05/0.01022, allocations: 39.91 kB / 1.062 GB, free: 432 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.281e-05/0.01028, allocations: 11.98 kB / 1.062 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.221e-05/0.01032, allocations: 3.984 kB / 1.062 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.645e-05/0.01034, allocations: 4 kB / 1.062 GB, free: 412 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.362e-05/0.01038, allocations: 7.938 kB / 1.062 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.01039, allocations: 4 kB / 1.062 GB, free: 400 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.01275, allocations: 2.239 MB / 1.064 GB, free: 14.15 MB / 0.8419 GB Notification: Performance of combineBinaries: time 2.891e-05/0.01279, allocations: 15.89 kB / 1.064 GB, free: 14.13 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.088e-05/0.01281, allocations: 7.891 kB / 1.064 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.563e-05/0.01283, allocations: 7.938 kB / 1.064 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of FrontEnd: time 7.655e-06/0.01284, allocations: 3.938 kB / 1.064 GB, free: 14.11 MB / 0.8419 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.0002773/0.01312, allocations: 210.8 kB / 1.064 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 4.325e-05/0.01317, allocations: 15.94 kB / 1.064 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of Early Inline: time 7.289e-05/0.01325, allocations: 60.36 kB / 1.064 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of simplify1: time 4.899e-06/0.01326, allocations: 0 / 1.064 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001718/0.01343, allocations: 88.7 kB / 1.064 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of simplify2: time 2.535e-06/0.01344, allocations: 0 / 1.064 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Events: time 1.066e-05/0.01346, allocations: 7.875 kB / 1.064 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of Detect States: time 4.544e-05/0.01351, allocations: 36.33 kB / 1.064 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of Partitioning: time 3.019e-05/0.01354, allocations: 12.12 kB / 1.064 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of Causalize: time 6.679e-05/0.01362, allocations: 40.09 kB / 1.064 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 4.042e-05/0.01366, allocations: 52.42 kB / 1.065 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001169/0.01379, allocations: 96.42 kB / 1.065 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.15e-05/0.0138, allocations: 12.06 kB / 1.065 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.362e-06/0.01382, allocations: 3.938 kB / 1.065 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002266/0.01609, allocations: 2.501 MB / 1.067 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Tearing: time 6.933e-06/0.0161, allocations: 0 / 1.067 GB, free: 10.69 MB / 0.8419 GB Notification: Performance of Initialization: time 1.623e-06/0.01611, allocations: 4 kB / 1.067 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Tearing: time 2.164e-06/0.01612, allocations: 3.984 kB / 1.067 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of Categorize: time 6.913e-06/0.01613, allocations: 7.938 kB / 1.067 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of Solve: time 2.947e-05/0.01616, allocations: 8 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.785e-06/0.01617, allocations: 0 / 1.067 GB, free: 10.66 MB / 0.8419 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.257e-05/0.0162, allocations: 11.17 kB / 1.067 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of SimCode: time 0.004576/0.02077, allocations: 4.563 MB / 1.072 GB, free: 6.156 MB / 0.8419 GB Notification: Performance of Templates: time 0.4156/0.4364, allocations: 10.88 MB / 1.082 GB, free: 22.16 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.o Buildings_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o] Error 1