Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.Blocks.BooleanTable") translateModel(ModelicaTest.Blocks.BooleanTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009553/0.0009556, allocations: 108.9 kB / 16.42 MB, free: 6.418 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.0008768/0.0008768, allocations: 190 kB / 17.36 MB, free: 5.684 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.162/1.162, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1529/0.1529, allocations: 38.01 MB / 308.6 MB, free: 5.965 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.2e-05/1.201e-05, allocations: 2.281 kB / 433.6 MB, free: 14.48 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.BooleanTable): time 0.002644/0.002664, allocations: 3.104 MB / 436.7 MB, free: 11.36 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002285/0.00496, allocations: 1.946 MB / 438.6 MB, free: 9.402 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001932/0.005164, allocations: 15.88 kB / 438.7 MB, free: 9.387 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.006436, allocations: 0.923 MB / 439.6 MB, free: 8.465 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.000825/0.007269, allocations: 0.6734 MB / 440.3 MB, free: 7.789 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.008653, allocations: 0.896 MB / 441.2 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007426/0.009403, allocations: 1.282 MB / 442.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001955/0.009606, allocations: 159.2 kB / 442.6 MB, free: 5.441 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003191/0.009931, allocations: 494.1 kB / 443.1 MB, free: 4.957 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.01021, allocations: 454 kB / 443.5 MB, free: 4.512 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.382e-05/0.01028, allocations: 52 kB / 443.6 MB, free: 4.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002489/0.01053, allocations: 231.7 kB / 443.8 MB, free: 4.234 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0005023/0.01104, allocations: 1.294 MB / 445.1 MB, free: 2.926 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002367/0.01129, allocations: 0.8315 MB / 445.9 MB, free: 2.082 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.993e-05/0.01138, allocations: 131.5 kB / 446 MB, free: 1.953 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.139e-05/0.01143, allocations: 27.94 kB / 446.1 MB, free: 1.926 MB / 318.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.002168/0.0136, allocations: 3.289 MB / 449.4 MB, free: 14.49 MB / 334.1 MB Notification: Performance of FunctionAlias: time 5.468e-05/0.01366, allocations: 55.92 kB / 449.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of Early Inline: time 0.0007348/0.0144, allocations: 0.8639 MB / 450.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of simplify1: time 5.743e-05/0.01447, allocations: 55.91 kB / 450.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of Alias: time 0.001216/0.01569, allocations: 1.307 MB / 451.6 MB, free: 12.01 MB / 334.1 MB Notification: Performance of simplify2: time 4.46e-05/0.01574, allocations: 55.91 kB / 451.7 MB, free: 11.96 MB / 334.1 MB Notification: Performance of Events: time 0.0004049/0.01615, allocations: 405.7 kB / 452.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Detect States: time 0.0004565/0.01662, allocations: 0.5144 MB / 452.6 MB, free: 11.03 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0004722/0.0171, allocations: 0.5082 MB / 453.1 MB, free: 10.4 MB / 334.1 MB Notification: Performance of Causalize: time 0.002138/0.01924, allocations: 2.3 MB / 455.4 MB, free: 7.984 MB / 334.1 MB Notification: Performance of After Index Reduction Inline: time 0.0008493/0.0201, allocations: 0.9825 MB / 456.4 MB, free: 6.977 MB / 334.1 MB Notification: Performance of Inline: time 0.002646/0.02275, allocations: 2.763 MB / 459.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of Partitioning: time 0.0001617/0.02293, allocations: 151.7 kB / 459.3 MB, free: 3.992 MB / 334.1 MB Notification: Performance of Cleanup: time 9.119e-05/0.02303, allocations: 103.8 kB / 459.4 MB, free: 3.891 MB / 334.1 MB Notification: Performance of Causalize: time 0.004893/0.02792, allocations: 6.125 MB / 465.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Tearing: time 6.652e-06/0.02794, allocations: 0 / 465.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Initialization: time 3.1e-07/0.02795, allocations: 0 / 465.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Tearing: time 3.376e-06/0.02796, allocations: 0 / 465.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Categorize: time 1.759e-05/0.02798, allocations: 7.938 kB / 465.5 MB, free: 14.09 MB / 350.1 MB Notification: Performance of Solve: time 0.0005235/0.0285, allocations: 426.6 kB / 466 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Jacobian: time 3.808e-06/0.02852, allocations: 7.938 kB / 466 MB, free: 13.65 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 6.353e-05/0.02859, allocations: 67.81 kB / 466 MB, free: 13.59 MB / 350.1 MB Notification: Performance of SimCode: time 0.003543/0.03214, allocations: 3.916 MB / 470 MB, free: 9.656 MB / 350.1 MB Notification: Performance of Templates: time 0.01251/0.04466, allocations: 8.38 MB / 478.3 MB, free: 1.277 MB / 350.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable.makefile make -j1 -f ModelicaTest_3.2.1_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_1_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.1_ModelicaTest.Blocks.BooleanTable.o ModelicaTest_3.2.1_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_1_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.1_ModelicaTest.Blocks.BooleanTable_functions.o ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:205:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:206:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:209:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:212:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:268:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:269:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:272:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:275:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:331:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:332:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:335:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:338:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:394:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:395:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:398:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:401:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:457:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ ModelicaTest_3.2.1_ModelicaTest.Blocks.BooleanTable_functions.c:458:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ ModelicaTest_3.2.1_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.1_ModelicaTest.Blocks.BooleanTable_functions.o] Error 1