Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001167/0.001167, allocations: 113 kB / 17.75 MB, free: 5.309 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.001153/0.001153, allocations: 184.7 kB / 18.68 MB, free: 4.387 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.276/1.276, allocations: 205.1 MB / 224.6 MB, free: 12.21 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.272e-05/2.274e-05, allocations: 3.125 kB / 328.5 MB, free: 3.359 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.002826/0.002857, allocations: 1.989 MB / 330.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.004413, allocations: 1.054 MB / 331.5 MB, free: 300 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.404e-05/0.004518, allocations: 3.938 kB / 331.5 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007284/0.005255, allocations: 299.3 kB / 331.8 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.0004181/0.005694, allocations: 211.2 kB / 332 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005691/0.006273, allocations: 247.5 kB / 332.3 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003701/0.006651, allocations: 375 kB / 332.6 MB, free: 15.18 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.00682, allocations: 64.38 kB / 332.7 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.006996, allocations: 155.4 kB / 332.9 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001633/0.007166, allocations: 147.4 kB / 333 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.135e-05/0.007205, allocations: 16 kB / 333 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001396/0.007351, allocations: 87.94 kB / 333.1 MB, free: 14.72 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002777/0.007637, allocations: 403.4 kB / 333.5 MB, free: 14.32 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001433/0.007787, allocations: 260.3 kB / 333.7 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.007835, allocations: 31.88 kB / 333.8 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.074e-05/0.007861, allocations: 8 kB / 333.8 MB, free: 14.02 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.0009489/0.008815, allocations: 1.025 MB / 334.8 MB, free: 12.89 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.093e-05/0.008852, allocations: 19.94 kB / 334.8 MB, free: 12.87 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0002831/0.009142, allocations: 320.2 kB / 335.1 MB, free: 12.53 MB / 286.1 MB Notification: Performance of simplify1: time 3.064e-05/0.009179, allocations: 23.95 kB / 335.2 MB, free: 12.51 MB / 286.1 MB Notification: Performance of Alias: time 0.0006093/0.009794, allocations: 0.5454 MB / 335.7 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simplify2: time 1.765e-05/0.009821, allocations: 15.97 kB / 335.7 MB, free: 11.85 MB / 286.1 MB Notification: Performance of Events: time 0.0001442/0.00997, allocations: 107.7 kB / 335.8 MB, free: 11.75 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002068/0.01018, allocations: 165.4 kB / 336 MB, free: 11.57 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001545/0.01035, allocations: 144.3 kB / 336.1 MB, free: 11.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006807/0.01104, allocations: 0.6679 MB / 336.8 MB, free: 10.72 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002712/0.01132, allocations: 328.3 kB / 337.1 MB, free: 10.38 MB / 286.1 MB Notification: Performance of Inline: time 0.0008383/0.01216, allocations: 0.8517 MB / 338 MB, free: 9.488 MB / 286.1 MB Notification: Performance of Partitioning: time 5.25e-05/0.01223, allocations: 62.28 kB / 338 MB, free: 9.422 MB / 286.1 MB Notification: Performance of Cleanup: time 2.907e-05/0.01226, allocations: 27.91 kB / 338.1 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Causalize: time 0.001536/0.0138, allocations: 1.759 MB / 339.8 MB, free: 7.66 MB / 286.1 MB Notification: Performance of Tearing: time 5.651e-06/0.01382, allocations: 0 / 339.8 MB, free: 7.66 MB / 286.1 MB Notification: Performance of Initialization: time 3.21e-07/0.01382, allocations: 0 / 339.8 MB, free: 7.66 MB / 286.1 MB Notification: Performance of Tearing: time 1.653e-06/0.01383, allocations: 192 / 339.8 MB, free: 7.66 MB / 286.1 MB Notification: Performance of Categorize: time 1.042e-05/0.01384, allocations: 7.938 kB / 339.8 MB, free: 7.652 MB / 286.1 MB Notification: Performance of Solve: time 0.0001742/0.01402, allocations: 129.9 kB / 340 MB, free: 7.523 MB / 286.1 MB Notification: Performance of Jacobian: time 4.168e-06/0.01404, allocations: 7.984 kB / 340 MB, free: 7.516 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 9.511e-05/0.01414, allocations: 45.06 kB / 340 MB, free: 7.477 MB / 286.1 MB Notification: Performance of SimCode: time 0.002028/0.01617, allocations: 1.946 MB / 342 MB, free: 5.508 MB / 286.1 MB Notification: Performance of Templates: time 0.005448/0.02163, allocations: 2.929 MB / 344.9 MB, free: 2.574 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.2.2_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_2_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.2_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_3.2.2_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_2_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.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.2_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.2_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1