Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001642/0.001642, allocations: 113.3 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.001695/0.001695, allocations: 187.2 kB / 17.35 MB, free: 5.711 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.408/1.408, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8203/0.8203, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/2.789e-05, allocations: 2.281 kB / 0.5862 GB, free: 21.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002701/0.002738, allocations: 1.66 MB / 0.5878 GB, free: 20.31 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001798/0.004549, allocations: 1.508 MB / 0.5893 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.78e-05/0.004649, allocations: 1.219 kB / 0.5893 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.004968, allocations: 41.77 kB / 0.5894 GB, free: 19.09 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.005227, allocations: 66.09 kB / 0.5894 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.005514, allocations: 112.7 kB / 0.5895 GB, free: 18.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.005721, allocations: 130.4 kB / 0.5897 GB, free: 18.89 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.005783, allocations: 10.92 kB / 0.5897 GB, free: 18.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001384/0.005927, allocations: 59.16 kB / 0.5897 GB, free: 18.85 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.006131, allocations: 48.2 kB / 0.5898 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.41e-05/0.006163, allocations: 4.656 kB / 0.5898 GB, free: 18.82 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001289/0.006298, allocations: 62.34 kB / 0.5898 GB, free: 18.79 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001319/0.006437, allocations: 160.6 kB / 0.59 GB, free: 18.68 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.358e-05/0.006497, allocations: 111.3 kB / 0.5901 GB, free: 18.59 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.006531, allocations: 12.88 kB / 0.5901 GB, free: 18.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.153e-05/0.006559, allocations: 3.781 kB / 0.5901 GB, free: 18.59 MB / 446.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.0005458/0.007109, allocations: 0.5086 MB / 0.5906 GB, free: 18.1 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001035/0.00722, allocations: 48.48 kB / 0.5906 GB, free: 18.07 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001253/0.007352, allocations: 167 kB / 0.5908 GB, free: 17.88 MB / 446.1 MB Notification: Performance of simplify1: time 2.294e-05/0.007381, allocations: 19.95 kB / 0.5908 GB, free: 17.86 MB / 446.1 MB Notification: Performance of Alias: time 0.0002733/0.00766, allocations: 166.2 kB / 0.591 GB, free: 17.66 MB / 446.1 MB Notification: Performance of simplify2: time 9.047e-06/0.007679, allocations: 9.391 kB / 0.591 GB, free: 17.65 MB / 446.1 MB Notification: Performance of Events: time 8.975e-05/0.007774, allocations: 63.33 kB / 0.5911 GB, free: 17.59 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001265/0.007908, allocations: 89.94 kB / 0.5911 GB, free: 17.49 MB / 446.1 MB Notification: Performance of Partitioning: time 8.727e-05/0.008003, allocations: 97.38 kB / 0.5912 GB, free: 17.36 MB / 446.1 MB Notification: Performance of Causalize: time 0.0003059/0.008316, allocations: 326.2 kB / 0.5915 GB, free: 17.03 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.000131/0.008456, allocations: 206.9 kB / 0.5917 GB, free: 16.8 MB / 446.1 MB Notification: Performance of Inline: time 0.0003631/0.008826, allocations: 430.3 kB / 0.5921 GB, free: 16.36 MB / 446.1 MB Notification: Performance of Partitioning: time 2.213e-05/0.008857, allocations: 34.23 kB / 0.5922 GB, free: 16.32 MB / 446.1 MB Notification: Performance of Cleanup: time 2.085e-05/0.008883, allocations: 15.98 kB / 0.5922 GB, free: 16.3 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004452/0.009333, allocations: 482.4 kB / 0.5927 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Tearing: time 9.779e-06/0.009352, allocations: 0 / 0.5927 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Initialization: time 4.4e-07/0.009357, allocations: 0 / 0.5927 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Tearing: time 1.733e-06/0.009363, allocations: 0 / 0.5927 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Categorize: time 1.162e-05/0.009378, allocations: 4 kB / 0.5927 GB, free: 15.85 MB / 446.1 MB Notification: Performance of Solve: time 8.21e-05/0.009465, allocations: 55.88 kB / 0.5927 GB, free: 15.79 MB / 446.1 MB Notification: Performance of Jacobian: time 2.976e-06/0.009474, allocations: 0 / 0.5927 GB, free: 15.79 MB / 446.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.416e-05/0.009513, allocations: 30.19 kB / 0.5927 GB, free: 15.77 MB / 446.1 MB Notification: Performance of SimCode: time 0.001746/0.01126, allocations: 1.494 MB / 0.5942 GB, free: 14.48 MB / 446.1 MB Notification: Performance of Templates: time 0.003972/0.01525, allocations: 1.734 MB / 0.5959 GB, free: 12.75 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_functions.o IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_functions.c IDEAS_dev_IDEAS.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)); ^ IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_records.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_01exo.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_02nls.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_03lsy.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_04set.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.o IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.c IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.c:105:23: note: to match this '{' const char *res[] = {"time >= pre(combiTimeTable.nextTimeEvent)", ^ 1 error generated. make: *** [: IDEAS_dev_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1