Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001268/0.001268, allocations: 114.6 kB / 17.75 MB, free: 5.305 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.00117/0.00117, allocations: 187 kB / 18.68 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.301/1.301, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.328e-05, allocations: 2.281 kB / 351.9 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.00295/0.002981, allocations: 1.989 MB / 353.9 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.00468, allocations: 1.126 MB / 355 MB, free: 164 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.004801, allocations: 7.938 kB / 355 MB, free: 156 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007978/0.005607, allocations: 308.4 kB / 355.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004138/0.00603, allocations: 203.3 kB / 355.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.00671, allocations: 281.7 kB / 355.8 MB, free: 15.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003942/0.007113, allocations: 375 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.007279, allocations: 68.36 kB / 356.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.007485, allocations: 155.4 kB / 356.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.007665, allocations: 143.4 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.431e-05/0.007707, allocations: 20 kB / 356.6 MB, free: 14.63 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001614/0.007879, allocations: 87.94 kB / 356.7 MB, free: 14.55 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002765/0.008164, allocations: 403.5 kB / 357 MB, free: 14.15 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001417/0.008313, allocations: 256.3 kB / 357.3 MB, free: 13.89 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.136e-05/0.008371, allocations: 35.88 kB / 357.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.98e-05/0.008416, allocations: 4 kB / 357.3 MB, free: 13.86 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.0009885/0.00941, allocations: 1.029 MB / 358.4 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FunctionAlias: time 7.768e-05/0.009495, allocations: 45.78 kB / 358.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002957/0.009797, allocations: 332.2 kB / 358.7 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplify1: time 3.46e-05/0.00984, allocations: 19.97 kB / 358.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Alias: time 0.0007166/0.01056, allocations: 0.584 MB / 359.3 MB, free: 11.63 MB / 302.1 MB Notification: Performance of simplify2: time 2.088e-05/0.01059, allocations: 19.95 kB / 359.4 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Events: time 0.0001438/0.01074, allocations: 99.73 kB / 359.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Detect States: time 0.0003984/0.01115, allocations: 176.8 kB / 359.6 MB, free: 11.33 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001894/0.01135, allocations: 164.2 kB / 359.8 MB, free: 11.15 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005954/0.01196, allocations: 0.5267 MB / 360.3 MB, free: 10.6 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002814/0.01225, allocations: 340.2 kB / 360.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of Inline: time 0.0009181/0.01318, allocations: 0.8781 MB / 361.5 MB, free: 9.328 MB / 302.1 MB Notification: Performance of Partitioning: time 5.492e-05/0.01324, allocations: 54.31 kB / 361.6 MB, free: 9.27 MB / 302.1 MB Notification: Performance of Cleanup: time 2.997e-05/0.01328, allocations: 23.97 kB / 361.6 MB, free: 9.246 MB / 302.1 MB Notification: Performance of Causalize: time 0.001517/0.0148, allocations: 1.417 MB / 363 MB, free: 7.828 MB / 302.1 MB Notification: Performance of Tearing: time 1.506e-05/0.01483, allocations: 3.938 kB / 363 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Initialization: time 4.11e-07/0.01483, allocations: 0 / 363 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Tearing: time 2.786e-06/0.01484, allocations: 0 / 363 MB, free: 7.824 MB / 302.1 MB Notification: Performance of Categorize: time 1.137e-05/0.01486, allocations: 4 kB / 363 MB, free: 7.82 MB / 302.1 MB Notification: Performance of Solve: time 0.0001991/0.01506, allocations: 122 kB / 363.1 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Jacobian: time 2.685e-06/0.01507, allocations: 0 / 363.1 MB, free: 7.699 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 0.0001263/0.0152, allocations: 41.97 kB / 363.2 MB, free: 7.664 MB / 302.1 MB Notification: Performance of SimCode: time 0.002304/0.01752, allocations: 1.964 MB / 365.1 MB, free: 5.828 MB / 302.1 MB Notification: Performance of Templates: time 0.006213/0.02374, allocations: 3.048 MB / 368.2 MB, free: 2.785 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_4.0.0_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_4_0_0_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_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_4.0.0_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_4.0.0_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1