Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Electrical.TablesFromFile.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/Modelica 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/HanserModelica 2.0.0-master/package.mo", uses=false) Using package HanserModelica with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/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 Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") translateModel(HanserModelica.Electrical.TablesFromFile,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Electrical.TablesFromFile") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001212/0.001213, allocations: 106.8 kB / 16.42 MB, free: 6.461 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.439/1.439, allocations: 222.9 MB / 240.1 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 192.4 kB / 290.4 MB, free: 2.285 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.0-master/package.mo): time 0.03542/0.03542, allocations: 8.784 MB / 349.3 MB, free: 4.641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.77e-05/2.77e-05, allocations: 2.281 kB / 464.5 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Electrical.TablesFromFile): time 0.003658/0.003695, allocations: 2.157 MB / 466.7 MB, free: 11.04 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002323/0.006034, allocations: 1.561 MB / 468.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.006174, allocations: 4 kB / 468.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003942/0.006575, allocations: 103.5 kB / 468.3 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003365/0.006954, allocations: 111.4 kB / 468.4 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004022/0.007367, allocations: 130.5 kB / 468.6 MB, free: 9.125 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003231/0.0077, allocations: 243.2 kB / 468.8 MB, free: 8.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/0.007881, allocations: 61.62 kB / 468.9 MB, free: 8.824 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001515/0.00804, allocations: 99.56 kB / 469 MB, free: 8.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008367/0.01642, allocations: 103.6 kB / 469.1 MB, free: 8.625 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.414e-05/0.01651, allocations: 12 kB / 469.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.01677, allocations: 71.97 kB / 469.2 MB, free: 8.543 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002978/0.01708, allocations: 284.7 kB / 469.4 MB, free: 8.262 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001339/0.01722, allocations: 177.4 kB / 469.6 MB, free: 8.086 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.707e-05/0.0173, allocations: 27.94 kB / 469.6 MB, free: 8.059 MB / 302.1 MB Notification: Performance of FrontEnd: time 8.043e-05/0.01739, allocations: 7.984 kB / 469.6 MB, free: 8.051 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 (28) * Number of variables: 28 (28) Notification: Performance of Bindings: time 0.00101/0.0184, allocations: 0.845 MB / 470.5 MB, free: 7.102 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.448e-05/0.01849, allocations: 29.06 kB / 470.5 MB, free: 7.074 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003448/0.01884, allocations: 328.2 kB / 470.8 MB, free: 6.727 MB / 302.1 MB Notification: Performance of simplify1: time 5.618e-05/0.01891, allocations: 31.95 kB / 470.9 MB, free: 6.695 MB / 302.1 MB Notification: Performance of Alias: time 0.001059/0.01998, allocations: 0.693 MB / 471.6 MB, free: 5.91 MB / 302.1 MB Notification: Performance of simplify2: time 2.343e-05/0.02002, allocations: 15.98 kB / 471.6 MB, free: 5.895 MB / 302.1 MB Notification: Performance of Events: time 0.0001381/0.02016, allocations: 55.83 kB / 471.6 MB, free: 5.84 MB / 302.1 MB Notification: Performance of Detect States: time 0.0002462/0.02042, allocations: 114.1 kB / 471.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001568/0.02058, allocations: 116.3 kB / 471.9 MB, free: 5.582 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005395/0.02113, allocations: 355.9 kB / 472.2 MB, free: 5.211 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002968/0.02144, allocations: 240.5 kB / 472.4 MB, free: 4.949 MB / 302.1 MB Notification: Performance of Inline: time 0.0006953/0.02215, allocations: 0.5206 MB / 473 MB, free: 4.395 MB / 302.1 MB Notification: Performance of Partitioning: time 4.677e-05/0.02221, allocations: 36.11 kB / 473 MB, free: 4.352 MB / 302.1 MB Notification: Performance of Cleanup: time 2.776e-05/0.02224, allocations: 19.97 kB / 473 MB, free: 4.332 MB / 302.1 MB Notification: Performance of Causalize: time 0.0008354/0.02309, allocations: 0.6913 MB / 473.7 MB, free: 3.629 MB / 302.1 MB Notification: Performance of Tearing: time 8.887e-06/0.02311, allocations: 4 kB / 473.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Initialization: time 3.1e-07/0.02311, allocations: 0 / 473.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Tearing: time 1.784e-06/0.02312, allocations: 0 / 473.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Categorize: time 1.376e-05/0.02314, allocations: 0 / 473.7 MB, free: 3.625 MB / 302.1 MB Notification: Performance of Solve: time 0.0001744/0.02332, allocations: 89.59 kB / 473.8 MB, free: 3.539 MB / 302.1 MB Notification: Performance of Jacobian: time 0.0003077/0.02363, allocations: 278 kB / 474.1 MB, free: 3.227 MB / 302.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: ............... 1 * Number of algebraic event partitions: ......... 2 * 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: ............................. 1 (1) {inductor.i} * Number of discrete states: .................... 2 (2) {table.nextTimeEvent, table.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 4 (4) {$SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 15 (scalar:15, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (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: ........... 30 (scalar:29, array:0, record:1) * Number of multi strong components: ............ 2 (algorithm:2, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 7.322e-05/0.02372, allocations: 42.05 kB / 474.1 MB, free: 3.191 MB / 302.1 MB Notification: Performance of SimCode: time 0.00304/0.02677, allocations: 1.748 MB / 475.9 MB, free: 1.605 MB / 302.1 MB Notification: Performance of Templates: time 0.006559/0.03334, allocations: 2.159 MB / 478 MB, free: 15.45 MB / 318.1 MB make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.makefile make -j1 -f HanserModelica_HanserModelica.Electrical.TablesFromFile.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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile.o HanserModelica_HanserModelica.Electrical.TablesFromFile.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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_functions.o HanserModelica_HanserModelica.Electrical.TablesFromFile_functions.c HanserModelica_HanserModelica.Electrical.TablesFromFile_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)); ^ HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_records.o HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_01exo.o HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_02nls.o HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_03lsy.o HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_04set.o HanserModelica_HanserModelica.Electrical.TablesFromFile_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=HanserModelica_HanserModelica_Electrical_TablesFromFile -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 HanserModelica_HanserModelica.Electrical.TablesFromFile_05evt.o HanserModelica_HanserModelica.Electrical.TablesFromFile_05evt.c HanserModelica_HanserModelica.Electrical.TablesFromFile_05evt.c:117:24: error: expected '}' "table.tableName <> "NoName"", ^ HanserModelica_HanserModelica.Electrical.TablesFromFile_05evt.c:116:23: note: to match this '{' const char *res[] = {"time >= pre(table.nextTimeEvent)", ^ 1 error generated. make: *** [: HanserModelica_HanserModelica.Electrical.TablesFromFile_05evt.o] Error 1