Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001233/0.001233, allocations: 104.4 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.001213/0.001212, allocations: 192.2 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.4/1.4, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.397e-05/2.398e-05, allocations: 2.281 kB / 327.2 MB, free: 3.367 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.002913/0.002944, allocations: 1.994 MB / 329.2 MB, free: 1.359 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001588/0.004544, allocations: 1.054 MB / 330.2 MB, free: 304 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.004657, allocations: 4 kB / 330.2 MB, free: 300 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007771/0.00544, allocations: 303.2 kB / 330.5 MB, free: 15.99 MB / 286.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.0003848/0.005849, allocations: 199.3 kB / 330.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005354/0.006403, allocations: 255.5 kB / 331 MB, free: 15.55 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003693/0.006781, allocations: 375 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001513/0.006941, allocations: 64.38 kB / 331.4 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.007116, allocations: 143.4 kB / 331.5 MB, free: 14.98 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001674/0.007291, allocations: 143.4 kB / 331.7 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.161e-05/0.00733, allocations: 16 kB / 331.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001488/0.007486, allocations: 87.88 kB / 331.8 MB, free: 14.74 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002938/0.007788, allocations: 411.4 kB / 332.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001342/0.00793, allocations: 248.4 kB / 332.4 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.091e-05/0.007987, allocations: 39.88 kB / 332.4 MB, free: 14.05 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.453e-05/0.008017, allocations: 7.938 kB / 332.5 MB, free: 14.04 MB / 286.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.0009926/0.009014, allocations: 1.021 MB / 333.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.493e-05/0.009055, allocations: 27.94 kB / 333.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0002967/0.009357, allocations: 324.2 kB / 333.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simplify1: time 3.169e-05/0.009395, allocations: 19.97 kB / 333.8 MB, free: 12.52 MB / 286.1 MB Notification: Performance of Alias: time 0.0006293/0.01003, allocations: 0.5454 MB / 334.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simplify2: time 1.738e-05/0.01006, allocations: 15.97 kB / 334.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Events: time 0.0001459/0.01021, allocations: 99.73 kB / 334.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002135/0.01043, allocations: 173.3 kB / 334.7 MB, free: 11.58 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000169/0.01061, allocations: 148.3 kB / 334.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.0007053/0.01132, allocations: 0.6711 MB / 335.5 MB, free: 10.73 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000273/0.0116, allocations: 332.7 kB / 335.8 MB, free: 10.38 MB / 286.1 MB Notification: Performance of Inline: time 0.0008893/0.0125, allocations: 0.8449 MB / 336.7 MB, free: 9.496 MB / 286.1 MB Notification: Performance of Partitioning: time 4.906e-05/0.01256, allocations: 46.3 kB / 336.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of Cleanup: time 4.147e-05/0.01261, allocations: 35.91 kB / 336.7 MB, free: 9.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.001623/0.01423, allocations: 1.758 MB / 338.5 MB, free: 7.676 MB / 286.1 MB Notification: Performance of Tearing: time 8.887e-06/0.01425, allocations: 4 kB / 338.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of Initialization: time 2.81e-07/0.01426, allocations: 0 / 338.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of Tearing: time 1.844e-06/0.01427, allocations: 128 / 338.5 MB, free: 7.672 MB / 286.1 MB Notification: Performance of Categorize: time 1.307e-05/0.01428, allocations: 3.938 kB / 338.5 MB, free: 7.668 MB / 286.1 MB Notification: Performance of Solve: time 0.0001887/0.01448, allocations: 133.9 kB / 338.6 MB, free: 7.535 MB / 286.1 MB Notification: Performance of Jacobian: time 4.499e-06/0.01449, allocations: 4 kB / 338.6 MB, free: 7.531 MB / 286.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: ........... 20 (scalar:20, 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: ........... 41 (scalar:37, 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 7.097e-05/0.01456, allocations: 58.14 kB / 338.7 MB, free: 7.48 MB / 286.1 MB Notification: Performance of SimCode: time 0.00222/0.01679, allocations: 1.942 MB / 340.6 MB, free: 5.516 MB / 286.1 MB Notification: Performance of Templates: time 0.005878/0.02268, allocations: 2.926 MB / 343.6 MB, free: 2.586 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1.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=Modelica_3_1_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.1_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1.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=Modelica_3_1_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.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.1_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.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1