Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(Buildings.Utilities.Math.Examples.IntegerReplicator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|intRep.u|intRep.y.2.|intRep.y.1.",fileNamePrefix="Buildings_latest_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_latest_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.001168/0.001174, allocations: 108.4 kB / 16.42 MB, free: 6.492 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.001109, allocations: 188.2 kB / 17.35 MB, free: 5.742 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.204/1.204, allocations: 222.9 MB / 241 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.324/2.324, allocations: 461.9 MB / 0.7354 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.85e-05/1.85e-05, allocations: 2.281 kB / 1.055 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.IntegerReplicator): time 0.002542/0.00257, allocations: 1.78 MB / 1.056 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.004236, allocations: 1.107 MB / 1.057 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001035/0.00435, allocations: 4 kB / 1.057 GB, free: 4.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002949/0.00465, allocations: 55.73 kB / 1.058 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002475/0.004917, allocations: 79.61 kB / 1.058 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005979/0.005525, allocations: 233.5 kB / 1.058 GB, free: 4.523 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.005755, allocations: 155.6 kB / 1.058 GB, free: 4.371 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.005866, allocations: 25.11 kB / 1.058 GB, free: 4.348 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000106/0.00598, allocations: 71.75 kB / 1.058 GB, free: 4.277 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.006099, allocations: 59.75 kB / 1.058 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.00613, allocations: 8 kB / 1.058 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001429/0.006277, allocations: 75.83 kB / 1.058 GB, free: 4.137 MB / 0.8262 GB Notification: Performance of combineBinaries: time 0.0001206/0.006405, allocations: 162.1 kB / 1.058 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 5.434e-05/0.006465, allocations: 106.3 kB / 1.058 GB, free: 3.871 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.639e-05/0.006506, allocations: 19.94 kB / 1.058 GB, free: 3.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.669e-05/0.006538, allocations: 3.938 kB / 1.058 GB, free: 3.848 MB / 0.8262 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.0005586/0.0071, allocations: 0.5545 MB / 1.059 GB, free: 3.188 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.273e-05/0.007179, allocations: 39.86 kB / 1.059 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.0001849/0.00737, allocations: 212.2 kB / 1.059 GB, free: 2.914 MB / 0.8262 GB Notification: Performance of simplify1: time 2.58e-05/0.007403, allocations: 15.97 kB / 1.059 GB, free: 2.898 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003371/0.007745, allocations: 250.2 kB / 1.059 GB, free: 2.602 MB / 0.8262 GB Notification: Performance of simplify2: time 1.448e-05/0.007768, allocations: 7.984 kB / 1.06 GB, free: 2.594 MB / 0.8262 GB Notification: Performance of Events: time 8.54e-05/0.007858, allocations: 59.88 kB / 1.06 GB, free: 2.535 MB / 0.8262 GB Notification: Performance of Detect States: time 0.0001524/0.008018, allocations: 96.08 kB / 1.06 GB, free: 2.426 MB / 0.8262 GB Notification: Performance of Partitioning: time 0.0001114/0.008138, allocations: 97.73 kB / 1.06 GB, free: 2.309 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0003832/0.008527, allocations: 341.4 kB / 1.06 GB, free: 1.953 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001572/0.008693, allocations: 196.2 kB / 1.06 GB, free: 1.734 MB / 0.8262 GB Notification: Performance of Inline: time 0.0004562/0.009155, allocations: 462.1 kB / 1.061 GB, free: 1.258 MB / 0.8262 GB Notification: Performance of Partitioning: time 3.689e-05/0.009201, allocations: 36.11 kB / 1.061 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of Cleanup: time 2.612e-05/0.009232, allocations: 19.92 kB / 1.061 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0007659/0.01, allocations: 0.7149 MB / 1.061 GB, free: 484 kB / 0.8262 GB Notification: Performance of Tearing: time 8.846e-06/0.01002, allocations: 0 / 1.061 GB, free: 484 kB / 0.8262 GB Notification: Performance of Initialization: time 3.81e-07/0.01003, allocations: 3.938 kB / 1.061 GB, free: 480 kB / 0.8262 GB Notification: Performance of Tearing: time 1.794e-06/0.01003, allocations: 0 / 1.061 GB, free: 480 kB / 0.8262 GB Notification: Performance of Categorize: time 8.446e-06/0.01004, allocations: 4 kB / 1.061 GB, free: 476 kB / 0.8262 GB Notification: Performance of Solve: time 0.0001059/0.01015, allocations: 59.94 kB / 1.062 GB, free: 416 kB / 0.8262 GB Notification: Performance of Jacobian: time 2.465e-06/0.01016, allocations: 0 / 1.062 GB, free: 416 kB / 0.8262 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 3.255e-05/0.0102, allocations: 29.86 kB / 1.062 GB, free: 396 kB / 0.8262 GB Notification: Performance of SimCode: time 0.001708/0.01191, allocations: 1.541 MB / 1.063 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of Templates: time 0.004319/0.01624, allocations: 1.886 MB / 1.065 GB, free: 13.09 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicator.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:59:37: error: use of undeclared identifier '_OMC_LIT2' tmpMeta3 = stringAppend(_OMC_LIT2,tmp2); ^ Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:60:46: error: use of undeclared identifier '_OMC_LIT3' tmpMeta4 = stringAppend(tmpMeta3,_OMC_LIT3); ^ Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:63:46: error: use of undeclared identifier '_OMC_LIT4' tmpMeta7 = stringAppend(tmpMeta6,_OMC_LIT4); ^ Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:66:47: error: use of undeclared identifier '_OMC_LIT3' tmpMeta10 = stringAppend(tmpMeta9,_OMC_LIT3); ^ Buildings_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.c:90:38: error: use of undeclared identifier '_OMC_LIT5' tmpMeta19 = stringAppend(_OMC_LIT5,tmp18); ^ Buildings_latest_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_latest_Buildings.Utilities.Math.Examples.IntegerReplicator_functions.o] Error 1