Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.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(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.Tables") translateModel(PowerSystems.Examples.Introductory.Tables,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|table.u|table.y.1.|table.y.2.",fileNamePrefix="PowerSystems_latest_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.001084/0.001084, allocations: 114.5 kB / 17.75 MB, free: 5.32 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.001058/0.001057, allocations: 179.1 kB / 18.68 MB, free: 4.406 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.143/1.143, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1533/0.1533, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.829e-05, allocations: 6.219 kB / 458.8 MB, free: 6.93 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Tables): time 0.002046/0.002075, allocations: 1.39 MB / 460.1 MB, free: 5.543 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00056/0.002647, allocations: 359.3 kB / 460.5 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.527e-05/0.002704, allocations: 4 kB / 460.5 MB, free: 5.184 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001682/0.002878, allocations: 23.84 kB / 460.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001666/0.003052, allocations: 31.86 kB / 460.6 MB, free: 5.129 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.003278, allocations: 86.64 kB / 460.6 MB, free: 5.047 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.003408, allocations: 63.81 kB / 460.7 MB, free: 4.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.912e-05/0.003454, allocations: 8 kB / 460.7 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.003597, allocations: 35.84 kB / 460.7 MB, free: 4.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.155e-05/0.003658, allocations: 11.94 kB / 460.8 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.387e-05/0.003678, allocations: 4 kB / 460.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001003/0.003783, allocations: 51.95 kB / 460.8 MB, free: 4.875 MB / 334.1 MB Notification: Performance of combineBinaries: time 5.931e-05/0.003848, allocations: 75.09 kB / 460.9 MB, free: 4.801 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 2.833e-05/0.003881, allocations: 51.22 kB / 460.9 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 1.053e-05/0.003898, allocations: 4 kB / 460.9 MB, free: 4.746 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.486e-05/0.003918, allocations: 4 kB / 460.9 MB, free: 4.742 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.0003837/0.004306, allocations: 316.2 kB / 461.2 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FunctionAlias: time 6.267e-05/0.004374, allocations: 27.91 kB / 461.3 MB, free: 4.305 MB / 334.1 MB Notification: Performance of Early Inline: time 9.486e-05/0.004475, allocations: 92.27 kB / 461.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of simplify1: time 1.184e-05/0.004493, allocations: 0 / 461.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of Alias: time 0.0002597/0.004758, allocations: 140.9 kB / 461.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simplify2: time 3.527e-06/0.00477, allocations: 0 / 461.5 MB, free: 4.004 MB / 334.1 MB Notification: Performance of Events: time 3.435e-05/0.004809, allocations: 15.92 kB / 461.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of Detect States: time 5.271e-05/0.004867, allocations: 36.12 kB / 461.6 MB, free: 3.938 MB / 334.1 MB Notification: Performance of Partitioning: time 5.096e-05/0.004924, allocations: 40.23 kB / 461.6 MB, free: 3.883 MB / 334.1 MB Notification: Performance of Causalize: time 0.0001654/0.005097, allocations: 128.2 kB / 461.7 MB, free: 3.742 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 7.198e-05/0.005177, allocations: 80.34 kB / 461.8 MB, free: 3.637 MB / 334.1 MB Notification: Performance of Inline: time 0.0002039/0.005387, allocations: 182.1 kB / 462 MB, free: 3.426 MB / 334.1 MB Notification: Performance of Partitioning: time 1.976e-05/0.005415, allocations: 28.05 kB / 462 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Cleanup: time 7.223e-06/0.005427, allocations: 0 / 462 MB, free: 3.391 MB / 334.1 MB Notification: Performance of Causalize: time 0.0002848/0.005716, allocations: 244.6 kB / 462.2 MB, free: 3.145 MB / 334.1 MB Notification: Performance of Tearing: time 7.303e-06/0.005732, allocations: 4.219 kB / 462.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Initialization: time 5.21e-07/0.005737, allocations: 0 / 462.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Tearing: time 1.583e-06/0.005742, allocations: 0 / 462.2 MB, free: 3.141 MB / 334.1 MB Notification: Performance of Categorize: time 6.923e-06/0.005754, allocations: 7.922 kB / 462.3 MB, free: 3.133 MB / 334.1 MB Notification: Performance of Solve: time 6.438e-05/0.005822, allocations: 27.97 kB / 462.3 MB, free: 3.105 MB / 334.1 MB Notification: Performance of Jacobian: time 3.937e-06/0.005833, allocations: 3.938 kB / 462.3 MB, free: 3.102 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) {NOT YET AVAILABLE} * Number of discrete variables: ................. 1 (1) {$SEV_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.589e-05/0.005863, allocations: 19.61 kB / 462.3 MB, free: 3.082 MB / 334.1 MB Notification: Performance of SimCode: time 0.001396/0.007263, allocations: 1.283 MB / 463.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of Templates: time 0.003005/0.01028, allocations: 1.193 MB / 464.8 MB, free: 0.7539 MB / 334.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.Tables.makefile make -j1 -f PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_functions.o PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_functions.c PowerSystems_latest_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_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_records.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_01exo.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_02nls.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_03lsy.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_04set.o PowerSystems_latest_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_latest_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_latest_PowerSystems.Examples.Introductory.Tables_05evt.o PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_05evt.c PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_05evt.c:62:45: error: expected '}' const char *res[] = {"table.tableName <> "NoName""}; ^ PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_05evt.c:62:23: note: to match this '{' const char *res[] = {"table.tableName <> "NoName""}; ^ 1 error generated. make: *** [: PowerSystems_latest_PowerSystems.Examples.Introductory.Tables_05evt.o] Error 1