Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Examples.Binomial.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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Examples.Binomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 111 kB / 16.42 MB, free: 6.512 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.0009352/0.0009352, allocations: 183.2 kB / 17.35 MB, free: 5.754 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.177/1.177, allocations: 222.9 MB / 241 MB, free: 15.15 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.966/1.966, allocations: 390.2 MB / 0.6655 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.953e-05/1.955e-05, allocations: 2.281 kB / 0.9514 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.00222/0.002249, allocations: 1.54 MB / 0.953 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004181/0.002679, allocations: 188.2 kB / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.613e-05/0.002725, allocations: 0 / 0.9531 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.572e-05/0.002756, allocations: 3.938 kB / 0.9531 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.281e-05/0.002804, allocations: 3.938 kB / 0.9531 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.003106, allocations: 51.88 kB / 0.9532 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.502e-05/0.003202, allocations: 43.91 kB / 0.9532 GB, free: 5.895 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003313, allocations: 11.98 kB / 0.9532 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.427e-05/0.003353, allocations: 15.94 kB / 0.9533 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 3.945e-05/0.003397, allocations: 23.91 kB / 0.9533 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.003416, allocations: 4 kB / 0.9533 GB, free: 5.84 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.003525, allocations: 47.95 kB / 0.9533 GB, free: 5.793 MB / 0.7325 GB Notification: Performance of combineBinaries: time 6.385e-05/0.003596, allocations: 55.42 kB / 0.9534 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 1.573e-05/0.003618, allocations: 31.47 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.236e-05/0.003634, allocations: 7.938 kB / 0.9534 GB, free: 5.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.338e-05/0.003652, allocations: 3.938 kB / 0.9534 GB, free: 5.695 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003341/0.00399, allocations: 288.5 kB / 0.9537 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 8.365e-05/0.004079, allocations: 43.78 kB / 0.9537 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of Early Inline: time 0.000134/0.00422, allocations: 132.3 kB / 0.9539 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of simplify1: time 2.014e-05/0.004245, allocations: 7.984 kB / 0.9539 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of Alias: time 0.0003684/0.004618, allocations: 241.7 kB / 0.9541 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of simplify2: time 1.246e-05/0.00464, allocations: 8 kB / 0.9541 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of Detect States: time 7.474e-05/0.004719, allocations: 46.3 kB / 0.9542 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of Events: time 7.558e-05/0.004801, allocations: 35.95 kB / 0.9542 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of Partitioning: time 6.096e-05/0.004869, allocations: 44.12 kB / 0.9542 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002184/0.005093, allocations: 180 kB / 0.9544 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 0.0001225/0.005223, allocations: 136.3 kB / 0.9545 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of Inline: time 0.0001993/0.005428, allocations: 204.3 kB / 0.9547 GB, free: 4.07 MB / 0.7325 GB Notification: Performance of Partitioning: time 2.059e-05/0.005456, allocations: 24.05 kB / 0.9548 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of Cleanup: time 1.324e-05/0.005474, allocations: 11.98 kB / 0.9548 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of Causalize: time 0.0002523/0.00573, allocations: 208.5 kB / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Tearing: time 9.167e-06/0.005747, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Initialization: time 2.91e-07/0.005752, allocations: 0 / 0.955 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Tearing: time 2.525e-06/0.005758, allocations: 3.938 kB / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of Categorize: time 5.791e-06/0.005767, allocations: 0 / 0.955 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of Solve: time 4.895e-05/0.005822, allocations: 23.98 kB / 0.955 GB, free: 3.789 MB / 0.7325 GB Notification: Performance of Jacobian: time 3.406e-06/0.005831, allocations: 0 / 0.955 GB, free: 3.789 MB / 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: ......... 1 * 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: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {NOT YET AVAILABLE} * Number of discrete variables: ................. 5 (5) {rea2Int.y, bin.y, $SEV_0, $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: ........... 8 (scalar:8, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 10 (scalar:10, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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.72e-05/0.005872, allocations: 26.14 kB / 0.955 GB, free: 3.77 MB / 0.7325 GB Notification: Performance of SimCode: time 0.000641/0.006517, allocations: 0.8799 MB / 0.9559 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.002596/0.009124, allocations: 0.7897 MB / 0.9566 GB, free: 2.082 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Examples.Binomial.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_Binomial -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.Binomial.o Buildings_9_Buildings.Utilities.Math.Examples.Binomial.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_Binomial -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.Binomial_functions.o Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.c:158:59: error: use of undeclared identifier '_OMC_LIT4' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT4)); ^ 5 errors generated. make: *** [: Buildings_9_Buildings.Utilities.Math.Examples.Binomial_functions.o] Error 1