Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator") translateModel(IDEAS.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.001214/0.001214, allocations: 105.8 kB / 16.42 MB, free: 6.465 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.001109/0.00111, allocations: 183.2 kB / 17.36 MB, free: 5.699 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.421/1.421, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7908/0.7908, allocations: 135.1 MB / 426.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.451e-05/2.452e-05, allocations: 2.984 kB / 0.5862 GB, free: 21.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.IntegerReplicator): time 0.002635/0.00267, allocations: 1.776 MB / 0.588 GB, free: 20.33 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001507/0.004192, allocations: 1.091 MB / 0.589 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.285e-05/0.004296, allocations: 5.406 kB / 0.589 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003421/0.004644, allocations: 56.77 kB / 0.5891 GB, free: 19.44 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002297/0.004884, allocations: 78.33 kB / 0.5892 GB, free: 19.39 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005845/0.00551, allocations: 222.5 kB / 0.5894 GB, free: 19.24 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002211/0.005741, allocations: 164.9 kB / 0.5895 GB, free: 19.14 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.005877, allocations: 35.28 kB / 0.5896 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.005993, allocations: 73.2 kB / 0.5896 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.006112, allocations: 58.77 kB / 0.5897 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.006143, allocations: 6.625 kB / 0.5897 GB, free: 19.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001534/0.006302, allocations: 72.75 kB / 0.5898 GB, free: 19.01 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.0001164/0.006427, allocations: 169.9 kB / 0.5899 GB, free: 18.88 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.864e-05/0.006492, allocations: 112 kB / 0.59 GB, free: 18.8 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.874e-05/0.006537, allocations: 14.78 kB / 0.59 GB, free: 18.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.055e-05/0.006573, allocations: 1 kB / 0.59 GB, free: 18.79 MB / 446.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.000488/0.007069, allocations: 0.5503 MB / 0.5906 GB, free: 18.16 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.104e-05/0.007146, allocations: 40.02 kB / 0.5906 GB, free: 18.12 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001478/0.007301, allocations: 209.7 kB / 0.5908 GB, free: 17.89 MB / 446.1 MB Notification: Performance of simplify1: time 2.399e-05/0.007332, allocations: 7.984 kB / 0.5908 GB, free: 17.88 MB / 446.1 MB Notification: Performance of Alias: time 0.000325/0.007664, allocations: 257.7 kB / 0.5911 GB, free: 17.59 MB / 446.1 MB Notification: Performance of simplify2: time 1.548e-05/0.007689, allocations: 11.98 kB / 0.5911 GB, free: 17.57 MB / 446.1 MB Notification: Performance of Events: time 8.035e-05/0.007775, allocations: 50.28 kB / 0.5911 GB, free: 17.53 MB / 446.1 MB Notification: Performance of Detect States: time 0.0001369/0.007918, allocations: 103.1 kB / 0.5912 GB, free: 17.41 MB / 446.1 MB Notification: Performance of Partitioning: time 8.815e-05/0.008014, allocations: 85.05 kB / 0.5913 GB, free: 17.31 MB / 446.1 MB Notification: Performance of Causalize: time 0.000347/0.008368, allocations: 351.3 kB / 0.5916 GB, free: 16.96 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001129/0.008491, allocations: 194.3 kB / 0.5918 GB, free: 16.74 MB / 446.1 MB Notification: Performance of Inline: time 0.0003923/0.008889, allocations: 466.8 kB / 0.5923 GB, free: 16.27 MB / 446.1 MB Notification: Performance of Partitioning: time 2.451e-05/0.008924, allocations: 33.7 kB / 0.5923 GB, free: 16.23 MB / 446.1 MB Notification: Performance of Cleanup: time 1.936e-05/0.008948, allocations: 19.92 kB / 0.5923 GB, free: 16.21 MB / 446.1 MB Notification: Performance of Causalize: time 0.0006283/0.009581, allocations: 0.7142 MB / 0.593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Tearing: time 6.663e-06/0.009597, allocations: 3.938 kB / 0.593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Initialization: time 3.01e-07/0.009603, allocations: 0 / 0.593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Tearing: time 1.453e-06/0.009609, allocations: 0 / 0.593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Categorize: time 9.819e-06/0.009623, allocations: 0 / 0.593 GB, free: 15.51 MB / 446.1 MB Notification: Performance of Solve: time 9.315e-05/0.00972, allocations: 55.95 kB / 0.5931 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Jacobian: time 3.065e-06/0.00973, allocations: 0 / 0.5931 GB, free: 15.45 MB / 446.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.761e-05/0.009772, allocations: 39.77 kB / 0.5931 GB, free: 15.41 MB / 446.1 MB Notification: Performance of SimCode: time 0.001709/0.01149, allocations: 1.553 MB / 0.5946 GB, free: 14.02 MB / 446.1 MB Notification: Performance of Templates: time 0.00432/0.01582, allocations: 1.911 MB / 0.5965 GB, free: 12.12 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator.o IDEAS_dev_IDEAS.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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.o IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:59:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:60:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:63:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:66:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:90:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta19 = stringAppend(_OMC_LIT5,tmp18); ^ IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.c:91:48: error: use of undeclared identifier '_OMC_LIT6' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT6); ^ 6 errors generated. make: *** [: IDEAS_dev_IDEAS.Utilities.Math.Examples.IntegerReplicator_functions.o] Error 1