Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 115 kB / 18.47 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001485/0.001485, allocations: 209.1 kB / 19.42 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 227.4 MB / 247.6 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.894e-05/2.895e-05, allocations: 4.531 kB / 359.3 MB, free: 13 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003213/0.003251, allocations: 1.846 MB / 361.2 MB, free: 11.14 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002014/0.005278, allocations: 1.169 MB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.005442, allocations: 7.938 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006231/0.006073, allocations: 171.4 kB / 362.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004675/0.00657, allocations: 175.3 kB / 362.7 MB, free: 9.617 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004454/0.007026, allocations: 139.5 kB / 362.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003666/0.007403, allocations: 235.3 kB / 363.1 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.007539, allocations: 29.53 kB / 363.1 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001759/0.007721, allocations: 87.64 kB / 363.2 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001537/0.007883, allocations: 95.59 kB / 363.3 MB, free: 9.043 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.216e-05/0.007923, allocations: 12 kB / 363.3 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001563/0.008086, allocations: 59.97 kB / 363.3 MB, free: 8.973 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002076/0.008301, allocations: 265.1 kB / 363.6 MB, free: 8.711 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001124/0.00842, allocations: 165.5 kB / 363.8 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.039e-05/0.008476, allocations: 23.88 kB / 363.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.922e-05/0.008531, allocations: 7.938 kB / 363.8 MB, free: 8.516 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.0008301/0.009366, allocations: 0.6886 MB / 364.5 MB, free: 7.723 MB / 302.1 MB Notification: Performance of FunctionAlias: time 6.589e-05/0.009439, allocations: 23.97 kB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002256/0.009671, allocations: 236.1 kB / 364.7 MB, free: 7.441 MB / 302.1 MB Notification: Performance of simplify1: time 2.949e-05/0.009707, allocations: 15.95 kB / 364.7 MB, free: 7.426 MB / 302.1 MB Notification: Performance of Alias: time 0.0004937/0.01021, allocations: 306.4 kB / 365 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simplify2: time 2.23e-05/0.01024, allocations: 19.97 kB / 365.1 MB, free: 7.047 MB / 302.1 MB Notification: Performance of Detect States: time 0.000168/0.01042, allocations: 96.19 kB / 365.2 MB, free: 6.938 MB / 302.1 MB Notification: Performance of Events: time 0.0001623/0.01059, allocations: 94.27 kB / 365.2 MB, free: 6.848 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001614/0.01076, allocations: 134.9 kB / 365.4 MB, free: 6.688 MB / 302.1 MB Notification: Performance of Causalize: time 0.0005331/0.0113, allocations: 420.1 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002708/0.01158, allocations: 280.5 kB / 366.1 MB, free: 5.945 MB / 302.1 MB Notification: Performance of Inline: time 0.002143/0.01373, allocations: 0.695 MB / 366.8 MB, free: 5.25 MB / 302.1 MB Notification: Performance of Partitioning: time 4.886e-05/0.01379, allocations: 38.36 kB / 366.8 MB, free: 5.203 MB / 302.1 MB Notification: Performance of Cleanup: time 3.64e-05/0.01383, allocations: 19.98 kB / 366.8 MB, free: 5.184 MB / 302.1 MB Notification: Performance of Causalize: time 0.001145/0.01498, allocations: 0.907 MB / 367.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of Tearing: time 1.425e-05/0.01501, allocations: 0 / 367.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of Initialization: time 6.01e-07/0.01501, allocations: 0 / 367.7 MB, free: 4.27 MB / 302.1 MB Notification: Performance of Tearing: time 7.203e-06/0.01502, allocations: 4 kB / 367.7 MB, free: 4.266 MB / 302.1 MB Notification: Performance of Categorize: time 1.35e-05/0.01504, allocations: 3.938 kB / 367.7 MB, free: 4.262 MB / 302.1 MB Notification: Performance of Solve: time 0.0001682/0.01522, allocations: 93.83 kB / 367.8 MB, free: 4.172 MB / 302.1 MB Notification: Performance of Jacobian: time 6.152e-06/0.01523, allocations: 4 kB / 367.8 MB, free: 4.168 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.429e-05/0.01531, allocations: 31.61 kB / 367.9 MB, free: 4.152 MB / 302.1 MB Notification: Performance of SimCode: time 0.002249/0.01756, allocations: 1.63 MB / 369.5 MB, free: 2.613 MB / 302.1 MB Notification: Performance of Templates: time 0.005516/0.0231, allocations: 2.134 MB / 371.6 MB, free: 492 kB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.ShowLogicalSources.o Modelica_trunk_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_trunk_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_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.o Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_trunk_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_trunk_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1