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.001288/0.001289, allocations: 109.5 kB / 18.47 MB, free: 4.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001095/0.001096, allocations: 213 kB / 19.42 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.454e-05/2.455e-05, allocations: 8.469 kB / 359.3 MB, free: 13.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002858/0.002891, allocations: 1.846 MB / 361.2 MB, free: 11.15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001789/0.004693, allocations: 1.177 MB / 362.3 MB, free: 9.965 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.004805, allocations: 3.938 kB / 362.4 MB, free: 9.961 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005841/0.005396, allocations: 163.5 kB / 362.5 MB, free: 9.801 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.005782, allocations: 167.3 kB / 362.7 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003161/0.006108, allocations: 147.5 kB / 362.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002731/0.006391, allocations: 239.3 kB / 363.1 MB, free: 9.258 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.006512, allocations: 25.53 kB / 363.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001301/0.006648, allocations: 91.61 kB / 363.2 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.006779, allocations: 83.62 kB / 363.2 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.663e-05/0.006814, allocations: 16 kB / 363.3 MB, free: 9.047 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.006937, allocations: 59.95 kB / 363.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0001855/0.00713, allocations: 257.1 kB / 363.6 MB, free: 8.734 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 8.772e-05/0.007223, allocations: 165.5 kB / 363.7 MB, free: 8.57 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.11e-05/0.00727, allocations: 31.88 kB / 363.8 MB, free: 8.539 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.882e-05/0.007304, allocations: 7.938 kB / 363.8 MB, free: 8.531 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.0007314/0.00804, allocations: 0.6964 MB / 364.5 MB, free: 7.73 MB / 302.1 MB Notification: Performance of FunctionAlias: time 5.474e-05/0.008102, allocations: 15.98 kB / 364.5 MB, free: 7.715 MB / 302.1 MB Notification: Performance of Early Inline: time 0.0002225/0.00833, allocations: 232.2 kB / 364.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simplify1: time 2.506e-05/0.008362, allocations: 15.97 kB / 364.7 MB, free: 7.445 MB / 302.1 MB Notification: Performance of Alias: time 0.0004104/0.008778, allocations: 306.3 kB / 365 MB, free: 7.086 MB / 302.1 MB Notification: Performance of simplify2: time 1.596e-05/0.008803, allocations: 15.98 kB / 365 MB, free: 7.07 MB / 302.1 MB Notification: Performance of Events: time 0.000135/0.008942, allocations: 83.8 kB / 365.1 MB, free: 6.988 MB / 302.1 MB Notification: Performance of Detect States: time 0.0001803/0.00913, allocations: 153.1 kB / 365.3 MB, free: 6.832 MB / 302.1 MB Notification: Performance of Partitioning: time 0.0001405/0.009278, allocations: 126.9 kB / 365.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of Causalize: time 0.0004588/0.009746, allocations: 412.6 kB / 365.8 MB, free: 6.246 MB / 302.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002349/0.00999, allocations: 272.6 kB / 366.1 MB, free: 5.953 MB / 302.1 MB Notification: Performance of Inline: time 0.0006368/0.01064, allocations: 0.6177 MB / 366.7 MB, free: 5.305 MB / 302.1 MB Notification: Performance of Partitioning: time 4.426e-05/0.01069, allocations: 42.38 kB / 366.7 MB, free: 5.254 MB / 302.1 MB Notification: Performance of Cleanup: time 2.506e-05/0.01072, allocations: 15.98 kB / 366.7 MB, free: 5.238 MB / 302.1 MB Notification: Performance of Causalize: time 0.0009668/0.01169, allocations: 0.8965 MB / 367.6 MB, free: 4.332 MB / 302.1 MB Notification: Performance of Tearing: time 7.844e-06/0.01171, allocations: 4 kB / 367.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of Initialization: time 2.9e-07/0.01172, allocations: 0 / 367.6 MB, free: 4.328 MB / 302.1 MB Notification: Performance of Tearing: time 2.514e-06/0.01172, allocations: 4 kB / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of Categorize: time 8.756e-06/0.01174, allocations: 0 / 367.6 MB, free: 4.324 MB / 302.1 MB Notification: Performance of Solve: time 0.0001426/0.01188, allocations: 97.86 kB / 367.7 MB, free: 4.23 MB / 302.1 MB Notification: Performance of Jacobian: time 5.54e-06/0.0119, allocations: 3.938 kB / 367.7 MB, free: 4.227 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 8.482e-05/0.01198, allocations: 30.44 kB / 367.8 MB, free: 4.203 MB / 302.1 MB Notification: Performance of SimCode: time 0.001901/0.01389, allocations: 1.638 MB / 369.4 MB, free: 2.66 MB / 302.1 MB Notification: Performance of Templates: time 0.004861/0.01876, allocations: 2.173 MB / 371.6 MB, free: 0.4922 MB / 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