Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.LogicalNetwork1") translateModel(Modelica.Blocks.Examples.LogicalNetwork1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.0009414/0.0009414, allocations: 107.3 kB / 16.42 MB, free: 5.973 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.0008721/0.0008722, allocations: 191.3 kB / 17.36 MB, free: 5.566 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.265/1.265, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/2.745e-05, allocations: 3.547 kB / 327.2 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.LogicalNetwork1): time 0.003116/0.003152, allocations: 1.985 MB / 329.2 MB, free: 1.352 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.004788, allocations: 1.054 MB / 330.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.004892, allocations: 0 / 330.2 MB, free: 296 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.005687, allocations: 307.2 kB / 330.5 MB, free: 15.98 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.0004105/0.006116, allocations: 203.2 kB / 330.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005609/0.006686, allocations: 251.5 kB / 331 MB, free: 15.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004196/0.007115, allocations: 379.1 kB / 331.3 MB, free: 15.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001716/0.007295, allocations: 68.38 kB / 331.4 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000186/0.007488, allocations: 143.5 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001577/0.007653, allocations: 147.4 kB / 331.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.206e-05/0.007701, allocations: 20 kB / 331.7 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.007852, allocations: 87.89 kB / 331.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002954/0.008155, allocations: 407.4 kB / 332.2 MB, free: 14.31 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001455/0.008309, allocations: 252.4 kB / 332.4 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.765e-05/0.008363, allocations: 31.88 kB / 332.5 MB, free: 14.03 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.585e-05/0.008394, allocations: 7.938 kB / 332.5 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.001033/0.009432, allocations: 1.021 MB / 333.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.271e-05/0.009471, allocations: 23.92 kB / 333.5 MB, free: 12.87 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000296/0.009774, allocations: 316.2 kB / 333.8 MB, free: 12.54 MB / 286.1 MB Notification: Performance of simplify1: time 3.167e-05/0.009814, allocations: 27.97 kB / 333.8 MB, free: 12.51 MB / 286.1 MB Notification: Performance of Alias: time 0.0006396/0.01046, allocations: 0.5493 MB / 334.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simplify2: time 1.694e-05/0.01049, allocations: 11.98 kB / 334.4 MB, free: 11.85 MB / 286.1 MB Notification: Performance of Events: time 0.0001495/0.01064, allocations: 99.72 kB / 334.5 MB, free: 11.75 MB / 286.1 MB Notification: Performance of Detect States: time 0.0002023/0.01085, allocations: 173.3 kB / 334.7 MB, free: 11.57 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001672/0.01103, allocations: 144.3 kB / 334.8 MB, free: 11.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.0006809/0.01172, allocations: 0.6724 MB / 335.5 MB, free: 10.72 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.000275/0.012, allocations: 328.7 kB / 335.8 MB, free: 10.37 MB / 286.1 MB Notification: Performance of Inline: time 0.0008443/0.01285, allocations: 0.8449 MB / 336.6 MB, free: 9.488 MB / 286.1 MB Notification: Performance of Partitioning: time 5.37e-05/0.01292, allocations: 58.3 kB / 336.7 MB, free: 9.426 MB / 286.1 MB Notification: Performance of Cleanup: time 3.004e-05/0.01295, allocations: 31.89 kB / 336.7 MB, free: 9.395 MB / 286.1 MB Notification: Performance of Causalize: time 0.00175/0.01471, allocations: 1.762 MB / 338.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of Tearing: time 6.041e-06/0.01472, allocations: 0 / 338.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01473, allocations: 0 / 338.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of Tearing: time 1.443e-06/0.01473, allocations: 0 / 338.5 MB, free: 7.656 MB / 286.1 MB Notification: Performance of Categorize: time 1.182e-05/0.01475, allocations: 7.938 kB / 338.5 MB, free: 7.648 MB / 286.1 MB Notification: Performance of Solve: time 0.0002494/0.015, allocations: 133.9 kB / 338.6 MB, free: 7.516 MB / 286.1 MB Notification: Performance of Jacobian: time 2.715e-06/0.01501, allocations: 0 / 338.6 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.619e-05/0.01511, allocations: 54.27 kB / 338.7 MB, free: 7.469 MB / 286.1 MB Notification: Performance of SimCode: time 0.002188/0.01731, allocations: 1.941 MB / 340.6 MB, free: 5.508 MB / 286.1 MB Notification: Performance of Templates: time 0.005709/0.02303, allocations: 2.933 MB / 343.6 MB, free: 2.57 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Blocks.Examples.LogicalNetwork1.o Modelica_3.2.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_2_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.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.o Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.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.2.1_Modelica.Blocks.Examples.LogicalNetwork1_functions.o] Error 1