Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001102/0.001102, allocations: 106.4 kB / 16.38 MB, free: 6.484 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.001053/0.001053, 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 4.0.0+maint.om/package.mo): time 1.141/1.141, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001878/0.001878, allocations: 289.8 kB / 291.4 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7995/0.7995, allocations: 169.3 MB / 0.4989 GB, free: 4.457 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.016e-05/2.017e-05, allocations: 5.656 kB / 0.5966 GB, free: 14.48 MB / 414.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix): time 0.001904/0.001936, allocations: 1.253 MB / 0.5978 GB, free: 13.23 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005553/0.0075, allocations: 4.478 MB / 0.6022 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.007531, allocations: 0 / 0.6022 GB, free: 8.742 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.636e-05/0.007575, allocations: 0.7812 kB / 0.6022 GB, free: 8.742 MB / 414.1 MB [/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/BuildingSystems 2.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.002722/0.01031, allocations: 1.525 MB / 0.6037 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 7.103e-05/0.01039, allocations: 31.89 kB / 0.6037 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 5.092e-05/0.01045, allocations: 19.92 kB / 0.6038 GB, free: 7.172 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.272e-05/0.01048, allocations: 4 kB / 0.6038 GB, free: 7.168 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.641e-05/0.01051, allocations: 5.438 kB / 0.6038 GB, free: 7.164 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.256e-05/0.01054, allocations: 11.92 kB / 0.6038 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 7.333e-06/0.01056, allocations: 0 / 0.6038 GB, free: 7.152 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002178/0.01274, allocations: 2.232 MB / 0.606 GB, free: 4.918 MB / 414.1 MB Notification: Performance of combineBinaries: time 2.969e-05/0.01278, allocations: 17.14 kB / 0.606 GB, free: 4.902 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 8.797e-06/0.01279, allocations: 7.906 kB / 0.606 GB, free: 4.895 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 1.304e-05/0.01281, allocations: 4.438 kB / 0.606 GB, free: 4.891 MB / 414.1 MB Notification: Performance of FrontEnd: time 7.705e-06/0.01283, allocations: 0.5938 kB / 0.606 GB, free: 4.891 MB / 414.1 MB 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.000234/0.01306, allocations: 191.9 kB / 0.6062 GB, free: 4.605 MB / 414.1 MB Notification: Performance of FunctionAlias: time 3.802e-05/0.01311, allocations: 9.875 kB / 0.6062 GB, free: 4.598 MB / 414.1 MB Notification: Performance of Early Inline: time 7.431e-05/0.01319, allocations: 61.41 kB / 0.6062 GB, free: 4.512 MB / 414.1 MB Notification: Performance of simplify1: time 4.589e-06/0.0132, allocations: 0 / 0.6062 GB, free: 4.512 MB / 414.1 MB Notification: Performance of Alias: time 0.0001583/0.01336, allocations: 87.55 kB / 0.6063 GB, free: 4.383 MB / 414.1 MB Notification: Performance of simplify2: time 2.414e-06/0.01337, allocations: 4 kB / 0.6063 GB, free: 4.379 MB / 414.1 MB Notification: Performance of Events: time 1.017e-05/0.01339, allocations: 3.938 kB / 0.6063 GB, free: 4.375 MB / 414.1 MB Notification: Performance of Detect States: time 4.431e-05/0.01344, allocations: 25.22 kB / 0.6064 GB, free: 4.336 MB / 414.1 MB Notification: Performance of Partitioning: time 3.25e-05/0.01347, allocations: 17.73 kB / 0.6064 GB, free: 4.312 MB / 414.1 MB Notification: Performance of Causalize: time 8.154e-05/0.01356, allocations: 56.03 kB / 0.6064 GB, free: 4.25 MB / 414.1 MB Notification: Performance of After Index Reduction Inline: time 3.594e-05/0.0136, allocations: 46.66 kB / 0.6065 GB, free: 4.18 MB / 414.1 MB Notification: Performance of Inline: time 6.942e-05/0.01368, allocations: 76.97 kB / 0.6065 GB, free: 4.07 MB / 414.1 MB Notification: Performance of Partitioning: time 8.456e-06/0.01369, allocations: 8.625 kB / 0.6065 GB, free: 4.055 MB / 414.1 MB Notification: Performance of Cleanup: time 8.566e-06/0.01371, allocations: 12.69 kB / 0.6066 GB, free: 4.043 MB / 414.1 MB Notification: Performance of Causalize: time 8.131e-05/0.01379, allocations: 48.81 kB / 0.6066 GB, free: 3.988 MB / 414.1 MB Notification: Performance of Tearing: time 5.62e-06/0.01381, allocations: 4.844 kB / 0.6066 GB, free: 3.984 MB / 414.1 MB Notification: Performance of Initialization: time 2.8e-07/0.01381, allocations: 4.906 kB / 0.6066 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Tearing: time 1.823e-06/0.01382, allocations: 0 / 0.6066 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Categorize: time 6.713e-06/0.01383, allocations: 7.922 kB / 0.6066 GB, free: 3.973 MB / 414.1 MB Notification: Performance of Solve: time 1.969e-05/0.01385, allocations: 13.41 kB / 0.6066 GB, free: 3.961 MB / 414.1 MB Notification: Performance of Jacobian: time 2.104e-06/0.01386, allocations: 0 / 0.6066 GB, free: 3.961 MB / 414.1 MB 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 2.405e-05/0.01389, allocations: 9.828 kB / 0.6066 GB, free: 3.961 MB / 414.1 MB Notification: Performance of SimCode: time 0.004482/0.01837, allocations: 4.646 MB / 0.6112 GB, free: 15.41 MB / 430.1 MB Notification: Performance of Templates: time 0.01339/0.03178, allocations: 10.83 MB / 0.6218 GB, free: 4.617 MB / 430.1 MB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:40:27: error: use of undeclared identifier '_OMC_LIT10' tmpMeta1 = stringAppend(_OMC_LIT10,_sha); ^ BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.c:41:36: error: use of undeclared identifier '_OMC_LIT11' tmpMeta2 = stringAppend(tmpMeta1,_OMC_LIT11); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.LoadAggregation.Validation.TemperatureResponseMatrix_functions.o] Error 1