Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo", uses=false) Using package IndustrialControlSystems with version 1.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo) 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(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 112.1 kB / 16.42 MB, free: 6.523 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.001518/0.001518, allocations: 184.2 kB / 17.36 MB, free: 5.746 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.504/1.504, allocations: 205.1 MB / 223.2 MB, free: 12.24 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.06053/0.06053, allocations: 10.73 MB / 281.3 MB, free: 1.301 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.466e-05/2.468e-05, allocations: 6.234 kB / 391.4 MB, free: 46.08 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003288/0.003321, allocations: 1.955 MB / 393.4 MB, free: 44.72 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00204/0.005374, allocations: 1.12 MB / 394.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.005593, allocations: 2.75 kB / 394.5 MB, free: 43.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.006669, allocations: 318.6 kB / 394.8 MB, free: 43.86 MB / 318.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.0006653/0.007372, allocations: 210.6 kB / 395 MB, free: 43.77 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009005/0.008285, allocations: 264 kB / 395.3 MB, free: 43.64 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000679/0.008973, allocations: 369.5 kB / 395.7 MB, free: 43.48 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001966/0.009178, allocations: 56.72 kB / 395.7 MB, free: 43.46 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002783/0.009462, allocations: 147.8 kB / 395.9 MB, free: 43.4 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002225/0.009693, allocations: 145.6 kB / 396 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.009751, allocations: 20.62 kB / 396 MB, free: 43.34 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002448/0.01, allocations: 91.19 kB / 396.1 MB, free: 43.32 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0003604/0.01037, allocations: 398.8 kB / 396.5 MB, free: 43.07 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001577/0.01054, allocations: 243 kB / 396.7 MB, free: 42.89 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.044e-05/0.0106, allocations: 32.25 kB / 396.8 MB, free: 42.88 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.853e-05/0.01066, allocations: 4.344 kB / 396.8 MB, free: 42.88 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 (18) * Number of variables: 18 (18) Notification: Performance of Bindings: time 0.001108/0.01177, allocations: 1.003 MB / 397.8 MB, free: 42.11 MB / 318.1 MB Notification: Performance of FunctionAlias: time 3.196e-05/0.01181, allocations: 21.05 kB / 397.8 MB, free: 42.09 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003916/0.01221, allocations: 375 kB / 398.2 MB, free: 41.84 MB / 318.1 MB Notification: Performance of simplify1: time 3.336e-05/0.01225, allocations: 14.34 kB / 398.2 MB, free: 41.83 MB / 318.1 MB Notification: Performance of Alias: time 0.0006585/0.01291, allocations: 471.2 kB / 398.6 MB, free: 41.49 MB / 318.1 MB Notification: Performance of simplify2: time 2.453e-05/0.01295, allocations: 15.06 kB / 398.7 MB, free: 41.48 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002586/0.01321, allocations: 156.7 kB / 398.8 MB, free: 41.37 MB / 318.1 MB Notification: Performance of Events: time 0.0001622/0.01338, allocations: 103.3 kB / 398.9 MB, free: 41.31 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0002337/0.01363, allocations: 145.5 kB / 399 MB, free: 41.21 MB / 318.1 MB Notification: Performance of Causalize: time 0.001019/0.01465, allocations: 0.5252 MB / 399.6 MB, free: 40.99 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0004588/0.01512, allocations: 344.7 kB / 399.9 MB, free: 40.76 MB / 318.1 MB Notification: Performance of Inline: time 0.003446/0.01858, allocations: 1.138 MB / 401 MB, free: 40.1 MB / 318.1 MB Notification: Performance of Partitioning: time 6.538e-05/0.01865, allocations: 58.64 kB / 401.1 MB, free: 40.05 MB / 318.1 MB Notification: Performance of Cleanup: time 5.343e-05/0.01871, allocations: 31.73 kB / 401.1 MB, free: 40.04 MB / 318.1 MB Notification: Performance of Causalize: time 0.002205/0.02092, allocations: 1.459 MB / 402.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of Tearing: time 1.775e-05/0.02095, allocations: 4 kB / 402.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of Initialization: time 1.483e-06/0.02096, allocations: 1.094 kB / 402.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of Tearing: time 5.05e-06/0.02097, allocations: 0 / 402.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of Categorize: time 1.629e-05/0.02099, allocations: 2.188 kB / 402.6 MB, free: 39.5 MB / 318.1 MB Notification: Performance of Solve: time 0.0002624/0.02126, allocations: 131.7 kB / 402.7 MB, free: 39.45 MB / 318.1 MB Notification: Performance of Jacobian: time 3.997e-06/0.02127, allocations: 0 / 402.7 MB, free: 39.45 MB / 318.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: ......... 3 * 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: .................... 6 (6) {resetSIGNAL.combiTimeTable.nextTimeEventScaled, resetSIGNAL.combiTimeTable.nextTimeEvent, setSIGNAL.combiTimeTable.nextTimeEvent, setSIGNAL.combiTimeTable.nextTimeEventScaled, flipFlopSR.y2, flipFlopSR.y1} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 12 (12) {flipFlopSR.u1, flipFlopSR.u2, $SEV_5, $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: ............ 6 (algorithm:0, when:6, 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: ........... 40 (scalar:36, array:2, record:2) * Number of multi strong components: ............ 4 (algorithm:4, 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.918e-05/0.02134, allocations: 48.98 kB / 402.8 MB, free: 39.41 MB / 318.1 MB Notification: Performance of SimCode: time 0.002889/0.02423, allocations: 2.017 MB / 404.8 MB, free: 38.16 MB / 318.1 MB Notification: Performance of Templates: time 0.007996/0.03225, allocations: 3.151 MB / 407.9 MB, free: 36.27 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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=IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_FliFlop -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 IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.o IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop.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=IndustrialControlSystems_IndustrialControlSystems_Logical_LogicalOperations_Examples_FliFlop -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 IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.o IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.c:115:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 8 errors generated. make: *** [: IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop_functions.o] Error 1