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.001464/0.001464, allocations: 105.7 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.002297/0.002297, allocations: 192.3 kB / 17.36 MB, free: 5.703 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.847/1.847, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 1.1.0-master/package.mo): time 0.0981/0.0981, allocations: 10.74 MB / 281.3 MB, free: 1.27 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.592e-05/3.593e-05, allocations: 3.125 kB / 391.4 MB, free: 46.04 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Logical.LogicalOperations.Examples.basicLogicOperations): time 0.004113/0.004157, allocations: 2.286 MB / 393.7 MB, free: 44.45 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003473/0.007645, allocations: 1.377 MB / 395.1 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003847/0.008054, allocations: 6.656 kB / 395.1 MB, free: 43.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.01001, allocations: 480 kB / 395.6 MB, free: 43.36 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.0009354/0.01096, allocations: 311.5 kB / 395.9 MB, free: 43.23 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001579/0.01255, allocations: 446.7 kB / 396.3 MB, free: 43.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001479/0.01404, allocations: 0.6083 MB / 396.9 MB, free: 42.75 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000414/0.01447, allocations: 121.3 kB / 397.1 MB, free: 42.69 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005745/0.01505, allocations: 252.7 kB / 397.3 MB, free: 42.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005206/0.01558, allocations: 239.6 kB / 397.5 MB, free: 42.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.0157, allocations: 31.62 kB / 397.6 MB, free: 42.49 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005594/0.01627, allocations: 163.7 kB / 397.7 MB, free: 42.45 MB / 318.1 MB Notification: Performance of combineBinaries: time 0.0007591/0.01704, allocations: 0.6585 MB / 398.4 MB, free: 42.02 MB / 318.1 MB Notification: Performance of replaceArrayConstructors: time 0.0003371/0.01738, allocations: 409.6 kB / 398.8 MB, free: 41.73 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001123/0.0175, allocations: 57.94 kB / 398.8 MB, free: 41.69 MB / 318.1 MB Notification: Performance of FrontEnd: time 0.0001168/0.01763, allocations: 16.31 kB / 398.9 MB, free: 41.68 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.002003/0.01964, allocations: 1.591 MB / 400.4 MB, free: 40.52 MB / 318.1 MB Notification: Performance of FunctionAlias: time 9.676e-05/0.01974, allocations: 36.33 kB / 400.5 MB, free: 40.49 MB / 318.1 MB Notification: Performance of Early Inline: time 0.0007356/0.02049, allocations: 496.5 kB / 401 MB, free: 40.17 MB / 318.1 MB Notification: Performance of simplify1: time 9.357e-05/0.02059, allocations: 36 kB / 401 MB, free: 40.15 MB / 318.1 MB Notification: Performance of Alias: time 0.001391/0.02199, allocations: 0.6883 MB / 401.7 MB, free: 39.64 MB / 318.1 MB Notification: Performance of simplify2: time 5.365e-05/0.02206, allocations: 26.28 kB / 401.7 MB, free: 39.64 MB / 318.1 MB Notification: Performance of Detect States: time 0.0005429/0.02261, allocations: 279.8 kB / 402 MB, free: 39.45 MB / 318.1 MB Notification: Performance of Events: time 0.0003335/0.02295, allocations: 155.7 kB / 402.1 MB, free: 39.35 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0004555/0.02342, allocations: 261.2 kB / 402.4 MB, free: 39.19 MB / 318.1 MB Notification: Performance of Causalize: time 0.002116/0.02554, allocations: 1.132 MB / 403.5 MB, free: 38.75 MB / 318.1 MB Notification: Performance of After Index Reduction Inline: time 0.000876/0.02643, allocations: 0.5585 MB / 404.1 MB, free: 38.39 MB / 318.1 MB Notification: Performance of Inline: time 0.005598/0.03204, allocations: 1.703 MB / 405.8 MB, free: 37.33 MB / 318.1 MB Notification: Performance of Partitioning: time 0.0001077/0.03216, allocations: 77.09 kB / 405.9 MB, free: 37.28 MB / 318.1 MB Notification: Performance of Cleanup: time 7.745e-05/0.03224, allocations: 53.42 kB / 405.9 MB, free: 37.23 MB / 318.1 MB Notification: Performance of Causalize: time 0.004629/0.03688, allocations: 4.27 MB / 410.2 MB, free: 33.85 MB / 318.1 MB Notification: Performance of Tearing: time 1.875e-05/0.03691, allocations: 3.938 kB / 410.2 MB, free: 33.85 MB / 318.1 MB Notification: Performance of Initialization: time 1.773e-06/0.03692, allocations: 4 kB / 410.2 MB, free: 33.84 MB / 318.1 MB Notification: Performance of Tearing: time 1.48e-05/0.03694, allocations: 7.938 kB / 410.2 MB, free: 33.84 MB / 318.1 MB Notification: Performance of Categorize: time 2.137e-05/0.03697, allocations: 0 / 410.2 MB, free: 33.84 MB / 318.1 MB Notification: Performance of Solve: time 0.0004013/0.03737, allocations: 266.4 kB / 410.5 MB, free: 33.57 MB / 318.1 MB Notification: Performance of Jacobian: time 4.388e-06/0.03739, allocations: 0 / 410.5 MB, free: 33.57 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 7.959e-05/0.03747, allocations: 56.62 kB / 410.5 MB, free: 33.53 MB / 318.1 MB Notification: Performance of SimCode: time 0.003223/0.0407, allocations: 2.794 MB / 413.3 MB, free: 30.8 MB / 318.1 MB Notification: Performance of Templates: time 0.008964/0.04968, allocations: 5.259 MB / 418.6 MB, free: 25.54 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