Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001243/0.001247, allocations: 119.7 kB / 18.48 MB, free: 4.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001289/0.001289, allocations: 209 kB / 19.42 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.316/1.316, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.83e-05/3.83e-05, allocations: 6.219 kB / 359.3 MB, free: 12.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.0041/0.004147, allocations: 2.025 MB / 361.4 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002197/0.006357, allocations: 1.284 MB / 362.6 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001504/0.00652, allocations: 3.938 kB / 362.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008007/0.007327, allocations: 307.1 kB / 362.9 MB, free: 9.312 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005413/0.007877, allocations: 251.1 kB / 363.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00047/0.008358, allocations: 230.9 kB / 363.4 MB, free: 8.844 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004236/0.008791, allocations: 391.1 kB / 363.8 MB, free: 8.461 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001508/0.00895, allocations: 56.73 kB / 363.8 MB, free: 8.406 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001885/0.009145, allocations: 159.4 kB / 364 MB, free: 8.25 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/0.009327, allocations: 143.4 kB / 364.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.54e-05/0.009369, allocations: 20 kB / 364.2 MB, free: 8.09 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.009544, allocations: 91.88 kB / 364.3 MB, free: 8 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002978/0.00985, allocations: 423.2 kB / 364.7 MB, free: 7.582 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001563/0.01001, allocations: 284 kB / 364.9 MB, free: 7.301 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.811e-05/0.01007, allocations: 31.88 kB / 365 MB, free: 7.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.737e-05/0.0101, allocations: 7.938 kB / 365 MB, free: 7.262 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 (24) * Number of variables: 24 (24) Notification: Performance of Bindings: time 0.001049/0.01116, allocations: 1.063 MB / 366 MB, free: 6.09 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.702e-05/0.01124, allocations: 50.23 kB / 366.1 MB, free: 6.043 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0003112/0.01156, allocations: 336.2 kB / 366.4 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simplify1: time 3.105e-05/0.01159, allocations: 19.97 kB / 366.4 MB, free: 5.668 MB / 302.1 MB Notification: Performance of Alias: time 0.0007532/0.01236, allocations: 0.5996 MB / 367 MB, free: 4.98 MB / 302.1 MB Notification: Performance of simplify2: time 2.124e-05/0.01239, allocations: 15.98 kB / 367.1 MB, free: 4.965 MB / 302.1 MB Notification: Performance of Events: time 0.000153/0.01255, allocations: 103.7 kB / 367.2 MB, free: 4.863 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001977/0.01275, allocations: 173.3 kB / 367.3 MB, free: 4.68 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001762/0.01294, allocations: 157.4 kB / 367.5 MB, free: 4.504 MB / 302.1 MB Notification: Performance of Causalize: time 0.0006199/0.01356, allocations: 0.534 MB / 368 MB, free: 3.945 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002911/0.01386, allocations: 340.5 kB / 368.3 MB, free: 3.586 MB / 302.1 MB Notification: Performance of Inline: time 0.0008838/0.01475, allocations: 0.8729 MB / 369.2 MB, free: 2.68 MB / 302.1 MB Notification: Performance of Partitioning: time 6.026e-05/0.01482, allocations: 62.28 kB / 369.3 MB, free: 2.613 MB / 302.1 MB Notification: Performance of Cleanup: time 2.916e-05/0.01486, allocations: 27.95 kB / 369.3 MB, free: 2.586 MB / 302.1 MB Notification: Performance of Causalize: time 0.001588/0.01645, allocations: 1.409 MB / 370.7 MB, free: 1.18 MB / 302.1 MB Notification: Performance of Tearing: time 6.993e-06/0.01647, allocations: 3.938 kB / 370.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Initialization: time 3e-07/0.01647, allocations: 0 / 370.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Tearing: time 1.332e-06/0.01648, allocations: 0 / 370.7 MB, free: 1.176 MB / 302.1 MB Notification: Performance of Categorize: time 9.728e-06/0.01649, allocations: 4 kB / 370.7 MB, free: 1.172 MB / 302.1 MB Notification: Performance of Solve: time 0.0001931/0.01669, allocations: 130 kB / 370.9 MB, free: 1.039 MB / 302.1 MB Notification: Performance of Jacobian: time 2.856e-06/0.0167, allocations: 0 / 370.9 MB, free: 1.039 MB / 302.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: ......... 3 * 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: .................... 4 (4) {table1.combiTimeTable.nextTimeEvent, table1.combiTimeTable.nextTimeEventScaled, table2.combiTimeTable.nextTimeEvent, table2.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 16 (16) {Not1.u, And1.y, Or1.u1, Or1.y, Pre1.y, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $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: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:0, when:4, 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: ........... 43 (scalar:39, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, 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 8.466e-05/0.01679, allocations: 33.94 kB / 370.9 MB, free: 1.012 MB / 302.1 MB Notification: Performance of SimCode: time 0.1849/0.2017, allocations: 1.986 MB / 372.9 MB, free: 14.82 MB / 302.1 MB Notification: Performance of Templates: time 0.007586/0.2093, allocations: 3.114 MB / 376 MB, free: 14.72 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.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=Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1 -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 Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1.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=Modelica_trunk_Modelica_Blocks_Examples_LogicalNetwork1 -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 Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:115:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 8 errors generated. make: *** [: Modelica_trunk_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1