Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator") translateModel(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_9_Buildings.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.001098/0.001098, allocations: 106.4 kB / 16.42 MB, free: 6.469 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.00115/0.00115, allocations: 187.1 kB / 17.35 MB, free: 5.707 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.186/1.186, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 1.946/1.946, allocations: 390.2 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.41e-05/1.411e-05, allocations: 6.281 kB / 0.9515 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002423/0.002444, allocations: 1.772 MB / 0.9532 GB, free: 5.941 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001523/0.003978, allocations: 1.115 MB / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.004047, allocations: 0 / 0.9543 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002509/0.004305, allocations: 55.73 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001912/0.004505, allocations: 79.67 kB / 0.9544 GB, free: 4.684 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004795/0.005001, allocations: 222.4 kB / 0.9546 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001897/0.0052, allocations: 171.6 kB / 0.9548 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.853e-05/0.005296, allocations: 21.11 kB / 0.9548 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.404e-05/0.005402, allocations: 63.75 kB / 0.9549 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.005511, allocations: 63.75 kB / 0.9549 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.005546, allocations: 8 kB / 0.9549 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001589/0.005712, allocations: 63.91 kB / 0.955 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of combineBinaries: time 0.000148/0.005869, allocations: 166.1 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.206e-05/0.005961, allocations: 106.4 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.348e-05/0.006002, allocations: 15.94 kB / 0.9553 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.219e-05/0.006032, allocations: 7.938 kB / 0.9553 GB, free: 3.793 MB / 0.7325 GB 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.0007189/0.006756, allocations: 0.5543 MB / 0.9558 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 8.02e-05/0.006844, allocations: 32.97 kB / 0.9558 GB, free: 3.105 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.0002618/0.007113, allocations: 212.2 kB / 0.956 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of simplify1: time 3.116e-05/0.007156, allocations: 19.97 kB / 0.9561 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of Alias: time 0.0004806/0.007643, allocations: 258 kB / 0.9563 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of simplify2: time 1.649e-05/0.007671, allocations: 3.984 kB / 0.9563 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of Detect States: time 0.0001643/0.007843, allocations: 94.14 kB / 0.9564 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of Events: time 0.0001061/0.007958, allocations: 51.88 kB / 0.9565 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of Partitioning: time 0.0001301/0.008097, allocations: 88.36 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0006225/0.008729, allocations: 363.9 kB / 0.9569 GB, free: 1.898 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.000231/0.008971, allocations: 192.6 kB / 0.9571 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of Inline: time 0.0006322/0.009612, allocations: 464.9 kB / 0.9575 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of Partitioning: time 3.862e-05/0.009663, allocations: 28.12 kB / 0.9575 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of Cleanup: time 2.714e-05/0.009698, allocations: 19.92 kB / 0.9576 GB, free: 1.137 MB / 0.7325 GB Notification: Performance of Causalize: time 0.00103/0.01073, allocations: 0.718 MB / 0.9583 GB, free: 424 kB / 0.7325 GB Notification: Performance of Tearing: time 1.025e-05/0.01076, allocations: 4 kB / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of Initialization: time 5.51e-07/0.01077, allocations: 0 / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of Tearing: time 2.214e-06/0.01078, allocations: 0 / 0.9583 GB, free: 420 kB / 0.7325 GB Notification: Performance of Categorize: time 1.26e-05/0.01079, allocations: 7.938 kB / 0.9583 GB, free: 412 kB / 0.7325 GB Notification: Performance of Solve: time 0.0001313/0.01093, allocations: 59.94 kB / 0.9583 GB, free: 352 kB / 0.7325 GB Notification: Performance of Jacobian: time 3.567e-06/0.01094, allocations: 0 / 0.9583 GB, free: 352 kB / 0.7325 GB 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 4.619e-05/0.011, allocations: 29.12 kB / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of SimCode: time 0.002254/0.01326, allocations: 1.544 MB / 0.9599 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of Templates: time 0.005796/0.01907, allocations: 1.895 MB / 0.9617 GB, free: 13.01 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator.o Buildings_9_Buildings.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=Buildings_9_Buildings_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 Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.o Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:59:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:60:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:63:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:66:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:90:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta19 = stringAppend(_OMC_LIT5,tmp18); ^ Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:91:48: error: use of undeclared identifier '_OMC_LIT6' tmpMeta20 = stringAppend(tmpMeta19,_OMC_LIT6); ^ 6 errors generated. make: *** [: Buildings_9_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.o] Error 1