Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial") translateModel(IBPSA.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001413/0.001413, allocations: 115.8 kB / 17.1 MB, free: 5.977 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.001516/0.001516, allocations: 195 kB / 18.03 MB, free: 5.062 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.554/1.554, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.837/0.837, allocations: 115.3 MB / 407.2 MB, free: 6.23 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.13e-05/3.131e-05, allocations: 3.375 kB / 0.5583 GB, free: 32.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Binomial): time 0.002635/0.002675, allocations: 1.528 MB / 0.5598 GB, free: 31.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004817/0.003171, allocations: 176.6 kB / 0.56 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.003228, allocations: 1.594 kB / 0.56 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.249e-05/0.00328, allocations: 4.641 kB / 0.56 GB, free: 31.24 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.138e-05/0.003338, allocations: 9.234 kB / 0.56 GB, free: 31.23 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.003696, allocations: 46.67 kB / 0.56 GB, free: 31.21 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.75e-05/0.003806, allocations: 43.45 kB / 0.5601 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.003924, allocations: 13.61 kB / 0.5601 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.182e-05/0.003963, allocations: 19.7 kB / 0.5601 GB, free: 31.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.206e-05/0.00401, allocations: 20.48 kB / 0.5601 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.445e-05/0.00403, allocations: 7.781 kB / 0.5601 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001225/0.004158, allocations: 52.28 kB / 0.5602 GB, free: 31.14 MB / 446.1 MB Notification: Performance of combineBinaries: time 7.031e-05/0.004236, allocations: 55.3 kB / 0.5602 GB, free: 31.11 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.968e-05/0.004261, allocations: 32.75 kB / 0.5602 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.252e-05/0.004279, allocations: 7.469 kB / 0.5603 GB, free: 31.08 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.423e-05/0.004298, allocations: 0 / 0.5603 GB, free: 31.08 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0003655/0.004672, allocations: 285.9 kB / 0.5605 GB, free: 30.78 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001108/0.004788, allocations: 36.05 kB / 0.5606 GB, free: 30.77 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001374/0.004932, allocations: 137.1 kB / 0.5607 GB, free: 30.65 MB / 446.1 MB Notification: Performance of simplify1: time 2.353e-05/0.004961, allocations: 13 kB / 0.5607 GB, free: 30.65 MB / 446.1 MB Notification: Performance of Alias: time 0.0003987/0.005366, allocations: 244.9 kB / 0.5609 GB, free: 30.45 MB / 446.1 MB Notification: Performance of simplify2: time 1.205e-05/0.005389, allocations: 7.25 kB / 0.5609 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Events: time 7.965e-05/0.005474, allocations: 29.12 kB / 0.561 GB, free: 30.43 MB / 446.1 MB Notification: Performance of Detect States: time 6.857e-05/0.005551, allocations: 60.95 kB / 0.561 GB, free: 30.38 MB / 446.1 MB Notification: Performance of Partitioning: time 6.418e-05/0.005621, allocations: 42.14 kB / 0.5611 GB, free: 30.35 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002367/0.005865, allocations: 179.2 kB / 0.5612 GB, free: 30.29 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001096/0.005983, allocations: 131.4 kB / 0.5614 GB, free: 30.19 MB / 446.1 MB Notification: Performance of Inline: time 0.0002001/0.00619, allocations: 204.9 kB / 0.5616 GB, free: 30.04 MB / 446.1 MB Notification: Performance of Partitioning: time 1.463e-05/0.006213, allocations: 16.59 kB / 0.5616 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Cleanup: time 1.298e-05/0.006231, allocations: 10.41 kB / 0.5616 GB, free: 30.01 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002753/0.006511, allocations: 214.5 kB / 0.5618 GB, free: 29.95 MB / 446.1 MB Notification: Performance of Tearing: time 1.143e-05/0.006532, allocations: 9.344 kB / 0.5618 GB, free: 29.94 MB / 446.1 MB Notification: Performance of Initialization: time 4.81e-07/0.006538, allocations: 1.219 kB / 0.5618 GB, free: 29.94 MB / 446.1 MB Notification: Performance of Tearing: time 9.62e-07/0.006543, allocations: 0 / 0.5618 GB, free: 29.94 MB / 446.1 MB Notification: Performance of Categorize: time 6.843e-06/0.006555, allocations: 1.719 kB / 0.5618 GB, free: 29.94 MB / 446.1 MB Notification: Performance of Solve: time 5.488e-05/0.006615, allocations: 23.81 kB / 0.5618 GB, free: 29.93 MB / 446.1 MB Notification: Performance of Jacobian: time 2.945e-06/0.006624, allocations: 0 / 0.5618 GB, free: 29.93 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: ......... 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.859e-05/0.006667, allocations: 32.05 kB / 0.5619 GB, free: 29.91 MB / 446.1 MB Notification: Performance of SimCode: time 0.0006059/0.007281, allocations: 0.869 MB / 0.5627 GB, free: 29.13 MB / 446.1 MB Notification: Performance of Templates: time 0.003283/0.01058, allocations: 0.7896 MB / 0.5635 GB, free: 29.04 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.o IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.c IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.c:25:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.c:35:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.c:84:53: error: use of undeclared identifier '_OMC_LIT2' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT2)); ^ IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.c:94:53: error: use of undeclared identifier '_OMC_LIT3' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT3)); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Utilities.Math.Examples.Binomial_functions.o] Error 1