Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Utilities.IO.Files.Examples.CSVReader") translateModel(IDEAS.Utilities.IO.Files.Examples.CSVReader,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001102/0.001102, allocations: 106.5 kB / 16.42 MB, free: 6.52 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.001222/0.001222, allocations: 187.2 kB / 17.35 MB, free: 5.715 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.385/1.385, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.845/0.845, allocations: 132.2 MB / 423.4 MB, free: 6.547 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.657e-05/2.657e-05, allocations: 5.094 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.002814/0.002849, allocations: 1.663 MB / 0.5836 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.004663, allocations: 1.507 MB / 0.585 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.438e-05/0.00476, allocations: 1.031 kB / 0.5851 GB, free: 21.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.005071, allocations: 36.67 kB / 0.5851 GB, free: 21.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.005368, allocations: 68.28 kB / 0.5852 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003062/0.005684, allocations: 116.7 kB / 0.5853 GB, free: 21.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002009/0.005894, allocations: 126 kB / 0.5854 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.628e-05/0.005958, allocations: 12.55 kB / 0.5854 GB, free: 21.09 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.006115, allocations: 65.75 kB / 0.5855 GB, free: 21.05 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.00636, allocations: 49.23 kB / 0.5855 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.847e-05/0.006399, allocations: 6.062 kB / 0.5855 GB, free: 21.02 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.006548, allocations: 58.23 kB / 0.5856 GB, free: 21 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001339/0.006689, allocations: 160.4 kB / 0.5857 GB, free: 20.88 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.664e-05/0.006752, allocations: 102.1 kB / 0.5858 GB, free: 20.81 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.181e-05/0.006791, allocations: 19.09 kB / 0.5858 GB, free: 20.8 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.56e-05/0.006822, allocations: 1.344 kB / 0.5858 GB, free: 20.8 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.0005698/0.007398, allocations: 0.5152 MB / 0.5863 GB, free: 20.31 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001039/0.00751, allocations: 37.81 kB / 0.5864 GB, free: 20.29 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001651/0.007682, allocations: 174.9 kB / 0.5865 GB, free: 20.13 MB / 446.1 MB Notification: Performance of simplify1: time 2.364e-05/0.007713, allocations: 8.453 kB / 0.5865 GB, free: 20.13 MB / 446.1 MB Notification: Performance of Alias: time 0.0003001/0.008019, allocations: 170 kB / 0.5867 GB, free: 19.97 MB / 446.1 MB Notification: Performance of simplify2: time 1.206e-05/0.00804, allocations: 11.27 kB / 0.5867 GB, free: 19.96 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001387/0.008185, allocations: 80.12 kB / 0.5868 GB, free: 19.88 MB / 446.1 MB Notification: Performance of Events: time 9.31e-05/0.008286, allocations: 54.59 kB / 0.5869 GB, free: 19.85 MB / 446.1 MB Notification: Performance of Partitioning: time 0.0001063/0.0084, allocations: 99.66 kB / 0.5869 GB, free: 19.76 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004194/0.008826, allocations: 336.5 kB / 0.5873 GB, free: 19.58 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001673/0.009002, allocations: 206.6 kB / 0.5875 GB, free: 19.41 MB / 446.1 MB Notification: Performance of Inline: time 0.001575/0.01058, allocations: 481.7 kB / 0.5879 GB, free: 19.07 MB / 446.1 MB Notification: Performance of Partitioning: time 3.739e-05/0.01063, allocations: 30.14 kB / 0.588 GB, free: 19.04 MB / 446.1 MB Notification: Performance of Cleanup: time 2.97e-05/0.01067, allocations: 11.83 kB / 0.588 GB, free: 19.04 MB / 446.1 MB Notification: Performance of Causalize: time 0.0007575/0.01143, allocations: 493.2 kB / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Tearing: time 1.498e-05/0.01146, allocations: 5.656 kB / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Initialization: time 3.3e-07/0.01146, allocations: 0 / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Tearing: time 4.619e-06/0.01147, allocations: 1.219 kB / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Categorize: time 1.334e-05/0.01149, allocations: 1.281 kB / 0.5884 GB, free: 18.84 MB / 446.1 MB Notification: Performance of Solve: time 0.0001252/0.01162, allocations: 53.73 kB / 0.5885 GB, free: 18.81 MB / 446.1 MB Notification: Performance of Jacobian: time 3.567e-06/0.01163, allocations: 0 / 0.5885 GB, free: 18.81 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 5.087e-05/0.01168, allocations: 23.36 kB / 0.5885 GB, free: 18.79 MB / 446.1 MB Notification: Performance of SimCode: time 0.002443/0.01413, allocations: 1.51 MB / 0.59 GB, free: 17.69 MB / 446.1 MB Notification: Performance of Templates: time 0.004837/0.01898, allocations: 1.743 MB / 0.5917 GB, free: 16.41 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader.makefile make -j1 -f IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_functions.o IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader_functions.c IDEAS_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_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_records.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_01exo.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_02nls.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_03lsy.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_04set.o IDEAS_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_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.o IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.c IDEAS_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.c:106:33: error: expected '}' "combiTimeTable.tableName <> "NoName""}; ^ IDEAS_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_IDEAS.Utilities.IO.Files.Examples.CSVReader_05evt.o] Error 1