Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Tables.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/PowerSystems 2.0.0/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Tables") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 121.1 kB / 17.76 MB, free: 5.293 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.001445/0.001445, allocations: 184.6 kB / 18.69 MB, free: 4.371 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.286/1.286, allocations: 222.9 MB / 242.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1675/0.1675, allocations: 38.03 MB / 330.6 MB, free: 8.668 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.173e-05/2.173e-05, allocations: 2.281 kB / 458.7 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.00253/0.002552, allocations: 1.391 MB / 460.1 MB, free: 5.492 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006561/0.003208, allocations: 371.3 kB / 460.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.165e-05/0.00326, allocations: 0 / 460.5 MB, free: 5.125 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.003477, allocations: 23.86 kB / 460.5 MB, free: 5.102 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001835/0.003661, allocations: 31.84 kB / 460.5 MB, free: 5.07 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.003878, allocations: 83.7 kB / 460.6 MB, free: 4.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000148/0.004026, allocations: 63.81 kB / 460.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.574e-05/0.004072, allocations: 4 kB / 460.7 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.004226, allocations: 27.91 kB / 460.7 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.553e-05/0.004292, allocations: 23.86 kB / 460.7 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.743e-05/0.004309, allocations: 4 kB / 460.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.004412, allocations: 43.98 kB / 460.8 MB, free: 4.824 MB / 334.1 MB Notification: Performance of combineBinaries: time 6.795e-05/0.00448, allocations: 75.09 kB / 460.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 3.235e-05/0.004512, allocations: 51.2 kB / 460.9 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.426e-05/0.004526, allocations: 12 kB / 460.9 MB, free: 4.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.432e-05/0.00454, allocations: 0 / 460.9 MB, free: 4.688 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 (4) * Number of variables: 6 (4) Notification: Performance of Bindings: time 0.0004415/0.004982, allocations: 301.1 kB / 461.2 MB, free: 4.277 MB / 334.1 MB Notification: Performance of FunctionAlias: time 8.183e-05/0.005064, allocations: 22.67 kB / 461.2 MB, free: 4.258 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0001014/0.005165, allocations: 88.2 kB / 461.3 MB, free: 4.145 MB / 334.1 MB Notification: Performance of simplify1: time 4.809e-05/0.005213, allocations: 44.42 kB / 461.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of Alias: time 0.0002936/0.005507, allocations: 132.9 kB / 461.5 MB, free: 3.887 MB / 334.1 MB Notification: Performance of simplify2: time 3.642e-05/0.005543, allocations: 48.55 kB / 461.5 MB, free: 3.812 MB / 334.1 MB Notification: Performance of Detect States: time 8.781e-05/0.005631, allocations: 67.88 kB / 461.6 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Events: time 5.481e-05/0.005686, allocations: 15.92 kB / 461.6 MB, free: 3.691 MB / 334.1 MB Notification: Performance of Partitioning: time 6.264e-05/0.005748, allocations: 36.23 kB / 461.7 MB, free: 3.641 MB / 334.1 MB Notification: Performance of Causalize: time 0.0001618/0.00591, allocations: 108.7 kB / 461.8 MB, free: 3.52 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 7.967e-05/0.00599, allocations: 80.31 kB / 461.9 MB, free: 3.414 MB / 334.1 MB Notification: Performance of Inline: time 0.00112/0.00711, allocations: 246.3 kB / 462.1 MB, free: 3.152 MB / 334.1 MB Notification: Performance of Partitioning: time 1.38e-05/0.007124, allocations: 12.12 kB / 462.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Cleanup: time 2.251e-05/0.007147, allocations: 27.84 kB / 462.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of Causalize: time 0.0002833/0.00743, allocations: 200.9 kB / 462.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Tearing: time 9.187e-06/0.007439, allocations: 0 / 462.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Initialization: time 2.71e-07/0.00744, allocations: 0 / 462.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Tearing: time 1.152e-06/0.007441, allocations: 0 / 462.3 MB, free: 2.902 MB / 334.1 MB Notification: Performance of Categorize: time 9.357e-06/0.00745, allocations: 4 kB / 462.3 MB, free: 2.898 MB / 334.1 MB Notification: Performance of Solve: time 6.289e-05/0.007513, allocations: 31.97 kB / 462.4 MB, free: 2.867 MB / 334.1 MB Notification: Performance of Jacobian: time 3.126e-06/0.007516, allocations: 0 / 462.4 MB, free: 2.867 MB / 334.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 1 (1) {$SEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 2 (scalar:1, array:1, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, 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: ........... 6 (scalar:3, array:2, record:1) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 2 (generic: 2, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 2.829e-05/0.007544, allocations: 12.56 kB / 462.4 MB, free: 2.855 MB / 334.1 MB Notification: Performance of SimCode: time 0.001591/0.009135, allocations: 1.309 MB / 463.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of Templates: time 0.003448/0.01258, allocations: 1.182 MB / 464.9 MB, free: 0.5117 MB / 334.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Tables.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables.o PowerSystems_PowerSystems.Examples.Introductory.Tables.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_functions.o PowerSystems_PowerSystems.Examples.Introductory.Tables_functions.c PowerSystems_PowerSystems.Examples.Introductory.Tables_functions.c:197:17: warning: implicit declaration of function 'ModelicaStrings_length' is invalid in C99 [-Wimplicit-function-declaration] _result_ext = ModelicaStrings_length(MMC_STRINGDATA(_string)); ^ PowerSystems_PowerSystems.Examples.Introductory.Tables_functions.c:217: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 -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_records.o PowerSystems_PowerSystems.Examples.Introductory.Tables_records.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_01exo.o PowerSystems_PowerSystems.Examples.Introductory.Tables_01exo.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_02nls.o PowerSystems_PowerSystems.Examples.Introductory.Tables_02nls.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_03lsy.o PowerSystems_PowerSystems.Examples.Introductory.Tables_03lsy.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_04set.o PowerSystems_PowerSystems.Examples.Introductory.Tables_04set.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native "-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=PowerSystems_PowerSystems_Examples_Introductory_Tables -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 PowerSystems_PowerSystems.Examples.Introductory.Tables_05evt.o PowerSystems_PowerSystems.Examples.Introductory.Tables_05evt.c PowerSystems_PowerSystems.Examples.Introductory.Tables_05evt.c:62:45: error: expected '}' const char *res[] = {"table.tableName <> "NoName""}; ^ PowerSystems_PowerSystems.Examples.Introductory.Tables_05evt.c:62:23: note: to match this '{' const char *res[] = {"table.tableName <> "NoName""}; ^ 1 error generated. make: *** [: PowerSystems_PowerSystems.Examples.Introductory.Tables_05evt.o] Error 1