Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001147/0.001147, allocations: 107.6 kB / 16.42 MB, free: 6.422 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.001101/0.001101, allocations: 187.2 kB / 17.36 MB, free: 5.684 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.377/1.377, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.138e-05/2.139e-05, allocations: 6.219 kB / 327.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002671/0.002701, allocations: 1.822 MB / 329 MB, free: 1.5 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001432/0.004146, allocations: 0.9525 MB / 329.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.616e-05/0.004244, allocations: 0 / 329.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005688/0.00482, allocations: 171.5 kB / 330.1 MB, free: 380 kB / 270.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.000303/0.005133, allocations: 123.5 kB / 330.2 MB, free: 256 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003551/0.005497, allocations: 151.5 kB / 330.4 MB, free: 104 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.005762, allocations: 219.4 kB / 330.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.005876, allocations: 17.56 kB / 330.6 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.005996, allocations: 91.67 kB / 330.7 MB, free: 15.78 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.006119, allocations: 83.61 kB / 330.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.006159, allocations: 12 kB / 330.8 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.006284, allocations: 59.97 kB / 330.8 MB, free: 15.63 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001843/0.006477, allocations: 253.2 kB / 331.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 8.822e-05/0.006571, allocations: 157.7 kB / 331.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.006613, allocations: 19.94 kB / 331.3 MB, free: 15.2 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.994e-05/0.006648, allocations: 4 kB / 331.3 MB, free: 15.2 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.0006904/0.007343, allocations: 0.6846 MB / 332 MB, free: 14.41 MB / 286.1 MB Notification: Performance of FunctionAlias: time 2.977e-05/0.007379, allocations: 23.88 kB / 332 MB, free: 14.39 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0001906/0.007575, allocations: 208.2 kB / 332.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of simplify1: time 2.387e-05/0.007607, allocations: 19.97 kB / 332.2 MB, free: 14.14 MB / 286.1 MB Notification: Performance of Alias: time 0.0003802/0.007992, allocations: 286.5 kB / 332.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of simplify2: time 1.667e-05/0.008018, allocations: 15.97 kB / 332.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of Events: time 0.0001317/0.008155, allocations: 91.7 kB / 332.6 MB, free: 13.69 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001794/0.008342, allocations: 120.2 kB / 332.7 MB, free: 13.55 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001395/0.008491, allocations: 132.4 kB / 332.8 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005509/0.00905, allocations: 0.5279 MB / 333.4 MB, free: 12.84 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002326/0.009292, allocations: 281.3 kB / 333.6 MB, free: 12.54 MB / 286.1 MB Notification: Performance of Inline: time 0.0006012/0.0099, allocations: 0.5802 MB / 334.2 MB, free: 11.93 MB / 286.1 MB Notification: Performance of Partitioning: time 3.622e-05/0.009948, allocations: 41.17 kB / 334.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of Cleanup: time 2.58e-05/0.009979, allocations: 19.98 kB / 334.3 MB, free: 11.86 MB / 286.1 MB Notification: Performance of Causalize: time 0.001035/0.01102, allocations: 1.11 MB / 335.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Tearing: time 7.253e-06/0.01104, allocations: 0 / 335.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Initialization: time 3.31e-07/0.01104, allocations: 3.938 kB / 335.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Tearing: time 1.102e-06/0.01105, allocations: 0 / 335.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Categorize: time 8.616e-06/0.01106, allocations: 4 kB / 335.4 MB, free: 10.75 MB / 286.1 MB Notification: Performance of Solve: time 0.0001384/0.01121, allocations: 93.66 kB / 335.5 MB, free: 10.66 MB / 286.1 MB Notification: Performance of Jacobian: time 3.206e-06/0.01122, allocations: 0 / 335.5 MB, free: 10.66 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: ........... 16 (scalar:16, 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: ........... 30 (scalar:28, 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.982e-05/0.01131, allocations: 36.11 kB / 335.5 MB, free: 10.62 MB / 286.1 MB Notification: Performance of SimCode: time 0.00199/0.01331, allocations: 1.62 MB / 337.1 MB, free: 8.973 MB / 286.1 MB Notification: Performance of Templates: time 0.004563/0.01788, allocations: 2.06 MB / 339.2 MB, free: 6.91 MB / 286.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.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_1_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.1_Modelica.Blocks.Examples.ShowLogicalSources.o Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources.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_1_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.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.o Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.1_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.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1