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.001212/0.001212, allocations: 107.4 kB / 16.42 MB, free: 6.484 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.001296/0.001296, allocations: 187.2 kB / 17.35 MB, free: 5.754 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.557/1.557, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.05496/0.05496, allocations: 10.73 MB / 281.3 MB, free: 1.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.238e-05/3.239e-05, allocations: 2.984 kB / 391.4 MB, free: 46.03 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.FliFlop): time 0.003193/0.003233, allocations: 1.943 MB / 393.4 MB, free: 44.69 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001911/0.005158, allocations: 1.134 MB / 394.5 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.005285, allocations: 1.25 kB / 394.5 MB, free: 43.91 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009837/0.006276, allocations: 317 kB / 394.8 MB, free: 43.82 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.0004841/0.006805, allocations: 207 kB / 395 MB, free: 43.73 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007549/0.007569, allocations: 261.7 kB / 395.3 MB, free: 43.61 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005712/0.008148, allocations: 373.6 kB / 395.7 MB, free: 43.45 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.008343, allocations: 51.7 kB / 395.7 MB, free: 43.42 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002561/0.008607, allocations: 148.8 kB / 395.8 MB, free: 43.36 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.008859, allocations: 144.6 kB / 396 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.545e-05/0.008912, allocations: 17.88 kB / 396 MB, free: 43.3 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.009147, allocations: 94.23 kB / 396.1 MB, free: 43.28 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004062/0.009563, allocations: 398.6 kB / 396.5 MB, free: 43.03 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0002072/0.009779, allocations: 238.5 kB / 396.7 MB, free: 42.86 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.009847, allocations: 36.41 kB / 396.8 MB, free: 42.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.342e-05/0.009897, allocations: 5.312 kB / 396.8 MB, free: 42.84 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.001179/0.0111, allocations: 1.008 MB / 397.8 MB, free: 42.05 MB / 318.1 MB Notification: Performance of FunctionAlias: time 2.906e-05/0.01113, allocations: 11.97 kB / 397.8 MB, free: 42.04 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0003863/0.01153, allocations: 373 kB / 398.1 MB, free: 41.79 MB / 318.1 MB Notification: Performance of simplify1: time 3.349e-05/0.01157, allocations: 15.89 kB / 398.2 MB, free: 41.78 MB / 318.1 MB Notification: Performance of Alias: time 0.0006138/0.01219, allocations: 476.1 kB / 398.6 MB, free: 41.43 MB / 318.1 MB Notification: Performance of simplify2: time 2.492e-05/0.01222, allocations: 14.94 kB / 398.6 MB, free: 41.43 MB / 318.1 MB Notification: Performance of Events: time 0.0001637/0.01239, allocations: 99.73 kB / 398.7 MB, free: 41.37 MB / 318.1 MB Notification: Performance of Detect States: time 0.0002585/0.01266, allocations: 192.4 kB / 398.9 MB, free: 41.24 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001625/0.01283, allocations: 147.1 kB / 399.1 MB, free: 41.13 MB / 318.1 MB Notification: Performance of Causalize: time 0.0006851/0.01352, allocations: 495.4 kB / 399.6 MB, free: 40.94 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0003941/0.01393, allocations: 349 kB / 399.9 MB, free: 40.7 MB / 318.1 MB Notification: Performance of Inline: time 0.001211/0.01515, allocations: 0.9909 MB / 400.9 MB, free: 40.09 MB / 318.1 MB Notification: Performance of Partitioning: time 5.706e-05/0.01522, allocations: 52.94 kB / 400.9 MB, free: 40.04 MB / 318.1 MB Notification: Performance of Cleanup: time 4.365e-05/0.01527, allocations: 27.98 kB / 401 MB, free: 40.03 MB / 318.1 MB Notification: Performance of Causalize: time 0.002053/0.01732, allocations: 1.46 MB / 402.4 MB, free: 39.49 MB / 318.1 MB Notification: Performance of Tearing: time 1.178e-05/0.01735, allocations: 0 / 402.4 MB, free: 39.49 MB / 318.1 MB Notification: Performance of Initialization: time 2.695e-06/0.01736, allocations: 5.125 kB / 402.4 MB, free: 39.49 MB / 318.1 MB Notification: Performance of Tearing: time 4.979e-06/0.01737, allocations: 3.938 kB / 402.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of Categorize: time 1.997e-05/0.0174, allocations: 2.312 kB / 402.4 MB, free: 39.48 MB / 318.1 MB Notification: Performance of Solve: time 0.000276/0.01768, allocations: 128.2 kB / 402.6 MB, free: 39.44 MB / 318.1 MB Notification: Performance of Jacobian: time 5.249e-06/0.0177, allocations: 3.938 kB / 402.6 MB, free: 39.43 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 0.0001363/0.01784, allocations: 46.22 kB / 402.6 MB, free: 39.4 MB / 318.1 MB Notification: Performance of SimCode: time 0.002794/0.02064, allocations: 1.995 MB / 404.6 MB, free: 38.2 MB / 318.1 MB Notification: Performance of Templates: time 0.006988/0.02764, allocations: 3.226 MB / 407.8 MB, free: 36.33 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