Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.1_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.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.001046/0.001046, allocations: 106.5 kB / 16.42 MB, free: 6.52 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.001028/0.001028, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.246/1.246, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.735e-05/1.737e-05, allocations: 6.219 kB / 327.2 MB, free: 3.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.002715/0.00274, allocations: 1.81 MB / 329 MB, free: 1.531 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.00447, allocations: 0.9564 MB / 329.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001212/0.004603, allocations: 0 / 329.9 MB, free: 0.5664 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005689/0.00518, allocations: 175.4 kB / 330.1 MB, free: 404 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.0003202/0.005511, allocations: 119.5 kB / 330.2 MB, free: 284 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004308/0.005951, allocations: 151.5 kB / 330.4 MB, free: 132 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002926/0.006254, allocations: 223.5 kB / 330.6 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.006391, allocations: 21.55 kB / 330.6 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001463/0.006544, allocations: 91.53 kB / 330.7 MB, free: 15.8 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001296/0.00668, allocations: 83.67 kB / 330.8 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.703e-05/0.006714, allocations: 12 kB / 330.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.006843, allocations: 59.92 kB / 330.9 MB, free: 15.65 MB / 286.1 MB Notification: Performance of combineBinaries: time 0.0001895/0.00704, allocations: 249.2 kB / 331.1 MB, free: 15.4 MB / 286.1 MB Notification: Performance of replaceArrayConstructors: time 9.025e-05/0.007136, allocations: 157.7 kB / 331.2 MB, free: 15.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.00718, allocations: 19.94 kB / 331.3 MB, free: 15.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.663e-05/0.007222, allocations: 4 kB / 331.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.0007229/0.00795, allocations: 0.6924 MB / 332 MB, free: 14.43 MB / 286.1 MB Notification: Performance of FunctionAlias: time 3.312e-05/0.00799, allocations: 23.88 kB / 332 MB, free: 14.4 MB / 286.1 MB Notification: Performance of Early Inline: time 0.000204/0.0082, allocations: 204.3 kB / 332.2 MB, free: 14.18 MB / 286.1 MB Notification: Performance of simplify1: time 2.708e-05/0.008233, allocations: 15.97 kB / 332.2 MB, free: 14.16 MB / 286.1 MB Notification: Performance of Alias: time 0.0004094/0.008647, allocations: 294.4 kB / 332.5 MB, free: 13.81 MB / 286.1 MB Notification: Performance of simplify2: time 1.731e-05/0.008675, allocations: 11.98 kB / 332.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of Events: time 0.0001532/0.008834, allocations: 91.7 kB / 332.6 MB, free: 13.71 MB / 286.1 MB Notification: Performance of Detect States: time 0.0001705/0.009012, allocations: 124.1 kB / 332.7 MB, free: 13.57 MB / 286.1 MB Notification: Performance of Partitioning: time 0.000149/0.009169, allocations: 128.5 kB / 332.8 MB, free: 13.41 MB / 286.1 MB Notification: Performance of Causalize: time 0.0005546/0.009732, allocations: 0.5323 MB / 333.4 MB, free: 12.85 MB / 286.1 MB Notification: Performance of After Index Reduction Inline: time 0.0002316/0.009973, allocations: 272.9 kB / 333.6 MB, free: 12.56 MB / 286.1 MB Notification: Performance of Inline: time 0.0006249/0.0106, allocations: 0.5788 MB / 334.2 MB, free: 11.95 MB / 286.1 MB Notification: Performance of Partitioning: time 3.865e-05/0.01065, allocations: 49.17 kB / 334.3 MB, free: 11.9 MB / 286.1 MB Notification: Performance of Cleanup: time 2.402e-05/0.01068, allocations: 17.16 kB / 334.3 MB, free: 11.88 MB / 286.1 MB Notification: Performance of Causalize: time 0.001279/0.01197, allocations: 1.098 MB / 335.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of Tearing: time 1.247e-05/0.01199, allocations: 0 / 335.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of Initialization: time 3.21e-07/0.012, allocations: 3.938 kB / 335.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of Tearing: time 1.904e-06/0.012, allocations: 0 / 335.4 MB, free: 10.78 MB / 286.1 MB Notification: Performance of Categorize: time 9.948e-06/0.01202, allocations: 8.062 kB / 335.4 MB, free: 10.77 MB / 286.1 MB Notification: Performance of Solve: time 0.000139/0.01216, allocations: 93.58 kB / 335.5 MB, free: 10.68 MB / 286.1 MB Notification: Performance of Jacobian: time 3.707e-06/0.01218, allocations: 0 / 335.5 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 6.322e-05/0.01224, allocations: 40.23 kB / 335.5 MB, free: 10.64 MB / 286.1 MB Notification: Performance of SimCode: time 0.00198/0.01423, allocations: 1.616 MB / 337.1 MB, free: 9 MB / 286.1 MB Notification: Performance of Templates: time 0.004624/0.01887, allocations: 2.068 MB / 339.2 MB, free: 6.93 MB / 286.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources.makefile make -j1 -f Modelica_3.2.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_2_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.2.1_Modelica.Blocks.Examples.ShowLogicalSources.o Modelica_3.2.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_2_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.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.o Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ Modelica_3.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ Modelica_3.2.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.2.1_Modelica.Blocks.Examples.ShowLogicalSources_functions.o] Error 1