Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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 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_4.0.0_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_4.0.0_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001085/0.001085, allocations: 110.8 kB / 18.47 MB, free: 4.594 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.001212/0.001212, allocations: 181.3 kB / 19.39 MB, free: 3.672 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.402/1.402, allocations: 222.9 MB / 243.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2243/0.2243, allocations: 44.18 MB / 337.4 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.039e-05/2.04e-05, allocations: 2.281 kB / 471.2 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.004844/0.004873, allocations: 3.113 MB / 474.3 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004086/0.008981, allocations: 2.089 MB / 476.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007348/0.009743, allocations: 15.94 kB / 476.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.01207, allocations: 0.9191 MB / 477.3 MB, free: 7.062 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00221/0.01429, allocations: 0.6841 MB / 478 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00302/0.01732, allocations: 0.9802 MB / 479 MB, free: 5.418 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002182/0.01951, allocations: 1.278 MB / 480.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004784/0.02001, allocations: 159.3 kB / 480.4 MB, free: 3.965 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001156/0.02117, allocations: 0.4942 MB / 480.9 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008933/0.02208, allocations: 438 kB / 481.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002306/0.02232, allocations: 56 kB / 481.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005766/0.02291, allocations: 227.7 kB / 481.6 MB, free: 2.762 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.001302/0.02422, allocations: 1.29 MB / 482.9 MB, free: 1.457 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008962/0.02513, allocations: 0.8354 MB / 483.7 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004447/0.02559, allocations: 139.5 kB / 483.8 MB, free: 484 kB / 350.1 MB Notification: Performance of FrontEnd: time 0.0002121/0.02582, allocations: 23.88 kB / 483.9 MB, free: 460 kB / 350.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.003942/0.02977, allocations: 3.297 MB / 487.2 MB, free: 13.01 MB / 366.1 MB Notification: Performance of FunctionAlias: time 0.0002095/0.02999, allocations: 139.8 kB / 487.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Early Inline: time 0.0009584/0.03096, allocations: 0.899 MB / 488.2 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simplify1: time 0.00012/0.03108, allocations: 63.89 kB / 488.3 MB, free: 11.89 MB / 366.1 MB Notification: Performance of Alias: time 0.001816/0.03291, allocations: 1.366 MB / 489.6 MB, free: 10.35 MB / 366.1 MB Notification: Performance of simplify2: time 0.0001023/0.03302, allocations: 55.91 kB / 489.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of Detect States: time 0.0006768/0.03371, allocations: 0.5621 MB / 490.3 MB, free: 9.711 MB / 366.1 MB Notification: Performance of Events: time 0.0004377/0.03416, allocations: 305 kB / 490.5 MB, free: 9.414 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0008124/0.03498, allocations: 0.555 MB / 491.1 MB, free: 8.734 MB / 366.1 MB Notification: Performance of Causalize: time 0.002378/0.03737, allocations: 1.906 MB / 493 MB, free: 6.707 MB / 366.1 MB Notification: Performance of After Index Reduction Inline: time 0.001097/0.03848, allocations: 1.006 MB / 494 MB, free: 5.672 MB / 366.1 MB Notification: Performance of Inline: time 0.01036/0.04884, allocations: 3.378 MB / 497.4 MB, free: 2.508 MB / 366.1 MB Notification: Performance of Partitioning: time 0.0002487/0.04911, allocations: 159.7 kB / 497.5 MB, free: 2.34 MB / 366.1 MB Notification: Performance of Cleanup: time 0.000221/0.04934, allocations: 103.8 kB / 497.7 MB, free: 2.238 MB / 366.1 MB Notification: Performance of Causalize: time 0.007519/0.05686, allocations: 4.761 MB / 0.4906 GB, free: 13.47 MB / 382.1 MB Notification: Performance of Tearing: time 1.846e-05/0.0569, allocations: 4 kB / 0.4906 GB, free: 13.47 MB / 382.1 MB Notification: Performance of Initialization: time 6.41e-07/0.05691, allocations: 4 kB / 0.4906 GB, free: 13.46 MB / 382.1 MB Notification: Performance of Tearing: time 2.172e-05/0.05694, allocations: 3.938 kB / 0.4906 GB, free: 13.46 MB / 382.1 MB Notification: Performance of Categorize: time 4.117e-05/0.05698, allocations: 4 kB / 0.4907 GB, free: 13.46 MB / 382.1 MB Notification: Performance of Solve: time 0.000842/0.05783, allocations: 426.6 kB / 0.4911 GB, free: 13.04 MB / 382.1 MB Notification: Performance of Jacobian: time 4.028e-06/0.05785, allocations: 0 / 0.4911 GB, free: 13.04 MB / 382.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 0.0001387/0.05799, allocations: 73.97 kB / 0.4911 GB, free: 12.96 MB / 382.1 MB Notification: Performance of SimCode: time 0.005944/0.06394, allocations: 3.968 MB / 0.495 GB, free: 9.078 MB / 382.1 MB Notification: Performance of Templates: time 0.01728/0.08126, allocations: 8.608 MB / 0.5034 GB, free: 0.5156 MB / 382.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.makefile make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.makefile clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_4_0_0_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_4.0.0_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable.c clang -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -Os -march=native -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_4_0_0_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_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.o ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:205:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:206:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:209:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:212:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:268:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:269:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:272:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:275:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:331:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:332:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:335:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:338:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:394:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:395:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:398:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:401:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:457:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.c:458:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Blocks.BooleanTable_functions.o] Error 1