Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader") translateModel(BuildingSystems.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001066/0.001067, allocations: 108.5 kB / 16.42 MB, free: 6.527 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.001051/0.001052, allocations: 192.3 kB / 17.36 MB, free: 5.73 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.147/1.147, 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.001834/0.001834, allocations: 279.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8351/0.8351, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.172e-05/2.172e-05, allocations: 2.281 kB / 0.682 GB, free: 7.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.Files.Examples.CSVReader): time 0.002325/0.002356, allocations: 1.68 MB / 0.6837 GB, free: 5.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001703/0.00407, allocations: 1.514 MB / 0.6851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.004162, allocations: 0 / 0.6851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002351/0.004403, allocations: 39.77 kB / 0.6852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002112/0.00463, allocations: 63.64 kB / 0.6852 GB, free: 3.746 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.004907, allocations: 115.6 kB / 0.6853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001664/0.005082, allocations: 127.6 kB / 0.6855 GB, free: 3.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.798e-05/0.005127, allocations: 13.11 kB / 0.6855 GB, free: 3.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/0.005255, allocations: 59.7 kB / 0.6855 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008426/0.01369, allocations: 47.77 kB / 0.6856 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.581e-05/0.01373, allocations: 4 kB / 0.6856 GB, free: 3.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000147/0.01388, allocations: 63.97 kB / 0.6857 GB, free: 3.324 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001332/0.01402, allocations: 158.2 kB / 0.6858 GB, free: 3.168 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 6.385e-05/0.01409, allocations: 110.4 kB / 0.6859 GB, free: 3.059 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.945e-05/0.01413, allocations: 15.94 kB / 0.6859 GB, free: 3.043 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.996e-05/0.01416, allocations: 0 / 0.6859 GB, free: 3.043 MB / 494.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.0004976/0.01466, allocations: 0.4997 MB / 0.6864 GB, free: 2.441 MB / 494.1 MB Notification: Performance of FunctionAlias: time 8.289e-05/0.01475, allocations: 43.62 kB / 0.6865 GB, free: 2.402 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001445/0.0149, allocations: 172.2 kB / 0.6866 GB, free: 2.207 MB / 494.1 MB Notification: Performance of simplify1: time 2.174e-05/0.01493, allocations: 15.98 kB / 0.6866 GB, free: 2.191 MB / 494.1 MB Notification: Performance of Alias: time 0.0002443/0.01518, allocations: 177.8 kB / 0.6868 GB, free: 1.973 MB / 494.1 MB Notification: Performance of simplify2: time 1.206e-05/0.0152, allocations: 11.98 kB / 0.6868 GB, free: 1.961 MB / 494.1 MB Notification: Performance of Events: time 8.762e-05/0.01529, allocations: 51.89 kB / 0.6869 GB, free: 1.91 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001148/0.01541, allocations: 85.77 kB / 0.6869 GB, free: 1.812 MB / 494.1 MB Notification: Performance of Partitioning: time 0.0001048/0.01552, allocations: 104.4 kB / 0.687 GB, free: 1.68 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003271/0.01586, allocations: 320.6 kB / 0.6873 GB, free: 1.336 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001762/0.01604, allocations: 212.4 kB / 0.6876 GB, free: 1.102 MB / 494.1 MB Notification: Performance of Inline: time 0.0004133/0.01646, allocations: 426.6 kB / 0.688 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of Partitioning: time 2.47e-05/0.0165, allocations: 32.09 kB / 0.688 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of Cleanup: time 2.845e-05/0.01653, allocations: 19.92 kB / 0.688 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of Causalize: time 0.0004839/0.01702, allocations: 478.4 kB / 0.6885 GB, free: 120 kB / 494.1 MB Notification: Performance of Tearing: time 5.811e-06/0.01704, allocations: 3.938 kB / 0.6885 GB, free: 116 kB / 494.1 MB Notification: Performance of Initialization: time 3.71e-07/0.01704, allocations: 0 / 0.6885 GB, free: 116 kB / 494.1 MB Notification: Performance of Tearing: time 2.134e-06/0.01705, allocations: 0 / 0.6885 GB, free: 116 kB / 494.1 MB Notification: Performance of Categorize: time 8.697e-06/0.01706, allocations: 8 kB / 0.6885 GB, free: 108 kB / 494.1 MB Notification: Performance of Solve: time 8.493e-05/0.01715, allocations: 51.94 kB / 0.6885 GB, free: 56 kB / 494.1 MB Notification: Performance of Jacobian: time 3.517e-06/0.01716, allocations: 0 / 0.6885 GB, free: 56 kB / 494.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.304e-05/0.0172, allocations: 31.45 kB / 0.6886 GB, free: 40 kB / 494.1 MB Notification: Performance of SimCode: time 0.2416/0.2588, allocations: 1.483 MB / 0.69 GB, free: 13.32 MB / 494.1 MB Notification: Performance of Templates: time 0.004129/0.263, allocations: 1.765 MB / 0.6917 GB, free: 13.18 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_functions.o BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_functions.c BuildingSystems_BuildingSystems.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)); ^ BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_records.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_01exo.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_02nls.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_03lsy.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_04set.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_05evt.o BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_05evt.c BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_05evt.c:105:23: note: to match this '{' const char *res[] = {"time >= pre(combiTimeTable.nextTimeEvent)", ^ 1 error generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1