Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 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.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|table.y",fileNamePrefix="Modelica_3.2.3_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.001426/0.001426, allocations: 103.4 kB / 18.4 MB, free: 4.77 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.001074/0.001074, allocations: 189.5 kB / 19.34 MB, free: 3.848 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.601/1.601, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.851e-05/2.851e-05, allocations: 5.234 kB / 329.1 MB, free: 3.383 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003189/0.003225, allocations: 1.832 MB / 331 MB, free: 1.535 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001779/0.005021, allocations: 0.9486 MB / 331.9 MB, free: 0.5781 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001402/0.005174, allocations: 7.938 kB / 331.9 MB, free: 0.5703 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008381/0.006018, allocations: 171.5 kB / 332.1 MB, free: 412 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003753/0.006404, allocations: 127.5 kB / 332.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005108/0.006967, allocations: 143.6 kB / 332.4 MB, free: 140 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004516/0.007428, allocations: 227.4 kB / 332.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001507/0.007589, allocations: 21.55 kB / 332.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001729/0.007769, allocations: 83.69 kB / 332.7 MB, free: 15.81 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/0.007942, allocations: 95.61 kB / 332.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.298e-05/0.007982, allocations: 12 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.008156, allocations: 59.89 kB / 332.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0002261/0.00839, allocations: 245.2 kB / 333.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001318/0.008528, allocations: 157.7 kB / 333.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.866e-05/0.008582, allocations: 23.94 kB / 333.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 4.441e-05/0.008632, allocations: 4 kB / 333.3 MB, free: 15.22 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: 13 (13) * Number of variables: 13 (13) Notification: Performance of Bindings: time 0.0007478/0.009385, allocations: 0.6845 MB / 333.9 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FunctionAlias: time 6.189e-05/0.009454, allocations: 27.92 kB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000214/0.009674, allocations: 228.2 kB / 334.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simplify1: time 2.634e-05/0.009707, allocations: 11.97 kB / 334.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of Alias: time 0.0004461/0.01016, allocations: 294.4 kB / 334.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simplify2: time 1.343e-05/0.01019, allocations: 15.98 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of Events: time 0.0001513/0.01034, allocations: 95.67 kB / 334.6 MB, free: 13.68 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001966/0.01055, allocations: 144 kB / 334.7 MB, free: 13.53 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0002415/0.0108, allocations: 120.5 kB / 334.9 MB, free: 13.38 MB / 286.1 MB Notification: Performance of Causalize: time 0.0004976/0.0113, allocations: 416.6 kB / 335.3 MB, free: 12.94 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002647/0.01158, allocations: 268.6 kB / 335.5 MB, free: 12.65 MB / 286.1 MB Notification: Performance of Inline: time 0.0006894/0.01228, allocations: 0.5968 MB / 336.1 MB, free: 12.03 MB / 286.1 MB Notification: Performance of Partitioning: time 4.776e-05/0.01233, allocations: 46.27 kB / 336.2 MB, free: 11.97 MB / 286.1 MB Notification: Performance of Cleanup: time 2.656e-05/0.01237, allocations: 19.98 kB / 336.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Causalize: time 0.0011/0.01347, allocations: 0.9015 MB / 337.1 MB, free: 11.05 MB / 286.1 MB Notification: Performance of Tearing: time 6.483e-06/0.01349, allocations: 8 kB / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Initialization: time 3.3e-07/0.0135, allocations: 0 / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Tearing: time 1.753e-06/0.01351, allocations: 0 / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Categorize: time 1.169e-05/0.01352, allocations: 0 / 337.1 MB, free: 11.04 MB / 286.1 MB Notification: Performance of Solve: time 0.0001519/0.01368, allocations: 101.8 kB / 337.2 MB, free: 10.94 MB / 286.1 MB Notification: Performance of Jacobian: time 2.896e-06/0.01369, allocations: 0 / 337.2 MB, free: 10.94 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: ......... 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 0.000118/0.01381, allocations: 44.22 kB / 337.2 MB, free: 10.9 MB / 286.1 MB Notification: Performance of SimCode: time 0.002067/0.01588, allocations: 1.613 MB / 338.9 MB, free: 9.25 MB / 286.1 MB Notification: Performance of Templates: time 0.005718/0.02161, allocations: 2.134 MB / 341 MB, free: 7.113 MB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources.o Modelica_3.2.3_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_3_2_3_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_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.o Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.3_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_3.2.3_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1