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.0008815/0.0008815, allocations: 110.4 kB / 16.42 MB, free: 6.5 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.0008397/0.0008397, allocations: 189.9 kB / 17.35 MB, free: 5.754 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.1/1.1, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6562/0.6562, allocations: 132.2 MB / 423.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.091e-05, allocations: 2.281 kB / 0.5819 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.IO.Files.Examples.CSVReader): time 0.001782/0.001802, allocations: 1.67 MB / 0.5836 GB, free: 22.42 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.003093, allocations: 1.507 MB / 0.585 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.494e-05/0.003159, allocations: 1.094 kB / 0.585 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.003373, allocations: 45.17 kB / 0.5851 GB, free: 21.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001832/0.003566, allocations: 67 kB / 0.5852 GB, free: 21.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002134/0.003789, allocations: 113 kB / 0.5853 GB, free: 21.07 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.003938, allocations: 134.9 kB / 0.5854 GB, free: 20.99 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.003982, allocations: 9.891 kB / 0.5854 GB, free: 20.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.482e-05/0.004082, allocations: 56.98 kB / 0.5855 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005992/0.004691, allocations: 48.25 kB / 0.5855 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.004721, allocations: 7.344 kB / 0.5855 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.745e-05/0.004823, allocations: 65.61 kB / 0.5856 GB, free: 20.89 MB / 446.1 MB Notification: Performance of combineBinaries: time 8.48e-05/0.004915, allocations: 153.5 kB / 0.5857 GB, free: 20.78 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 3.8e-05/0.004958, allocations: 110.3 kB / 0.5858 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.154e-05/0.004985, allocations: 17.56 kB / 0.5858 GB, free: 20.69 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.321e-05/0.005002, allocations: 2.375 kB / 0.5858 GB, free: 20.69 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.0003732/0.005379, allocations: 0.5064 MB / 0.5863 GB, free: 20.21 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.252e-05/0.005458, allocations: 31.44 kB / 0.5864 GB, free: 20.19 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001108/0.005574, allocations: 172.7 kB / 0.5865 GB, free: 20.04 MB / 446.1 MB Notification: Performance of simplify1: time 1.714e-05/0.005597, allocations: 11.69 kB / 0.5865 GB, free: 20.03 MB / 446.1 MB Notification: Performance of Alias: time 0.0002026/0.005804, allocations: 174.8 kB / 0.5867 GB, free: 19.87 MB / 446.1 MB Notification: Performance of simplify2: time 9.848e-06/0.005822, allocations: 12.05 kB / 0.5867 GB, free: 19.86 MB / 446.1 MB Notification: Performance of Events: time 7.892e-05/0.005906, allocations: 59.8 kB / 0.5868 GB, free: 19.82 MB / 446.1 MB Notification: Performance of Detect States: time 9.783e-05/0.006011, allocations: 85.2 kB / 0.5869 GB, free: 19.74 MB / 446.1 MB Notification: Performance of Partitioning: time 7.666e-05/0.006095, allocations: 105.1 kB / 0.587 GB, free: 19.64 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002985/0.006399, allocations: 309.5 kB / 0.5873 GB, free: 19.48 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.00013/0.006537, allocations: 220 kB / 0.5875 GB, free: 19.3 MB / 446.1 MB Notification: Performance of Inline: time 0.0003252/0.006868, allocations: 425.7 kB / 0.5879 GB, free: 18.98 MB / 446.1 MB Notification: Performance of Partitioning: time 1.869e-05/0.006896, allocations: 28.84 kB / 0.5879 GB, free: 18.95 MB / 446.1 MB Notification: Performance of Cleanup: time 1.739e-05/0.006918, allocations: 15.89 kB / 0.5879 GB, free: 18.94 MB / 446.1 MB Notification: Performance of Causalize: time 0.0004667/0.007389, allocations: 491.4 kB / 0.5884 GB, free: 18.74 MB / 446.1 MB Notification: Performance of Tearing: time 4.358e-06/0.007402, allocations: 3.938 kB / 0.5884 GB, free: 18.74 MB / 446.1 MB Notification: Performance of Initialization: time 2.91e-07/0.007407, allocations: 4 kB / 0.5884 GB, free: 18.73 MB / 446.1 MB Notification: Performance of Tearing: time 1.603e-06/0.007412, allocations: 1.094 kB / 0.5884 GB, free: 18.73 MB / 446.1 MB Notification: Performance of Categorize: time 7.043e-06/0.007423, allocations: 1.531 kB / 0.5884 GB, free: 18.73 MB / 446.1 MB Notification: Performance of Solve: time 7.582e-05/0.007503, allocations: 52.12 kB / 0.5884 GB, free: 18.71 MB / 446.1 MB Notification: Performance of Jacobian: time 2.505e-06/0.007511, allocations: 0 / 0.5884 GB, free: 18.71 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 2.612e-05/0.007541, allocations: 37.72 kB / 0.5885 GB, free: 18.68 MB / 446.1 MB Notification: Performance of SimCode: time 0.001342/0.008888, allocations: 1.482 MB / 0.5899 GB, free: 17.6 MB / 446.1 MB Notification: Performance of Templates: time 0.003251/0.01215, allocations: 1.762 MB / 0.5916 GB, free: 16.44 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