Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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_latest_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_latest_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.001172/0.001172, allocations: 107.7 kB / 16.42 MB, free: 6.477 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.001117/0.001118, allocations: 187.2 kB / 17.35 MB, free: 5.707 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.221/1.221, allocations: 222.9 MB / 241 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.306/2.306, allocations: 461.9 MB / 0.7354 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.696e-05/1.698e-05, allocations: 2.281 kB / 1.055 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002368/0.002393, allocations: 1.686 MB / 1.056 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001759/0.004169, allocations: 1.518 MB / 1.058 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.441e-05/0.004244, allocations: 0 / 1.058 GB, free: 4.504 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002598/0.004509, allocations: 39.77 kB / 1.058 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002189/0.004743, allocations: 63.64 kB / 1.058 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.005009, allocations: 119.5 kB / 1.058 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.005199, allocations: 131.6 kB / 1.058 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.592e-05/0.005252, allocations: 9.109 kB / 1.058 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.005375, allocations: 55.77 kB / 1.058 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.005568, allocations: 47.77 kB / 1.058 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.005601, allocations: 4 kB / 1.058 GB, free: 4.043 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.005723, allocations: 71.91 kB / 1.058 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.000115/0.005844, allocations: 154.2 kB / 1.058 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.71e-05/0.005907, allocations: 102.4 kB / 1.059 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/0.005939, allocations: 15.88 kB / 1.059 GB, free: 3.703 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.514e-05/0.005959, allocations: 4 kB / 1.059 GB, free: 3.699 MB / 0.8262 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.0005131/0.006476, allocations: 0.5036 MB / 1.059 GB, free: 3.094 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 9.97e-05/0.006581, allocations: 58 kB / 1.059 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001502/0.006738, allocations: 164.2 kB / 1.059 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of simplify1: time 2.351e-05/0.006769, allocations: 8 kB / 1.059 GB, free: 2.848 MB / 0.8262 GB Notification: Performance of Alias: time 0.0002583/0.007032, allocations: 181.6 kB / 1.059 GB, free: 2.625 MB / 0.8262 GB Notification: Performance of simplify2: time 1.185e-05/0.007053, allocations: 12.17 kB / 1.059 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of Events: time 8.793e-05/0.007145, allocations: 55.84 kB / 1.059 GB, free: 2.559 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001703/0.007323, allocations: 88.12 kB / 1.06 GB, free: 2.457 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001046/0.007436, allocations: 96.45 kB / 1.06 GB, free: 2.332 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003438/0.007787, allocations: 316.7 kB / 1.06 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.000172/0.007968, allocations: 224.3 kB / 1.06 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004149/0.008389, allocations: 423.7 kB / 1.061 GB, free: 1.309 MB / 0.8262 GB Notification: Performance of Partitioning: time 2.356e-05/0.008422, allocations: 20.12 kB / 1.061 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.762e-05/0.008455, allocations: 27.95 kB / 1.061 GB, free: 1.254 MB / 0.8262 GB Notification: Performance of Causalize: time 0.000511/0.008972, allocations: 477 kB / 1.061 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of Tearing: time 7.594e-06/0.008989, allocations: 0 / 1.061 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of Initialization: time 2.81e-07/0.008994, allocations: 0 / 1.061 GB, free: 0.7812 MB / 0.8262 GB Notification: Performance of Tearing: time 1.703e-06/0.009001, allocations: 4 kB / 1.061 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of Categorize: time 9.147e-06/0.009014, allocations: 4 kB / 1.061 GB, free: 0.7734 MB / 0.8262 GB Notification: Performance of Solve: time 8.875e-05/0.009107, allocations: 59.86 kB / 1.061 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of Jacobian: time 2.665e-06/0.009116, allocations: 0 / 1.061 GB, free: 0.7148 MB / 0.8262 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.024e-05/0.00915, allocations: 16.56 kB / 1.061 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of SimCode: time 0.00173/0.01088, allocations: 1.497 MB / 1.063 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of Templates: time 0.003757/0.01465, allocations: 1.746 MB / 1.064 GB, free: 13.63 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.o Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c Buildings_latest_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_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_records.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_01exo.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_02nls.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_03lsy.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_04set.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ Buildings_latest_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_latest_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1