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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 112.7 kB / 18.34 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 190 kB / 21.52 MB, free: 0.7969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 225.6 MB / 250.1 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.94/2.94, allocations: 496.2 MB / 0.7826 GB, free: 12.26 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|combiTimeTable.y.1.|combiTimeTable.y.2.|cos.y|step.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader") [Timeout 300] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.159e-05, allocations: 2.281 kB / 1.137 GB, free: 12.52 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.003333/0.003355, allocations: 1.708 MB / 1.138 GB, free: 10.79 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002755/0.00611, allocations: 1.581 MB / 1.14 GB, free: 9.203 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.006275, allocations: 3.938 kB / 1.14 GB, free: 9.199 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0004351/0.00671, allocations: 35.77 kB / 1.14 GB, free: 9.164 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004084/0.007118, allocations: 63.64 kB / 1.14 GB, free: 9.102 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005227/0.007641, allocations: 119.6 kB / 1.14 GB, free: 8.984 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003781/0.008019, allocations: 159.6 kB / 1.14 GB, free: 8.828 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 6.734e-05/0.008086, allocations: 4.984 kB / 1.14 GB, free: 8.824 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002573/0.008344, allocations: 83.73 kB / 1.14 GB, free: 8.742 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.008636, allocations: 51.66 kB / 1.14 GB, free: 8.691 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 4.02e-05/0.008676, allocations: 4 kB / 1.14 GB, free: 8.688 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.008889, allocations: 67.95 kB / 1.14 GB, free: 8.621 MB / 0.92 GB Notification: Performance of combineBinaries: time 0.0002004/0.009089, allocations: 170.1 kB / 1.14 GB, free: 8.453 MB / 0.92 GB Notification: Performance of replaceArrayConstructors: time 0.0001062/0.009196, allocations: 102.5 kB / 1.141 GB, free: 8.352 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.185e-05/0.009247, allocations: 11.94 kB / 1.141 GB, free: 8.34 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.699e-05/0.009294, allocations: 4 kB / 1.141 GB, free: 8.336 MB / 0.92 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.0007873/0.01008, allocations: 481.9 kB / 1.141 GB, free: 7.746 MB / 0.92 GB Notification: Performance of FunctionAlias: time 0.0001714/0.01025, allocations: 49.75 kB / 1.141 GB, free: 7.703 MB / 0.92 GB Notification: Performance of Early Inline: time 0.0001852/0.01044, allocations: 140.2 kB / 1.141 GB, free: 7.539 MB / 0.92 GB Notification: Performance of Simplify 1: time 0.0001093/0.01055, allocations: 60.39 kB / 1.141 GB, free: 7.453 MB / 0.92 GB Notification: Performance of Alias: time 0.0003925/0.01094, allocations: 149.8 kB / 1.141 GB, free: 7.25 MB / 0.92 GB Notification: Performance of Simplify 2: time 7.402e-05/0.01101, allocations: 60.39 kB / 1.141 GB, free: 7.164 MB / 0.92 GB Notification: Performance of Remove Stream: time 6.249e-05/0.01108, allocations: 56.59 kB / 1.142 GB, free: 7.082 MB / 0.92 GB Notification: Performance of Detect States: time 0.0002429/0.01132, allocations: 112 kB / 1.142 GB, free: 6.934 MB / 0.92 GB Notification: Performance of Events: time 0.0001288/0.01145, allocations: 51.83 kB / 1.142 GB, free: 6.883 MB / 0.92 GB Notification: Performance of Partitioning: time 0.0001627/0.01161, allocations: 104.5 kB / 1.142 GB, free: 6.75 MB / 0.92 GB Notification: Performance of Causalize: time 0.0006032/0.01221, allocations: 304.6 kB / 1.142 GB, free: 6.422 MB / 0.92 GB Notification: Performance of After Index Reduction Inline: time 0.0001759/0.01239, allocations: 131.8 kB / 1.142 GB, free: 6.293 MB / 0.92 GB Notification: Performance of Simplify: time 0.001804/0.01419, allocations: 271.6 kB / 1.142 GB, free: 6.004 MB / 0.92 GB Notification: Performance of Inline: time 0.0002542/0.01445, allocations: 215.8 kB / 1.143 GB, free: 5.789 MB / 0.92 GB Notification: Performance of Partitioning: time 2.453e-05/0.01447, allocations: 16.11 kB / 1.143 GB, free: 5.766 MB / 0.92 GB Notification: Performance of Cleanup: time 7.536e-05/0.01455, allocations: 63.91 kB / 1.143 GB, free: 5.703 MB / 0.92 GB Notification: Performance of Causalize: time 0.0006267/0.01517, allocations: 418.6 kB / 1.143 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Tearing: time 1.281e-05/0.01519, allocations: 0 / 1.143 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Initialization: time 2.7e-07/0.01519, allocations: 0 / 1.143 GB, free: 5.297 MB / 0.92 GB Notification: Performance of Remove Dummies: time 1.419e-05/0.0152, allocations: 7.938 kB / 1.143 GB, free: 5.289 MB / 0.92 GB Notification: Performance of Tearing: time 2.154e-06/0.0152, allocations: 0 / 1.143 GB, free: 5.289 MB / 0.92 GB Notification: Performance of Categorize: time 1.445e-05/0.01522, allocations: 0 / 1.143 GB, free: 5.289 MB / 0.92 GB Notification: Performance of Solve: time 0.0001181/0.01534, allocations: 39.95 kB / 1.143 GB, free: 5.25 MB / 0.92 GB Notification: Performance of Jacobian: time 5.942e-06/0.01534, allocations: 0 / 1.143 GB, free: 5.25 MB / 0.92 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) {} * Number of discrete variables: ................. 6 (5) {$SEV_1, $SEV_0, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 0 (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 (resizable: 3, generic: 0, 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 (resizable: 3, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.384e-05/0.0154, allocations: 24.33 kB / 1.143 GB, free: 5.23 MB / 0.92 GB Notification: Performance of SimCode: time 0.003152/0.01855, allocations: 1.482 MB / 1.145 GB, free: 3.906 MB / 0.92 GB Notification: Performance of Templates: time 0.005648/0.0242, allocations: 1.832 MB / 1.146 GB, free: 2.078 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile [Timeout 300] 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 [Calling os._exit(0), Time elapsed: 7.202797870151699]