Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") translateModel(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 112 kB / 16.43 MB, free: 6.508 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.00142/0.00142, allocations: 183.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.52/1.52, 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.09542/0.09542, allocations: 10.73 MB / 281.3 MB, free: 1.305 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.604e-05, allocations: 5.578 kB / 391.4 MB, free: 46.07 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.003602/0.003646, allocations: 2.279 MB / 393.7 MB, free: 44.49 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002271/0.00593, allocations: 1.377 MB / 395.1 MB, free: 43.55 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.006121, allocations: 12.31 kB / 395.1 MB, free: 43.54 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.007282, allocations: 484.5 kB / 395.6 MB, free: 43.4 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.0006424/0.007959, allocations: 310.3 kB / 395.9 MB, free: 43.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001165/0.009135, allocations: 448.8 kB / 396.3 MB, free: 43.05 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007647/0.00991, allocations: 0.6109 MB / 396.9 MB, free: 42.79 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002578/0.01018, allocations: 123.1 kB / 397.1 MB, free: 42.73 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003269/0.01051, allocations: 252.1 kB / 397.3 MB, free: 42.62 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003193/0.01084, allocations: 242.5 kB / 397.5 MB, free: 42.53 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.534e-05/0.01091, allocations: 28.75 kB / 397.6 MB, free: 42.53 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003331/0.01125, allocations: 162.6 kB / 397.7 MB, free: 42.48 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0004735/0.01173, allocations: 0.6531 MB / 398.4 MB, free: 42.06 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0001982/0.01194, allocations: 419.5 kB / 398.8 MB, free: 41.76 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 8.038e-05/0.01203, allocations: 56.09 kB / 398.8 MB, free: 41.72 MB / 318.1 MB Notification: Performance of FrontEnd: time 6.689e-05/0.0121, allocations: 20.25 kB / 398.9 MB, free: 41.71 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: 38 (38) * Number of variables: 38 (32) Notification: Performance of Bindings: time 0.001454/0.01356, allocations: 1.581 MB / 400.4 MB, free: 40.55 MB / 318.1 MB Notification: Performance of FunctionAlias: time 6.708e-05/0.01364, allocations: 37.22 kB / 400.5 MB, free: 40.53 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0004595/0.0141, allocations: 496.2 kB / 401 MB, free: 40.2 MB / 318.1 MB Notification: Performance of simplify1: time 5.725e-05/0.01417, allocations: 31.2 kB / 401 MB, free: 40.19 MB / 318.1 MB Notification: Performance of Alias: time 0.0008911/0.01506, allocations: 0.6934 MB / 401.7 MB, free: 39.68 MB / 318.1 MB Notification: Performance of simplify2: time 3.997e-05/0.01512, allocations: 33.83 kB / 401.7 MB, free: 39.66 MB / 318.1 MB Notification: Performance of Events: time 0.0002397/0.01536, allocations: 154.6 kB / 401.9 MB, free: 39.58 MB / 318.1 MB Notification: Performance of Detect States: time 0.0003704/0.01574, allocations: 301.8 kB / 402.2 MB, free: 39.38 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0003225/0.01607, allocations: 275.2 kB / 402.4 MB, free: 39.2 MB / 318.1 MB Notification: Performance of Causalize: time 0.001511/0.01759, allocations: 1.092 MB / 403.5 MB, free: 38.77 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.0005661/0.01817, allocations: 0.5584 MB / 404.1 MB, free: 38.41 MB / 318.1 MB Notification: Performance of Inline: time 0.001586/0.01976, allocations: 1.473 MB / 405.6 MB, free: 37.4 MB / 318.1 MB Notification: Performance of Partitioning: time 9.454e-05/0.01987, allocations: 89.28 kB / 405.7 MB, free: 37.34 MB / 318.1 MB Notification: Performance of Cleanup: time 5.243e-05/0.01993, allocations: 50.03 kB / 405.7 MB, free: 37.3 MB / 318.1 MB Notification: Performance of Causalize: time 0.003987/0.02392, allocations: 4.254 MB / 410 MB, free: 34 MB / 318.1 MB Notification: Performance of Tearing: time 1.51e-05/0.02395, allocations: 3.938 kB / 410 MB, free: 34 MB / 318.1 MB Notification: Performance of Initialization: time 1.052e-06/0.02395, allocations: 0 / 410 MB, free: 34 MB / 318.1 MB Notification: Performance of Tearing: time 6.112e-06/0.02396, allocations: 0 / 410 MB, free: 34 MB / 318.1 MB Notification: Performance of Categorize: time 1.625e-05/0.02399, allocations: 4 kB / 410 MB, free: 34 MB / 318.1 MB Notification: Performance of Solve: time 0.0003218/0.02431, allocations: 270.3 kB / 410.2 MB, free: 33.73 MB / 318.1 MB Notification: Performance of Jacobian: time 4.028e-06/0.02433, allocations: 4 kB / 410.2 MB, free: 33.73 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: ......... 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: .................... 10 (10) {xor_gate.y, or_gate.y, not_gate.y, booleanConstant2.combiTimeTable.nextTimeEventScaled, booleanConstant2.combiTimeTable.nextTimeEvent, booleanConstant1.combiTimeTable.nextTimeEvent, booleanConstant1.combiTimeTable.nextTimeEventScaled, booleanConstant.combiTimeTable.nextTimeEventScaled, booleanConstant.combiTimeTable.nextTimeEvent, and_gate.y} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 32 (26) {and_gate.u, booleanConstant.realToBoolean.y, booleanConstant1.realToBoolean.y, booleanConstant2.realToBoolean.y, not_gate.u, or_gate.u, xor_gate.u, not_gate_C.u, not_gate_C.y, $FUN_1, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_6, $TEV_5, $TEV_4, $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: ........... 38 (scalar:36, array:2, record:0) * Number of multi strong components: ............ 10 (algorithm:0, when:10, 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: ........... 77 (scalar:64, array:10, record:3) * Number of multi strong components: ............ 6 (algorithm:6, 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.0001366/0.02447, allocations: 37.91 kB / 410.3 MB, free: 33.7 MB / 318.1 MB Notification: Performance of SimCode: time 0.002835/0.02731, allocations: 2.769 MB / 413 MB, free: 31.04 MB / 318.1 MB Notification: Performance of Templates: time 0.008305/0.03563, allocations: 5.26 MB / 418.3 MB, free: 25.79 MB / 318.1 MB make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.makefile make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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_basicLogicOperations -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.basicLogicOperations.o IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations.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_basicLogicOperations -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.basicLogicOperations_functions.o IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:45:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:46:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:49:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:52:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:108:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:109:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:112:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:115:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:171:37: error: use of undeclared identifier '_OMC_LIT0' tmpMeta3 = stringAppend(_OMC_LIT0,tmp2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:172:46: error: use of undeclared identifier '_OMC_LIT1' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT1); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:175:46: error: use of undeclared identifier '_OMC_LIT2' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT2); ^ IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.c:178:47: error: use of undeclared identifier '_OMC_LIT1' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT1); ^ 12 errors generated. make: *** [: IndustrialControlSystems_IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations_functions.o] Error 1