Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001206/0.001206, 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.001192/0.001192, 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 3.2.3+maint.om/package.mo): time 1.292/1.292, allocations: 205.1 MB / 224.6 MB, free: 12.24 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.289e-05, allocations: 5.234 kB / 328.5 MB, free: 3.352 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002793/0.002824, allocations: 1.817 MB / 330.3 MB, free: 1.52 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001457/0.004292, allocations: 0.9525 MB / 331.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.372e-05/0.004377, allocations: 0 / 331.3 MB, free: 0.5586 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005572/0.004942, allocations: 171.5 kB / 331.4 MB, free: 400 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.0002722/0.005239, allocations: 127.4 kB / 331.5 MB, free: 272 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003443/0.005592, allocations: 151.6 kB / 331.7 MB, free: 120 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002621/0.005864, allocations: 219.4 kB / 331.9 MB, free: 15.9 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.81e-05/0.005971, allocations: 25.53 kB / 331.9 MB, free: 15.88 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001133/0.006093, allocations: 87.62 kB / 332 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.006219, allocations: 91.66 kB / 332.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.006249, allocations: 8 kB / 332.1 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.006364, allocations: 55.98 kB / 332.2 MB, free: 15.64 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.000185/0.006556, allocations: 253.2 kB / 332.4 MB, free: 15.39 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 9.169e-05/0.006655, allocations: 153.8 kB / 332.6 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.185e-05/0.006692, allocations: 19.94 kB / 332.6 MB, free: 15.22 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.139e-05/0.006719, allocations: 7.938 kB / 332.6 MB, free: 15.21 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.000711/0.007434, allocations: 0.6924 MB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of FunctionAlias: time 2.777e-05/0.007468, allocations: 19.92 kB / 333.3 MB, free: 14.39 MB / 286.1 MB Notification: Performance of Early Inline: time 0.0001921/0.007665, allocations: 200.3 kB / 333.5 MB, free: 14.17 MB / 286.1 MB Notification: Performance of simplify1: time 3.211e-05/0.007704, allocations: 27.94 kB / 333.5 MB, free: 14.14 MB / 286.1 MB Notification: Performance of Alias: time 0.0003759/0.008085, allocations: 278.5 kB / 333.8 MB, free: 13.81 MB / 286.1 MB Notification: Performance of simplify2: time 1.65e-05/0.008111, allocations: 19.95 kB / 333.8 MB, free: 13.79 MB / 286.1 MB Notification: Performance of Events: time 0.0001378/0.008254, allocations: 87.72 kB / 333.9 MB, free: 13.7 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001699/0.008432, allocations: 124.1 kB / 334 MB, free: 13.57 MB / 286.1 MB Notification: Performance of Partitioning: time 0.0001473/0.008588, allocations: 140.4 kB / 334.2 MB, free: 13.4 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005519/0.009146, allocations: 0.5283 MB / 334.7 MB, free: 12.84 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002269/0.009382, allocations: 268.9 kB / 335 MB, free: 12.55 MB / 286.1 MB Notification: Performance of Inline: time 0.0006144/0.01, allocations: 0.5811 MB / 335.5 MB, free: 11.94 MB / 286.1 MB Notification: Performance of Partitioning: time 3.545e-05/0.01005, allocations: 42.36 kB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of Cleanup: time 2.396e-05/0.01008, allocations: 19.97 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of Causalize: time 0.00104/0.01112, allocations: 1.106 MB / 336.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Tearing: time 8.035e-06/0.01114, allocations: 3.938 kB / 336.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Initialization: time 3.21e-07/0.01115, allocations: 0 / 336.7 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Tearing: time 3.767e-06/0.01116, allocations: 4 kB / 336.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of Categorize: time 8.335e-06/0.01117, allocations: 4.062 kB / 336.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of Solve: time 0.0001365/0.01131, allocations: 85.61 kB / 336.8 MB, free: 10.68 MB / 286.1 MB Notification: Performance of Jacobian: time 3.095e-06/0.01132, allocations: 320 / 336.8 MB, free: 10.68 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.034e-05/0.01141, allocations: 44.22 kB / 336.8 MB, free: 10.63 MB / 286.1 MB Notification: Performance of SimCode: time 0.00179/0.0132, allocations: 1.615 MB / 338.5 MB, free: 8.988 MB / 286.1 MB Notification: Performance of Templates: time 0.004433/0.01765, allocations: 2.076 MB / 340.5 MB, free: 6.91 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_3.2.2_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_2_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.2_Modelica.Blocks.Examples.ShowLogicalSources.o Modelica_3.2.2_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_2_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.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.o Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.2_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.2_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1