Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") translateModel(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 115.3 kB / 16.43 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.001095/0.001095, 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.149/1.149, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.241/2.241, allocations: 469.8 MB / 0.7432 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.805e-05/1.807e-05, allocations: 2.281 kB / 1.066 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002356/0.002382, allocations: 1.69 MB / 1.067 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001729/0.004123, allocations: 1.507 MB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.99e-05/0.004195, allocations: 8 kB / 1.069 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0002372/0.004438, allocations: 39.77 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002019/0.004648, allocations: 67.62 kB / 1.069 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002399/0.004904, allocations: 118.4 kB / 1.069 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001753/0.005088, allocations: 135.6 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.026e-05/0.005136, allocations: 5.125 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.00525, allocations: 51.78 kB / 1.069 GB, free: 9.965 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.00541, allocations: 51.7 kB / 1.069 GB, free: 9.914 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.148e-05/0.005439, allocations: 4 kB / 1.069 GB, free: 9.91 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001077/0.005552, allocations: 63.97 kB / 1.069 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of combineBinaries: time 0.0001134/0.005671, allocations: 154.2 kB / 1.07 GB, free: 9.695 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 5.757e-05/0.005734, allocations: 102.4 kB / 1.07 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.435e-05/0.005764, allocations: 19.88 kB / 1.07 GB, free: 9.574 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.579e-05/0.005784, allocations: 3.984 kB / 1.07 GB, free: 9.57 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: 7 (6) * Number of variables: 7 (6) Notification: Performance of Bindings: time 0.0004556/0.006245, allocations: 435.7 kB / 1.07 GB, free: 9.043 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 9.193e-05/0.006344, allocations: 42.19 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001305/0.006481, allocations: 144.2 kB / 1.07 GB, free: 8.836 MB / 0.8419 GB Notification: Performance of simplify1: time 5.135e-05/0.006539, allocations: 44.42 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of Alias: time 0.0002221/0.006766, allocations: 133.6 kB / 1.07 GB, free: 8.586 MB / 0.8419 GB Notification: Performance of simplify2: time 4.568e-05/0.006821, allocations: 52.59 kB / 1.071 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of Detect States: time 0.0001117/0.006938, allocations: 65.62 kB / 1.071 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of Events: time 7.989e-05/0.007026, allocations: 43.89 kB / 1.071 GB, free: 8.387 MB / 0.8419 GB Notification: Performance of Partitioning: time 9.286e-05/0.007127, allocations: 88.45 kB / 1.071 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0003239/0.007457, allocations: 280.6 kB / 1.071 GB, free: 7.965 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001512/0.007618, allocations: 176.2 kB / 1.071 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of Inline: time 0.001136/0.008761, allocations: 398.6 kB / 1.072 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.847e-05/0.00879, allocations: 12.12 kB / 1.072 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of Cleanup: time 4.664e-05/0.008841, allocations: 51.94 kB / 1.072 GB, free: 7.297 MB / 0.8419 GB Notification: Performance of Causalize: time 0.000441/0.009286, allocations: 376 kB / 1.072 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of Tearing: time 9.689e-06/0.009306, allocations: 4 kB / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of Initialization: time 3.51e-07/0.009311, allocations: 0 / 1.072 GB, free: 6.922 MB / 0.8419 GB Notification: Performance of Tearing: time 2.756e-06/0.009317, allocations: 4 kB / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of Categorize: time 6.191e-06/0.009327, allocations: 0 / 1.072 GB, free: 6.918 MB / 0.8419 GB Notification: Performance of Solve: time 7.985e-05/0.009411, allocations: 43.89 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of Jacobian: time 2.254e-06/0.009419, allocations: 0 / 1.072 GB, free: 6.875 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: ......... 4 * 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: .................... 2 (2) {combiTimeTable.nextTimeEvent, combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 6 (5) {$SEV_1, $SEV_0, $TEV_2[$i1], $TEV_1, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 7 (scalar:7, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, 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: ........... 15 (scalar:14, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 3 (generic: 3, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 3.33e-05/0.009457, allocations: 35.98 kB / 1.072 GB, free: 6.844 MB / 0.8419 GB Notification: Performance of SimCode: time 0.001625/0.01109, allocations: 1.515 MB / 1.074 GB, free: 5.488 MB / 0.8419 GB Notification: Performance of Templates: time 0.003488/0.01459, allocations: 1.745 MB / 1.075 GB, free: 3.754 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c:249:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c:269:20: warning: implicit declaration of function 'ModelicaStrings_skipWhiteSpace' is invalid in C99 [-Wimplicit-function-declaration] _nextIndex_ext = ModelicaStrings_skipWhiteSpace(MMC_STRINGDATA(_string), _startIndex_ext); ^ 2 warnings generated. 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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_records.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_records.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_01exo.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_01exo.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_02nls.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_02nls.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_03lsy.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_03lsy.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_04set.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_04set.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_11_Buildings_Utilities_IO_Files_Examples_CSVReader -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_11_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c:105:23: note: to match this '{' const char *res[] = {"time >= $PRE.combiTimeTable.nextTimeEvent", ^ 1 error generated. make: *** [: Buildings_11_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1