Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.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) 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(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Pre1.u|table1.y|table2.y",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008868/0.0008869, allocations: 110.3 kB / 18.36 MB, free: 4.758 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.0009287/0.0009287, allocations: 191.5 kB / 19.3 MB, free: 3.828 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.247/1.247, allocations: 205.1 MB / 225.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.164e-05, allocations: 2.281 kB / 282 MB, free: 2.523 MB / 222.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003/0.003036, allocations: 1.991 MB / 284 MB, free: 0.5117 MB / 222.1 MB Notification: Performance of NFInst.instExpressions: time 0.00149/0.004538, allocations: 1.054 MB / 285.1 MB, free: 15.45 MB / 238.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.004643, allocations: 4 kB / 285.1 MB, free: 15.45 MB / 238.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007553/0.005405, allocations: 307.1 kB / 285.4 MB, free: 15.14 MB / 238.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003933/0.005807, allocations: 199.3 kB / 285.6 MB, free: 14.95 MB / 238.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005571/0.006385, allocations: 270.2 kB / 285.9 MB, free: 14.69 MB / 238.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003827/0.006776, allocations: 367.2 kB / 286.2 MB, free: 14.33 MB / 238.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.006947, allocations: 68.3 kB / 286.3 MB, free: 14.27 MB / 238.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001697/0.007123, allocations: 151.4 kB / 286.4 MB, free: 14.12 MB / 238.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.00729, allocations: 139.4 kB / 286.6 MB, free: 13.98 MB / 238.1 MB Notification: Performance of NFPackage.collectConstants: time 3.759e-05/0.007334, allocations: 20 kB / 286.6 MB, free: 13.96 MB / 238.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.007491, allocations: 87.88 kB / 286.7 MB, free: 13.88 MB / 238.1 MB Notification: Performance of combineBinaries: time 0.0002928/0.007792, allocations: 407.4 kB / 287.1 MB, free: 13.47 MB / 238.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001387/0.007938, allocations: 252.4 kB / 287.3 MB, free: 13.22 MB / 238.1 MB Notification: Performance of NFVerifyModel.verify: time 5.169e-05/0.007996, allocations: 39.88 kB / 287.3 MB, free: 13.18 MB / 238.1 MB Notification: Performance of FrontEnd: time 3.075e-05/0.008032, allocations: 11.88 kB / 287.4 MB, free: 13.17 MB / 238.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.001001/0.009038, allocations: 1.01 MB / 288.4 MB, free: 12.06 MB / 238.1 MB Notification: Performance of FunctionAlias: time 8.594e-05/0.009132, allocations: 51.91 kB / 288.4 MB, free: 12.01 MB / 238.1 MB Notification: Performance of Early Inline: time 0.0003036/0.009443, allocations: 336.2 kB / 288.7 MB, free: 11.65 MB / 238.1 MB Notification: Performance of simplify1: time 3.604e-05/0.009486, allocations: 27.95 kB / 288.8 MB, free: 11.62 MB / 238.1 MB Notification: Performance of Alias: time 0.0006615/0.01015, allocations: 0.5415 MB / 289.3 MB, free: 10.99 MB / 238.1 MB Notification: Performance of simplify2: time 1.974e-05/0.01018, allocations: 19.95 kB / 289.3 MB, free: 10.97 MB / 238.1 MB Notification: Performance of Events: time 0.000147/0.01034, allocations: 103.7 kB / 289.4 MB, free: 10.87 MB / 238.1 MB Notification: Performance of Detect States: time 0.0001998/0.01054, allocations: 169.3 kB / 289.6 MB, free: 10.69 MB / 238.1 MB Notification: Performance of Partitioning: time 0.0001657/0.01072, allocations: 148.3 kB / 289.7 MB, free: 10.52 MB / 238.1 MB Notification: Performance of Causalize: time 0.000677/0.0114, allocations: 0.6934 MB / 290.4 MB, free: 9.809 MB / 238.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002846/0.01169, allocations: 340.7 kB / 290.8 MB, free: 9.449 MB / 238.1 MB Notification: Performance of Inline: time 0.0007736/0.01248, allocations: 0.8107 MB / 291.6 MB, free: 8.594 MB / 238.1 MB Notification: Performance of Partitioning: time 4.9e-05/0.01254, allocations: 46.38 kB / 291.6 MB, free: 8.539 MB / 238.1 MB Notification: Performance of Cleanup: time 2.696e-05/0.01257, allocations: 27.95 kB / 291.7 MB, free: 8.512 MB / 238.1 MB Notification: Performance of Causalize: time 0.001627/0.01421, allocations: 1.84 MB / 293.5 MB, free: 6.699 MB / 238.1 MB Notification: Performance of Tearing: time 7.134e-06/0.01423, allocations: 0 / 293.5 MB, free: 6.699 MB / 238.1 MB Notification: Performance of Initialization: time 2.154e-06/0.01423, allocations: 0 / 293.5 MB, free: 6.699 MB / 238.1 MB Notification: Performance of Tearing: time 1.593e-06/0.01424, allocations: 7.938 kB / 293.5 MB, free: 6.691 MB / 238.1 MB Notification: Performance of Categorize: time 1.175e-05/0.01426, allocations: 4 kB / 293.5 MB, free: 6.688 MB / 238.1 MB Notification: Performance of Solve: time 0.0001889/0.01445, allocations: 130 kB / 293.6 MB, free: 6.562 MB / 238.1 MB Notification: Performance of Jacobian: time 3.547e-06/0.01446, allocations: 0 / 293.6 MB, free: 6.562 MB / 238.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: ........... 45 (scalar:41, 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 0.0001096/0.01458, allocations: 38.22 kB / 293.7 MB, free: 6.531 MB / 238.1 MB Notification: Performance of SimCode: time 0.002046/0.01663, allocations: 1.985 MB / 295.7 MB, free: 4.57 MB / 238.1 MB Notification: Performance of Templates: time 0.005467/0.02211, allocations: 2.985 MB / 298.6 MB, free: 1.582 MB / 238.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1