Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") translateModel(BuildingSystems.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 106.6 kB / 16.42 MB, free: 6.453 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.001072/0.001072, allocations: 192.3 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.13/1.13, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001823/0.001823, allocations: 283.6 kB / 291.5 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8181/0.8181, allocations: 169.3 MB / 0.499 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.581e-05/1.582e-05, allocations: 2.281 kB / 0.682 GB, free: 7.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.IntegerReplicator): time 0.002297/0.002321, allocations: 1.756 MB / 0.6837 GB, free: 5.254 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001418/0.003751, allocations: 1.108 MB / 0.6848 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.239e-05/0.003824, allocations: 0 / 0.6848 GB, free: 4.137 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002422/0.004073, allocations: 59.67 kB / 0.6849 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001884/0.004271, allocations: 75.67 kB / 0.685 GB, free: 4.004 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004838/0.004768, allocations: 230.5 kB / 0.6852 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001814/0.004959, allocations: 159.6 kB / 0.6853 GB, free: 3.625 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.847e-05/0.005065, allocations: 29.11 kB / 0.6854 GB, free: 3.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.509e-05/0.005166, allocations: 59.77 kB / 0.6854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.772e-05/0.00526, allocations: 63.75 kB / 0.6855 GB, free: 3.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.005287, allocations: 8 kB / 0.6855 GB, free: 3.469 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.00541, allocations: 71.89 kB / 0.6856 GB, free: 3.398 MB / 494.1 MB Notification: Performance of combineBinaries: time 0.0001136/0.005531, allocations: 166.1 kB / 0.6857 GB, free: 3.234 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 5.071e-05/0.005587, allocations: 110.3 kB / 0.6858 GB, free: 3.125 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.074e-05/0.005624, allocations: 23.94 kB / 0.6858 GB, free: 3.102 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.378e-05/0.005642, allocations: 3.938 kB / 0.6858 GB, free: 3.098 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 (9) * Number of variables: 10 (9) Notification: Performance of Bindings: time 0.0005057/0.006152, allocations: 0.5361 MB / 0.6864 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FunctionAlias: time 6.796e-05/0.006226, allocations: 49.25 kB / 0.6864 GB, free: 2.414 MB / 494.1 MB Notification: Performance of Early Inline: time 0.0001745/0.006406, allocations: 208.2 kB / 0.6866 GB, free: 2.184 MB / 494.1 MB Notification: Performance of simplify1: time 2.401e-05/0.006437, allocations: 11.97 kB / 0.6866 GB, free: 2.172 MB / 494.1 MB Notification: Performance of Alias: time 0.0003154/0.006758, allocations: 262 kB / 0.6869 GB, free: 1.863 MB / 494.1 MB Notification: Performance of simplify2: time 1.671e-05/0.006784, allocations: 11.98 kB / 0.6869 GB, free: 1.852 MB / 494.1 MB Notification: Performance of Events: time 7.771e-05/0.006866, allocations: 51.83 kB / 0.6869 GB, free: 1.801 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001298/0.007003, allocations: 101.2 kB / 0.687 GB, free: 1.691 MB / 494.1 MB Notification: Performance of Partitioning: time 9.507e-05/0.007106, allocations: 100.3 kB / 0.6871 GB, free: 1.57 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003643/0.007477, allocations: 346.9 kB / 0.6875 GB, free: 1.211 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001484/0.007633, allocations: 192.2 kB / 0.6876 GB, free: 0.9961 MB / 494.1 MB Notification: Performance of Inline: time 0.0004097/0.008049, allocations: 470 kB / 0.6881 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of Partitioning: time 2.866e-05/0.008087, allocations: 36.11 kB / 0.6881 GB, free: 476 kB / 494.1 MB Notification: Performance of Cleanup: time 1.949e-05/0.008112, allocations: 15.92 kB / 0.6881 GB, free: 460 kB / 494.1 MB Notification: Performance of Causalize: time 0.2343/0.2425, allocations: 0.6949 MB / 0.6888 GB, free: 14 MB / 494.1 MB Notification: Performance of Tearing: time 9.157e-06/0.2425, allocations: 0.9688 kB / 0.6888 GB, free: 14 MB / 494.1 MB Notification: Performance of Initialization: time 1.192e-06/0.2425, allocations: 4.938 kB / 0.6888 GB, free: 14 MB / 494.1 MB Notification: Performance of Tearing: time 3.457e-06/0.2425, allocations: 6.016 kB / 0.6888 GB, free: 14 MB / 494.1 MB Notification: Performance of Categorize: time 1.242e-05/0.2425, allocations: 1.5 kB / 0.6888 GB, free: 14 MB / 494.1 MB Notification: Performance of Solve: time 0.0001358/0.2427, allocations: 64.14 kB / 0.6889 GB, free: 13.99 MB / 494.1 MB Notification: Performance of Jacobian: time 2.755e-06/0.2427, allocations: 3.172 kB / 0.6889 GB, free: 13.99 MB / 494.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: .................... 2 (2) {intTab.combiTimeTable.nextTimeEvent, intTab.combiTimeTable.nextTimeEventScaled} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 8 (7) {intRep.u, intRep.y, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 12 (scalar:11, array:1, record:0) * Number of multi strong components: ............ 2 (algorithm:0, when:2, 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: ........... 22 (scalar:19, array:2, 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 3.342e-05/0.2427, allocations: 25.39 kB / 0.6889 GB, free: 13.99 MB / 494.1 MB Notification: Performance of SimCode: time 0.001606/0.2443, allocations: 1.551 MB / 0.6904 GB, free: 13.09 MB / 494.1 MB Notification: Performance of Templates: time 0.004278/0.2486, allocations: 1.913 MB / 0.6923 GB, free: 12.93 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.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=BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator -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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator.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=BuildingSystems_BuildingSystems_Utilities_Math_Examples_IntegerReplicator -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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:59:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:60:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:63:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:66:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:90:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta19 = stringAppend(_OMC_LIT5,tmp18); ^ BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.c:91:48: error: use of undeclared identifier '_OMC_LIT6' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT6); ^ 6 errors generated. make: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.IntegerReplicator_functions.o] Error 1