Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001137/0.001137, allocations: 110.5 kB / 16.42 MB, free: 6.035 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.001085/0.001085, allocations: 186.1 kB / 17.36 MB, free: 5.621 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.168/1.168, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.947/1.947, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.483e-05/1.485e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.707 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002367/0.00239, allocations: 1.688 MB / 0.9531 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.004155, allocations: 1.507 MB / 0.9546 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.004225, allocations: 0 / 0.9546 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002251/0.004455, allocations: 39.77 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.004668, allocations: 59.64 kB / 0.9547 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002393/0.004918, allocations: 123.6 kB / 0.9548 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001674/0.005093, allocations: 127.6 kB / 0.9549 GB, free: 4.152 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.005141, allocations: 9.125 kB / 0.9549 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.005259, allocations: 59.7 kB / 0.955 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.005423, allocations: 51.77 kB / 0.955 GB, free: 4.031 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.005449, allocations: 4 kB / 0.955 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000105/0.00556, allocations: 67.91 kB / 0.9551 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.0001119/0.005678, allocations: 154.2 kB / 0.9552 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 5.56e-05/0.005739, allocations: 106.4 kB / 0.9553 GB, free: 3.703 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.005769, allocations: 15.94 kB / 0.9553 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.531e-05/0.005788, allocations: 0 / 0.9553 GB, free: 3.688 MB / 0.7325 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.0005051/0.006297, allocations: 0.4976 MB / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 9.115e-05/0.006394, allocations: 47.16 kB / 0.9559 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0001514/0.006552, allocations: 176.2 kB / 0.956 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of simplify1: time 1.805e-05/0.006576, allocations: 3.984 kB / 0.9561 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of Alias: time 0.000244/0.006826, allocations: 185.8 kB / 0.9562 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of simplify2: time 1.215e-05/0.006846, allocations: 11.98 kB / 0.9562 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001037/0.006954, allocations: 68.19 kB / 0.9563 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of Events: time 8.325e-05/0.007044, allocations: 51.84 kB / 0.9564 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001078/0.007162, allocations: 104.5 kB / 0.9565 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0003443/0.007513, allocations: 332.6 kB / 0.9568 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001704/0.007692, allocations: 216.4 kB / 0.957 GB, free: 1.746 MB / 0.7325 GB Notification: Performance of Inline: time 0.0004106/0.008108, allocations: 429.8 kB / 0.9574 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.165e-05/0.008149, allocations: 29.22 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.239e-05/0.008177, allocations: 23.92 kB / 0.9574 GB, free: 1.234 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0005119/0.008693, allocations: 494.2 kB / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of Tearing: time 8.566e-06/0.00871, allocations: 0 / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of Initialization: time 1.653e-06/0.008716, allocations: 0 / 0.9579 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of Tearing: time 2.265e-06/0.008722, allocations: 3.938 kB / 0.9579 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of Categorize: time 9.087e-06/0.008735, allocations: 4 kB / 0.9579 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of Solve: time 8.632e-05/0.008825, allocations: 47.89 kB / 0.958 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of Jacobian: time 3.967e-06/0.008835, allocations: 0 / 0.958 GB, free: 0.6914 MB / 0.7325 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.011e-05/0.008869, allocations: 28.97 kB / 0.958 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of SimCode: time 0.001706/0.01058, allocations: 1.504 MB / 0.9595 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of Templates: time 0.003634/0.01422, allocations: 1.727 MB / 0.9611 GB, free: 13.61 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c Buildings_9_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_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_records.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_01exo.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_02nls.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_03lsy.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_04set.o Buildings_9_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_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c Buildings_9_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ Buildings_9_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_9_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1