Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 115.8 kB / 17.75 MB, free: 5.324 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.0009839/0.000984, allocations: 189.9 kB / 18.69 MB, free: 4.398 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.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.12 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.408e-05/2.409e-05, allocations: 2.281 kB / 351.9 MB, free: 3.273 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.00294/0.002972, allocations: 1.814 MB / 353.7 MB, free: 1.445 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001661/0.004645, allocations: 1.029 MB / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.522e-05/0.004751, allocations: 0 / 354.8 MB, free: 424 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006672/0.005426, allocations: 161.5 kB / 354.9 MB, free: 264 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003159/0.005762, allocations: 131.5 kB / 355.1 MB, free: 132 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004277/0.0062, allocations: 182.6 kB / 355.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002891/0.006499, allocations: 227.3 kB / 355.5 MB, free: 15.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001163/0.006623, allocations: 17.56 kB / 355.5 MB, free: 15.71 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006771, allocations: 91.61 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.006908, allocations: 87.61 kB / 355.6 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.716e-05/0.006944, allocations: 16 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001182/0.007067, allocations: 51.97 kB / 355.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001991/0.007278, allocations: 253.2 kB / 356 MB, free: 15.22 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.42e-05/0.007369, allocations: 149.8 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.067e-05/0.007417, allocations: 27.88 kB / 356.1 MB, free: 15.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.648e-05/0.007448, allocations: 4 kB / 356.1 MB, free: 15.04 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0007246/0.008178, allocations: 0.696 MB / 356.8 MB, free: 14.24 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.295e-05/0.008238, allocations: 21.86 kB / 356.9 MB, free: 14.22 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002013/0.008445, allocations: 220.2 kB / 357.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of simplify1: time 2.192e-05/0.008474, allocations: 7.984 kB / 357.1 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Alias: time 0.0004146/0.008894, allocations: 314.3 kB / 357.4 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplify2: time 1.628e-05/0.008919, allocations: 11.98 kB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of Events: time 0.0001325/0.009057, allocations: 87.73 kB / 357.5 MB, free: 13.51 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001699/0.009234, allocations: 135.4 kB / 357.6 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001342/0.009376, allocations: 124.5 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004685/0.009851, allocations: 420 kB / 358.1 MB, free: 12.77 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.000253/0.01011, allocations: 276.6 kB / 358.4 MB, free: 12.47 MB / 302.1 MB Notification: Performance of Inline: time 0.0006441/0.01077, allocations: 0.59 MB / 359 MB, free: 11.85 MB / 302.1 MB Notification: Performance of Partitioning: time 4.523e-05/0.01082, allocations: 46.81 kB / 359.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of Cleanup: time 2.608e-05/0.01085, allocations: 20.44 kB / 359.1 MB, free: 11.78 MB / 302.1 MB Notification: Performance of Causalize: time 0.001006/0.01186, allocations: 0.8936 MB / 360 MB, free: 10.87 MB / 302.1 MB Notification: Performance of Tearing: time 7.895e-06/0.01188, allocations: 7.938 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Initialization: time 3.4e-07/0.01189, allocations: 4 kB / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Tearing: time 1.903e-06/0.0119, allocations: 0 / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Categorize: time 7.514e-06/0.01191, allocations: 0 / 360 MB, free: 10.86 MB / 302.1 MB Notification: Performance of Solve: time 0.0001377/0.01205, allocations: 101.8 kB / 360.1 MB, free: 10.76 MB / 302.1 MB Notification: Performance of Jacobian: time 4.429e-06/0.01206, allocations: 0 / 360.1 MB, free: 10.76 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: ......... 4 * 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: .................... 3 (3) {pulse.pulseStart, table.combiTimeTable.nextTimeEventScaled, table.combiTimeTable.nextTimeEvent} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 14 (14) {table.realToBoolean.y, step.y, pulse.y, sample.y, booleanExpression.y, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_3, $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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:0, when:3, 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: ........... 31 (scalar:29, array:1, record:1) * Number of multi strong components: ............ 2 (algorithm:2, 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.747e-05/0.01214, allocations: 39.25 kB / 360.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of SimCode: time 0.001754/0.0139, allocations: 1.612 MB / 361.7 MB, free: 9.246 MB / 302.1 MB Notification: Performance of Templates: time 0.004735/0.01865, allocations: 2.152 MB / 363.9 MB, free: 7.098 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.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_ShowLogicalSources -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.ShowLogicalSources.o Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources.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_ShowLogicalSources -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.ShowLogicalSources_functions.o Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 4 errors generated. make: *** [: Modelica_4.0.0_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1