Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001154/0.001154, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001134/0.001134, allocations: 189.5 kB / 17.36 MB, free: 5.73 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.205/1.205, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1691/0.1691, allocations: 39.96 MB / 310.6 MB, free: 4.023 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.217e-05, allocations: 6.438 kB / 436.4 MB, free: 11.94 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.002674/0.002694, allocations: 3.109 MB / 439.5 MB, free: 8.812 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002125/0.00483, allocations: 1.95 MB / 441.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001765/0.005017, allocations: 15.88 kB / 441.5 MB, free: 6.84 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.006225, allocations: 0.9233 MB / 442.4 MB, free: 5.918 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0008061/0.007039, allocations: 0.6578 MB / 443 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001403/0.00845, allocations: 0.9106 MB / 443.9 MB, free: 4.359 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000768/0.009226, allocations: 1.27 MB / 445.2 MB, free: 3.086 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002045/0.009438, allocations: 171.2 kB / 445.4 MB, free: 2.898 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003386/0.009783, allocations: 498 kB / 445.9 MB, free: 2.41 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002924/0.01008, allocations: 446 kB / 446.3 MB, free: 1.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.682e-05/0.01016, allocations: 56 kB / 446.4 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.01041, allocations: 227.7 kB / 446.6 MB, free: 1.695 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004899/0.01091, allocations: 1.297 MB / 447.9 MB, free: 392 kB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003706/0.01129, allocations: 0.8354 MB / 448.7 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.01142, allocations: 131.5 kB / 448.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.943e-05/0.01147, allocations: 23.88 kB / 448.9 MB, free: 15.38 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.002648/0.01413, allocations: 3.282 MB / 452.2 MB, free: 11.96 MB / 334.1 MB Notification: Performance of FunctionAlias: time 5.576e-05/0.01419, allocations: 55.86 kB / 452.2 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0007486/0.01495, allocations: 0.8638 MB / 453.1 MB, free: 11.01 MB / 334.1 MB Notification: Performance of simplify1: time 6.719e-05/0.01502, allocations: 71.89 kB / 453.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of Alias: time 0.001249/0.01627, allocations: 1.303 MB / 454.4 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simplify2: time 4.61e-05/0.01633, allocations: 47.91 kB / 454.5 MB, free: 9.418 MB / 334.1 MB Notification: Performance of Events: time 0.0003988/0.01674, allocations: 401.8 kB / 454.9 MB, free: 9.02 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004925/0.01724, allocations: 0.5246 MB / 455.4 MB, free: 8.48 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004971/0.01774, allocations: 0.5082 MB / 455.9 MB, free: 7.848 MB / 334.1 MB Notification: Performance of Causalize: time 0.002096/0.01985, allocations: 2.292 MB / 458.2 MB, free: 5.441 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008231/0.02068, allocations: 0.975 MB / 459.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of Inline: time 0.002622/0.02331, allocations: 2.779 MB / 462 MB, free: 1.609 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001536/0.02347, allocations: 155.6 kB / 462.1 MB, free: 1.441 MB / 334.1 MB Notification: Performance of Cleanup: time 9.76e-05/0.02358, allocations: 99.81 kB / 462.2 MB, free: 1.344 MB / 334.1 MB Notification: Performance of Causalize: time 0.004932/0.02852, allocations: 6.122 MB / 468.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Tearing: time 7.213e-06/0.02853, allocations: 0 / 468.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Initialization: time 5.01e-07/0.02854, allocations: 0 / 468.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Tearing: time 7.214e-06/0.02855, allocations: 4 kB / 468.3 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Categorize: time 1.933e-05/0.02858, allocations: 11.94 kB / 468.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Solve: time 0.0005304/0.02911, allocations: 434.6 kB / 468.8 MB, free: 11.1 MB / 350.1 MB Notification: Performance of Jacobian: time 3.456e-06/0.02912, allocations: 0 / 468.8 MB, free: 11.1 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: ........... 56 (scalar:56, 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: ........... 136 (scalar:120, 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 5.905e-05/0.02919, allocations: 76.25 kB / 468.8 MB, free: 11.04 MB / 350.1 MB Notification: Performance of SimCode: time 0.003786/0.03298, allocations: 3.9 MB / 472.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of Templates: time 0.01223/0.04523, allocations: 8.391 MB / 481.1 MB, free: 14.73 MB / 366.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable.makefile make -j1 -f ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_3.2.2_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_2_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.2_ModelicaTest.Blocks.BooleanTable_functions.o ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:205:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:206:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:209:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:212:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:268:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:269:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:272:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:275:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:331:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:332:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:335:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:338:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:394:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:395:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:398:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:401:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:457:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.2_ModelicaTest.Blocks.BooleanTable_functions.c:458:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.2_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.2_ModelicaTest.Blocks.BooleanTable_functions.o] Error 1