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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001143/0.001143, allocations: 104.1 kB / 16.42 MB, free: 6.457 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.00109/0.00109, allocations: 188.3 kB / 17.35 MB, free: 5.699 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.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.236/2.236, allocations: 472.6 MB / 0.7459 GB, free: 0.5234 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.148e-05, allocations: 4.953 kB / 1.07 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001625/0.001646, allocations: 1.259 MB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005508/0.007164, allocations: 4.491 MB / 1.076 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.801e-05/0.007192, allocations: 0 / 1.076 GB, free: 3.844 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.649e-05/0.007234, allocations: 0 / 1.076 GB, free: 3.844 MB / 0.8419 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 12.0.0-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.002708/0.009946, allocations: 1.488 MB / 1.077 GB, free: 2.355 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 6.834e-05/0.01002, allocations: 43.88 kB / 1.077 GB, free: 2.312 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.413e-05/0.01009, allocations: 8 kB / 1.077 GB, free: 2.305 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 3.646e-05/0.01013, allocations: 8 kB / 1.077 GB, free: 2.297 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.82e-05/0.01015, allocations: 15.86 kB / 1.077 GB, free: 2.281 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.556e-05/0.01019, allocations: 7.984 kB / 1.077 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 8.516e-06/0.0102, allocations: 0 / 1.077 GB, free: 2.273 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002226/0.01243, allocations: 2.239 MB / 1.079 GB, free: 32 kB / 0.8419 GB Notification: Performance of combineBinaries: time 2.927e-05/0.01248, allocations: 11.91 kB / 1.079 GB, free: 20 kB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 9.718e-06/0.01249, allocations: 11.84 kB / 1.079 GB, free: 8 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.111e-05/0.01251, allocations: 4 kB / 1.079 GB, free: 4 kB / 0.8419 GB Notification: Performance of FrontEnd: time 7.064e-06/0.01252, allocations: 0 / 1.079 GB, free: 4 kB / 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.4081/0.4207, allocations: 209.2 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 5.589e-05/0.4207, allocations: 21.59 kB / 1.08 GB, free: 12.02 MB / 0.8419 GB Notification: Performance of Early Inline: time 8.259e-05/0.4208, allocations: 63.7 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of simplify1: time 9.508e-06/0.4208, allocations: 1.531 kB / 1.08 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of Alias: time 0.0001741/0.421, allocations: 91.48 kB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of simplify2: time 4.067e-06/0.421, allocations: 1.062 kB / 1.08 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of Detect States: time 3.573e-05/0.4211, allocations: 25.8 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Events: time 1.154e-05/0.4211, allocations: 3.891 kB / 1.08 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of Partitioning: time 2.96e-05/0.4211, allocations: 17.56 kB / 1.08 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of Causalize: time 6.26e-05/0.4212, allocations: 36.03 kB / 1.08 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 2.842e-05/0.4212, allocations: 52.83 kB / 1.08 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of Inline: time 0.003045/0.4243, allocations: 1.044 MB / 1.081 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.077e-06/0.4243, allocations: 14.22 kB / 1.081 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of Cleanup: time 6.823e-06/0.4243, allocations: 6.125 kB / 1.081 GB, free: 11.61 MB / 0.8419 GB Notification: Performance of Causalize: time 0.002223/0.4265, allocations: 2.509 MB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Tearing: time 8.556e-06/0.4265, allocations: 1.125 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.4266, allocations: 0 / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Tearing: time 1.663e-06/0.4266, allocations: 1.156 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Categorize: time 6.212e-06/0.4266, allocations: 0.875 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Solve: time 3.236e-05/0.4266, allocations: 4.188 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.825e-06/0.4266, allocations: 3.109 kB / 1.083 GB, free: 10.98 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.308e-05/0.4266, allocations: 30.92 kB / 1.083 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of SimCode: time 0.00535/0.432, allocations: 4.598 MB / 1.088 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of Templates: time 0.01722/0.4492, allocations: 10.89 MB / 1.099 GB, free: 8.723 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