Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader") translateModel(IBPSA.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001405/0.001405, allocations: 116.3 kB / 17.1 MB, free: 6.004 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.001632/0.001631, allocations: 194.1 kB / 18.03 MB, free: 5.082 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.572/1.572, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8658/0.8658, allocations: 115.3 MB / 407.2 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.864e-05/2.864e-05, allocations: 4.953 kB / 0.5583 GB, free: 32.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.IO.Files.Examples.CSVReader): time 0.002991/0.00303, allocations: 1.676 MB / 0.5599 GB, free: 31.27 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001984/0.005028, allocations: 1.508 MB / 0.5614 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.615e-05/0.005125, allocations: 1.219 kB / 0.5614 GB, free: 30.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000342/0.005474, allocations: 42.8 kB / 0.5614 GB, free: 30.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002545/0.005739, allocations: 64.61 kB / 0.5615 GB, free: 30.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.00606, allocations: 113.5 kB / 0.5616 GB, free: 30.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002078/0.006278, allocations: 132.8 kB / 0.5617 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.398e-05/0.00635, allocations: 9.391 kB / 0.5617 GB, free: 30.02 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.0065, allocations: 58.53 kB / 0.5618 GB, free: 29.99 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002203/0.006731, allocations: 48.27 kB / 0.5618 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.006766, allocations: 5.625 kB / 0.5618 GB, free: 29.97 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001416/0.006913, allocations: 64.16 kB / 0.5619 GB, free: 29.95 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001416/0.007063, allocations: 163.8 kB / 0.5621 GB, free: 29.84 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.839e-05/0.007128, allocations: 100.7 kB / 0.5622 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.007166, allocations: 13.78 kB / 0.5622 GB, free: 29.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.129e-05/0.007194, allocations: 6.625 kB / 0.5622 GB, free: 29.76 MB / 446.1 MB 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.0005939/0.007793, allocations: 0.5011 MB / 0.5627 GB, free: 29.32 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001193/0.00792, allocations: 33.83 kB / 0.5627 GB, free: 29.31 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001696/0.008097, allocations: 174.1 kB / 0.5629 GB, free: 29.18 MB / 446.1 MB Notification: Performance of simplify1: time 2.272e-05/0.008127, allocations: 8.469 kB / 0.5629 GB, free: 29.18 MB / 446.1 MB Notification: Performance of Alias: time 0.0003428/0.008476, allocations: 185.9 kB / 0.5631 GB, free: 29.02 MB / 446.1 MB Notification: Performance of simplify2: time 1.36e-05/0.008499, allocations: 11.3 kB / 0.5631 GB, free: 29.01 MB / 446.1 MB Notification: Performance of Events: time 0.0001193/0.008624, allocations: 60.09 kB / 0.5631 GB, free: 28.98 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001741/0.008806, allocations: 90.56 kB / 0.5632 GB, free: 28.91 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001147/0.008929, allocations: 91.09 kB / 0.5633 GB, free: 28.83 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004303/0.009366, allocations: 322.2 kB / 0.5636 GB, free: 28.69 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001933/0.009569, allocations: 220.6 kB / 0.5638 GB, free: 28.53 MB / 446.1 MB Notification: Performance of Inline: time 0.0004988/0.01008, allocations: 433 kB / 0.5642 GB, free: 28.26 MB / 446.1 MB Notification: Performance of Partitioning: time 2.934e-05/0.01012, allocations: 27.67 kB / 0.5643 GB, free: 28.24 MB / 446.1 MB Notification: Performance of Cleanup: time 2.752e-05/0.01015, allocations: 18.19 kB / 0.5643 GB, free: 28.23 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006669/0.01082, allocations: 477.8 kB / 0.5647 GB, free: 28.07 MB / 446.1 MB Notification: Performance of Tearing: time 1.104e-05/0.01084, allocations: 0 / 0.5647 GB, free: 28.07 MB / 446.1 MB Notification: Performance of Initialization: time 4.01e-07/0.01085, allocations: 7.656 kB / 0.5647 GB, free: 28.07 MB / 446.1 MB Notification: Performance of Tearing: time 3.306e-06/0.01086, allocations: 9.422 kB / 0.5647 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Categorize: time 1.129e-05/0.01088, allocations: 1.156 kB / 0.5647 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Solve: time 0.0001106/0.01099, allocations: 48.12 kB / 0.5648 GB, free: 28.05 MB / 446.1 MB Notification: Performance of Jacobian: time 3.356e-06/0.011, allocations: 0 / 0.5648 GB, free: 28.05 MB / 446.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: ......... 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.893e-05/0.01105, allocations: 25.27 kB / 0.5648 GB, free: 28.03 MB / 446.1 MB Notification: Performance of SimCode: time 0.002152/0.0132, allocations: 1.5 MB / 0.5663 GB, free: 27.02 MB / 446.1 MB Notification: Performance of Templates: time 0.005851/0.01907, allocations: 1.729 MB / 0.568 GB, free: 26.82 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_functions.o IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_functions.c IBPSA_latest_IBPSA.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)); ^ IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_records.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_01exo.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_02nls.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_03lsy.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_04set.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_05evt.o IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_05evt.c IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_05evt.c:105:23: note: to match this '{' const char *res[] = {"time >= pre(combiTimeTable.nextTimeEvent)", ^ 1 error generated. make: *** [: IBPSA_latest_IBPSA.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1