Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.0008116/0.0008115, allocations: 113.4 kB / 16.42 MB, free: 6.523 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.0008609/0.0008609, allocations: 182 kB / 17.35 MB, free: 5.746 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.096/1.096, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.022/2.022, allocations: 437 MB / 0.7111 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.183e-05/1.184e-05, allocations: 2.281 kB / 1.019 GB, free: 9.512 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.CSVReader): time 0.002115/0.002134, allocations: 1.692 MB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.003747, allocations: 1.518 MB / 1.022 GB, free: 6.285 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.003815, allocations: 4 kB / 1.022 GB, free: 6.281 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.004023, allocations: 35.77 kB / 1.022 GB, free: 6.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001906/0.004229, allocations: 75.62 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.004488, allocations: 112.8 kB / 1.022 GB, free: 6.062 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001528/0.004649, allocations: 127.5 kB / 1.023 GB, free: 5.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.869e-05/0.004694, allocations: 9.125 kB / 1.023 GB, free: 5.926 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001127/0.004813, allocations: 55.78 kB / 1.023 GB, free: 5.871 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001529/0.004973, allocations: 47.77 kB / 1.023 GB, free: 5.824 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.005, allocations: 4 kB / 1.023 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001067/0.005112, allocations: 71.89 kB / 1.023 GB, free: 5.75 MB / 0.795 GB Notification: Performance of combineBinaries: time 0.0001067/0.005225, allocations: 154.2 kB / 1.023 GB, free: 5.598 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 4.722e-05/0.005277, allocations: 106.4 kB / 1.023 GB, free: 5.492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.005304, allocations: 11.94 kB / 1.023 GB, free: 5.48 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.64e-05/0.005326, allocations: 4 kB / 1.023 GB, free: 5.477 MB / 0.795 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.0004787/0.005808, allocations: 0.4997 MB / 1.024 GB, free: 4.875 MB / 0.795 GB Notification: Performance of FunctionAlias: time 8.07e-05/0.005895, allocations: 45.84 kB / 1.024 GB, free: 4.832 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001462/0.006047, allocations: 168.2 kB / 1.024 GB, free: 4.641 MB / 0.795 GB Notification: Performance of simplify1: time 1.967e-05/0.006073, allocations: 15.97 kB / 1.024 GB, free: 4.625 MB / 0.795 GB Notification: Performance of Alias: time 0.0002365/0.006314, allocations: 169.9 kB / 1.024 GB, free: 4.414 MB / 0.795 GB Notification: Performance of simplify2: time 1.034e-05/0.006333, allocations: 7.984 kB / 1.024 GB, free: 4.406 MB / 0.795 GB Notification: Performance of Detect States: time 0.0002096/0.006547, allocations: 95.81 kB / 1.024 GB, free: 4.301 MB / 0.795 GB Notification: Performance of Events: time 8.138e-05/0.006637, allocations: 47.91 kB / 1.024 GB, free: 4.254 MB / 0.795 GB Notification: Performance of Partitioning: time 9.765e-05/0.006741, allocations: 100.5 kB / 1.024 GB, free: 4.125 MB / 0.795 GB Notification: Performance of Causalize: time 0.0003531/0.007101, allocations: 329.5 kB / 1.024 GB, free: 3.773 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001717/0.007282, allocations: 220.4 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of Inline: time 0.001166/0.008454, allocations: 483 kB / 1.025 GB, free: 3.055 MB / 0.795 GB Notification: Performance of Partitioning: time 2.36e-05/0.008487, allocations: 24.12 kB / 1.025 GB, free: 3.023 MB / 0.795 GB Notification: Performance of Cleanup: time 2.302e-05/0.008516, allocations: 19.97 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of Causalize: time 0.0005006/0.009021, allocations: 482.5 kB / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of Tearing: time 7.764e-06/0.009037, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of Initialization: time 2.8e-07/0.009041, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of Tearing: time 2.144e-06/0.009047, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of Categorize: time 7.584e-06/0.009058, allocations: 0 / 1.026 GB, free: 2.523 MB / 0.795 GB Notification: Performance of Solve: time 9.397e-05/0.009155, allocations: 55.89 kB / 1.026 GB, free: 2.469 MB / 0.795 GB Notification: Performance of Jacobian: time 3.497e-06/0.009165, allocations: 3.984 kB / 1.026 GB, free: 2.465 MB / 0.795 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 2.49e-05/0.009193, allocations: 13.98 kB / 1.026 GB, free: 2.457 MB / 0.795 GB Notification: Performance of SimCode: time 0.001589/0.01079, allocations: 1.509 MB / 1.027 GB, free: 1.113 MB / 0.795 GB Notification: Performance of Templates: time 0.003511/0.01431, allocations: 1.745 MB / 1.029 GB, free: 15.38 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.o Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_functions.c Buildings_10_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_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_records.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_01exo.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_02nls.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_03lsy.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_04set.o Buildings_10_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_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c Buildings_10_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ Buildings_10_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_10_Buildings.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1