Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|booleanTable1.y|booleanTable2a.y|booleanTable2b.y|booleanTable3a.y|booleanTable3b.y|booleanTable3c.y|booleanTable4a.y|booleanTable4b.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001176/0.001176, allocations: 115.6 kB / 17.1 MB, free: 5.977 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.001338/0.001339, allocations: 197.4 kB / 18.03 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.364/1.364, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1962/0.1962, allocations: 43.53 MB / 314.8 MB, free: 452 kB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.099e-05/2.101e-05, allocations: 2.281 kB / 442.4 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.003275/0.003305, allocations: 3.119 MB / 445.5 MB, free: 2.578 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002339/0.005657, allocations: 1.957 MB / 447.5 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002064/0.005874, allocations: 11.94 kB / 447.5 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.007376, allocations: 0.9256 MB / 448.4 MB, free: 15.68 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.008512, allocations: 0.6734 MB / 449.1 MB, free: 15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001829/0.01035, allocations: 0.9015 MB / 450 MB, free: 14.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.0115, allocations: 1.278 MB / 451.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000264/0.01177, allocations: 175.1 kB / 451.5 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005025/0.01228, allocations: 0.4942 MB / 452 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004162/0.01271, allocations: 438.1 kB / 452.4 MB, free: 11.72 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.314e-05/0.0128, allocations: 55.94 kB / 452.4 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003414/0.01315, allocations: 227.7 kB / 452.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of combineBinaries: time 0.0008823/0.01404, allocations: 1.301 MB / 454 MB, free: 10.12 MB / 334.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004436/0.01449, allocations: 0.8432 MB / 454.8 MB, free: 9.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000139/0.01464, allocations: 127.5 kB / 454.9 MB, free: 9.145 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.46e-05/0.01472, allocations: 23.88 kB / 454.9 MB, free: 9.121 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: 56 (56) * Number of variables: 56 (56) Notification: Performance of Bindings: time 0.002769/0.0175, allocations: 3.297 MB / 458.2 MB, free: 5.68 MB / 334.1 MB Notification: Performance of FunctionAlias: time 0.0001729/0.01768, allocations: 145.5 kB / 458.4 MB, free: 5.539 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0007967/0.01848, allocations: 0.899 MB / 459.3 MB, free: 4.613 MB / 334.1 MB Notification: Performance of simplify1: time 6.46e-05/0.01855, allocations: 67.83 kB / 459.4 MB, free: 4.547 MB / 334.1 MB Notification: Performance of Alias: time 0.001434/0.01999, allocations: 1.369 MB / 460.7 MB, free: 3.004 MB / 334.1 MB Notification: Performance of simplify2: time 4.62e-05/0.02005, allocations: 55.91 kB / 460.8 MB, free: 2.949 MB / 334.1 MB Notification: Performance of Events: time 0.0004292/0.02049, allocations: 414.1 kB / 461.2 MB, free: 2.539 MB / 334.1 MB Notification: Performance of Detect States: time 0.0005089/0.021, allocations: 0.5191 MB / 461.7 MB, free: 2.004 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0005323/0.02155, allocations: 0.5589 MB / 462.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of Causalize: time 0.001854/0.02341, allocations: 1.805 MB / 464.1 MB, free: 15.4 MB / 350.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008795/0.0243, allocations: 1.017 MB / 465.1 MB, free: 14.36 MB / 350.1 MB Notification: Performance of Inline: time 0.002754/0.02706, allocations: 2.82 MB / 467.9 MB, free: 11.48 MB / 350.1 MB Notification: Performance of Partitioning: time 0.0001675/0.02724, allocations: 159.7 kB / 468.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of Cleanup: time 8.564e-05/0.02734, allocations: 99.83 kB / 468.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of Causalize: time 0.004822/0.03217, allocations: 4.711 MB / 472.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of Tearing: time 1.571e-05/0.03219, allocations: 3.938 kB / 472.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Initialization: time 5.41e-07/0.0322, allocations: 0 / 472.9 MB, free: 6.484 MB / 350.1 MB Notification: Performance of Tearing: time 1.232e-05/0.03221, allocations: 7.922 kB / 472.9 MB, free: 6.477 MB / 350.1 MB Notification: Performance of Categorize: time 2.377e-05/0.03224, allocations: 7.984 kB / 472.9 MB, free: 6.469 MB / 350.1 MB Notification: Performance of Solve: time 0.0005815/0.03283, allocations: 426.5 kB / 473.3 MB, free: 6.047 MB / 350.1 MB Notification: Performance of Jacobian: time 3.596e-06/0.03284, allocations: 4 kB / 473.3 MB, free: 6.043 MB / 350.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: ......... 16 * 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: .................... 16 (16) {booleanTable4b.combiTimeTable.nextTimeEventScaled, booleanTable4b.combiTimeTable.nextTimeEvent, booleanTable4a.combiTimeTable.nextTimeEventScaled, booleanTable4a.combiTimeTable.nextTimeEvent, booleanTable3c.combiTimeTable.nextTimeEvent, booleanTable3c.combiTimeTable.nextTimeEventScaled, booleanTable3b.combiTimeTable.nextTimeEvent, booleanTable3b.combiTimeTable.nextTimeEventScaled, booleanTable3a.combiTimeTable.nextTimeEvent, booleanTable3a.combiTimeTable.nextTimeEventScaled, booleanTable2b.combiTimeTable.nextTimeEvent, booleanTable2b.combiTimeTable.nextTimeEventScaled, booleanTable2a.combiTimeTable.nextTimeEvent, booleanTable2a.combiTimeTable.nextTimeEventScaled, booleanTable1.combiTimeTable.nextTimeEventScaled, booleanTable1.combiTimeTable.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 40 (40) {booleanTable1.realToBoolean.y, booleanTable2a.realToBoolean.y, booleanTable2b.realToBoolean.y, booleanTable3a.realToBoolean.y, booleanTable3b.realToBoolean.y, booleanTable3c.realToBoolean.y, booleanTable4a.realToBoolean.y, booleanTable4b.realToBoolean.y, $SEV_23, $SEV_22, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $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: ........... 64 (scalar:64, array:0, record:0) * Number of multi strong components: ............ 16 (algorithm:0, when:16, 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: ........... 144 (scalar:128, array:8, record:8) * Number of multi strong components: ............ 16 (algorithm:16, 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.376e-05/0.03292, allocations: 74.31 kB / 473.4 MB, free: 5.984 MB / 350.1 MB Notification: Performance of SimCode: time 0.004258/0.03719, allocations: 3.94 MB / 477.3 MB, free: 2.027 MB / 350.1 MB Notification: Performance of Templates: time 0.01304/0.05024, allocations: 8.604 MB / 485.9 MB, free: 9.422 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.makefile make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable -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 ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -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=ModelicaTest_3_2_3_ModelicaTest_Blocks_BooleanTable -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 ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.o ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:205:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:206:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:209:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:212:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:268:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:269:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:272:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:275:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:331:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:332:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:335:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:338:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:394:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:395:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:398:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:401:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:457:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:458:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.c:461:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: ModelicaTest_3.2.3_ModelicaTest.Blocks.BooleanTable_functions.o] Error 1