Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001778/0.001778, allocations: 96.42 kB / 19.71 MB, free: 2.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002164/0.002164, allocations: 210 kB / 23.01 MB, free: 4.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.533/3.533, allocations: 0.49 GB / 0.7958 GB, free: 35.37 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") translateModel(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|yR1.1.|yI1.1.|yR2.1.|yR2.2.|yI2.1.|yI2.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.779e-05, allocations: 2.281 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange): time 0.001966/0.001993, allocations: 0.5559 MB / 1.156 GB, free: 24.94 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.004128, allocations: 1.265 MB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.13e-05/0.004159, allocations: 1.906 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.004292, allocations: 6.781 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.404e-05/0.004356, allocations: 3 kB / 1.157 GB, free: 24.08 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008243/0.005181, allocations: 291.8 kB / 1.157 GB, free: 23.94 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.000206/0.005387, allocations: 82.88 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 5.256e-05/0.005439, allocations: 6.016 kB / 1.157 GB, free: 23.92 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.005557, allocations: 29.97 kB / 1.157 GB, free: 23.91 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001091/0.005666, allocations: 40.06 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.005691, allocations: 2.156 kB / 1.157 GB, free: 23.9 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004497/0.006141, allocations: 235.7 kB / 1.157 GB, free: 23.82 MB / 0.9044 GB Notification: Performance of combineBinaries: time 0.000138/0.006279, allocations: 83.59 kB / 1.158 GB, free: 23.78 MB / 0.9044 GB Notification: Performance of replaceArrayConstructors: time 3.244e-05/0.006311, allocations: 25.52 kB / 1.158 GB, free: 23.77 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.023e-05/0.006342, allocations: 9.062 kB / 1.158 GB, free: 23.76 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.035e-06/0.00635, allocations: 1.094 kB / 1.158 GB, free: 23.76 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 (0) * Number of variables: 0 (0) Notification: Performance of [SIM] Bindings: time 0.0007579/0.007108, allocations: 366.7 kB / 1.158 GB, free: 23.43 MB / 0.9044 GB Notification: Performance of [SIM] FunctionAlias: time 2.919e-05/0.007137, allocations: 18.14 kB / 1.158 GB, free: 23.4 MB / 0.9044 GB Notification: Performance of [SIM] Early Inline: time 0.0002304/0.007367, allocations: 175.1 kB / 1.158 GB, free: 23.3 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 1: time 0.0001681/0.007535, allocations: 137.4 kB / 1.158 GB, free: 23.18 MB / 0.9044 GB Notification: Performance of [SIM] Alias: time 0.0001305/0.007666, allocations: 120 kB / 1.158 GB, free: 23.05 MB / 0.9044 GB Notification: Performance of [SIM] Simplify 2: time 0.0001417/0.007808, allocations: 139.1 kB / 1.158 GB, free: 22.93 MB / 0.9044 GB Notification: Performance of [SIM] Remove Stream: time 0.0001185/0.007926, allocations: 95.8 kB / 1.159 GB, free: 22.86 MB / 0.9044 GB Notification: Performance of [SIM] Detect States: time 0.0001699/0.008096, allocations: 131.2 kB / 1.159 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Events: time 7.103e-06/0.008103, allocations: 1.375 kB / 1.159 GB, free: 22.72 MB / 0.9044 GB Notification: Performance of [SIM] Partitioning: time 2.256e-05/0.008126, allocations: 9.594 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] Causalize: time 7.243e-06/0.008133, allocations: 2.688 kB / 1.159 GB, free: 22.71 MB / 0.9044 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001473/0.00828, allocations: 119.6 kB / 1.159 GB, free: 22.68 MB / 0.9044 GB Notification: Performance of [INI] Simplify: time 0.001303/0.009584, allocations: 241.1 kB / 1.159 GB, free: 22.49 MB / 0.9044 GB Notification: Performance of [INI] Inline: time 0.0002413/0.009825, allocations: 147.3 kB / 1.159 GB, free: 22.44 MB / 0.9044 GB Notification: Performance of [INI] Partitioning: time 1.837e-05/0.009843, allocations: 13.31 kB / 1.159 GB, free: 22.42 MB / 0.9044 GB Notification: Performance of [INI] Cleanup: time 5.19e-05/0.009895, allocations: 28.09 kB / 1.159 GB, free: 22.41 MB / 0.9044 GB Notification: Performance of [INI] Causalize: time 0.0004302/0.01033, allocations: 94.8 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [INI] Tearing: time 1.787e-05/0.01034, allocations: 9.406 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Initialization: time 4.91e-07/0.01034, allocations: 2.469 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Remove Dummies: time 2.154e-06/0.01035, allocations: 1.469 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Tearing: time 9.22e-07/0.01035, allocations: 0 / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Categorize: time 4.479e-06/0.01035, allocations: 0.75 kB / 1.159 GB, free: 22.38 MB / 0.9044 GB Notification: Performance of [SIM] Solve: time 4.578e-05/0.0104, allocations: 9 kB / 1.159 GB, free: 22.37 MB / 0.9044 GB Notification: Performance of [SIM] Jacobian: time 5.41e-06/0.0104, allocations: 4 kB / 1.159 GB, free: 22.37 MB / 0.9044 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: ......... 0 * 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) {} * Number of discrete variables: ................. 0 (0) {} * Number of clocks: ............................. 0 (0) {} * 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:0) * Number of for-loop strong components: ......... 0 (resizable: 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: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 1 (resizable: 1, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.9e-05/0.01045, allocations: 26.28 kB / 1.159 GB, free: 22.35 MB / 0.9044 GB Notification: Performance of SimCode: time 0.002323/0.01277, allocations: 0.6824 MB / 1.16 GB, free: 22.04 MB / 0.9044 GB Notification: Performance of Templates: time 0.008549/0.02132, allocations: 2.601 MB / 1.163 GB, free: 21.73 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.makefile [Timeout 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange -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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.o Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange.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.1.0+maint.om/Resources/C-Sources" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_Buildings_Utilities_IO_Python_3_8_Functions_Examples_Exchange -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_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:112:3: warning: implicit declaration of function 'pythonExchangeValues' is invalid in C99 [-Wimplicit-function-declaration] pythonExchangeValues(MMC_STRINGDATA(_moduleName), MMC_STRINGDATA(_functionName), MMC_STRINGDATA(_pythonPath), (const double*) _dblWri_c89, _nDblWri_ext, (double*) _dblRea_c89, _nDblRea_ext, (const int*) _intWri_c89, _nIntWri_ext, (int*) _intRea_c89, _nIntRea_ext, (const char**) _strWri_c89, _nStrWri_ext, _pytObj_ext, _passPythonObject_ext); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:172:3: warning: implicit declaration of function 'ModelicaInternal_print' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_print(MMC_STRINGDATA(_string), MMC_STRINGDATA(_fileName)); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:183:17: warning: implicit declaration of function 'ModelicaStrings_compare' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_compare(MMC_STRINGDATA(_string1), MMC_STRINGDATA(_string2), _caseSensitive_ext); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:270:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:383:17: warning: implicit declaration of function 'ModelicaStrings_substring' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:383:15: warning: incompatible integer to pointer conversion assigning to 'const char *' from 'int' [-Wint-conversion] _result_ext = ModelicaStrings_substring(MMC_STRINGDATA(_string), _startIndex_ext, _endIndex_ext); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:409:3: warning: implicit declaration of function 'ModelicaInternal_getenv' is invalid in C99 [-Wimplicit-function-declaration] ModelicaInternal_getenv(MMC_STRINGDATA(_name), _convertToSlash_ext, &_content_ext, &_exist_ext); ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:3: warning: implicit declaration of function 'Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get' is invalid in C99 [-Wimplicit-function-declaration] Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:97: error: member reference base type 'int' is not a structure or union Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData);; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:79: error: use of undeclared identifier 'm' Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.c:432:85: error: use of undeclared identifier '__omcQ_24i1' Buildings_Utilities_IO_Python__3__8_Functions_Examples_Exchange_M_array_get(m, 1, __omcQ_24i1)._pytObj = omc_Buildings_Utilities_IO_Python__3__8_Functions_BaseClasses_PythonObject_constructor(threadData);; ^ 8 warnings and 3 errors generated. make: *** [: Buildings_12_Buildings.Utilities.IO.Python_3_8.Functions.Examples.Exchange_functions.o] Error 1 [Calling os._exit(0), Time elapsed: 7.472293892875314] Failed to read output from testmodel.py, exit status != 0: 0.030404382850974798 0.045768876 0.036217511 Calling exit ...