Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bin.y",fileNamePrefix="Buildings_latest_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.00113/0.00113, allocations: 111.2 kB / 16.43 MB, free: 6.5 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.001261/0.001261, allocations: 183.8 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.244/1.244, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.334/2.334, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.502e-05/1.504e-05, allocations: 2.281 kB / 1.055 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.002044/0.002067, allocations: 1.545 MB / 1.056 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0004091/0.002487, allocations: 175.4 kB / 1.056 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.002528, allocations: 0 / 1.056 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.829e-05/0.002564, allocations: 11.92 kB / 1.056 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.517e-05/0.002609, allocations: 3.938 kB / 1.056 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002738/0.002887, allocations: 51.88 kB / 1.056 GB, free: 5.941 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.741e-05/0.002964, allocations: 35.92 kB / 1.056 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.41e-05/0.003063, allocations: 19.98 kB / 1.056 GB, free: 5.887 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.691e-05/0.003096, allocations: 19.91 kB / 1.056 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.927e-05/0.00314, allocations: 19.92 kB / 1.056 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.003156, allocations: 0 / 1.056 GB, free: 5.848 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.991e-05/0.003262, allocations: 47.97 kB / 1.057 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of combineBinaries: time 5.617e-05/0.003325, allocations: 59.41 kB / 1.057 GB, free: 5.742 MB / 0.8262 GB Notification: Performance of replaceArrayConstructors: time 1.676e-05/0.003347, allocations: 35.41 kB / 1.057 GB, free: 5.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.277e-05/0.003364, allocations: 8 kB / 1.057 GB, free: 5.699 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.124e-05/0.003379, allocations: 0 / 1.057 GB, free: 5.699 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: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002992/0.003682, allocations: 280.5 kB / 1.057 GB, free: 5.324 MB / 0.8262 GB Notification: Performance of FunctionAlias: time 7.259e-05/0.003761, allocations: 43.75 kB / 1.057 GB, free: 5.281 MB / 0.8262 GB Notification: Performance of Early Inline: time 0.000124/0.003891, allocations: 132.4 kB / 1.057 GB, free: 5.125 MB / 0.8262 GB Notification: Performance of simplify1: time 2.06e-05/0.003917, allocations: 15.98 kB / 1.057 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of Alias: time 0.0003309/0.004253, allocations: 237.7 kB / 1.057 GB, free: 4.809 MB / 0.8262 GB Notification: Performance of simplify2: time 1.268e-05/0.004274, allocations: 8 kB / 1.057 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of Events: time 6.51e-05/0.004344, allocations: 35.89 kB / 1.057 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of Detect States: time 7.126e-05/0.004422, allocations: 51 kB / 1.057 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of Partitioning: time 5.824e-05/0.004486, allocations: 52.09 kB / 1.057 GB, free: 4.645 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002/0.004692, allocations: 172 kB / 1.058 GB, free: 4.469 MB / 0.8262 GB Notification: Performance of After Index Reduction Inline: time 0.0001019/0.004802, allocations: 140.3 kB / 1.058 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of Inline: time 0.0001936/0.005001, allocations: 204.3 kB / 1.058 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of Partitioning: time 1.584e-05/0.005025, allocations: 16.06 kB / 1.058 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of Cleanup: time 1.142e-05/0.00504, allocations: 11.98 kB / 1.058 GB, free: 4.035 MB / 0.8262 GB Notification: Performance of Causalize: time 0.0002389/0.005286, allocations: 228.3 kB / 1.058 GB, free: 3.805 MB / 0.8262 GB Notification: Performance of Tearing: time 8.135e-06/0.005302, allocations: 3.984 kB / 1.058 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Initialization: time 3.71e-07/0.005307, allocations: 0 / 1.058 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Tearing: time 1.012e-06/0.005312, allocations: 0 / 1.058 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Categorize: time 5.46e-06/0.00532, allocations: 0 / 1.058 GB, free: 3.801 MB / 0.8262 GB Notification: Performance of Solve: time 4.528e-05/0.005369, allocations: 19.98 kB / 1.058 GB, free: 3.781 MB / 0.8262 GB Notification: Performance of Jacobian: time 3.717e-06/0.005378, allocations: 4 kB / 1.058 GB, free: 3.777 MB / 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: ......... 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 2.695e-05/0.005409, allocations: 18.72 kB / 1.058 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of SimCode: time 0.0005473/0.005961, allocations: 0.8565 MB / 1.059 GB, free: 2.883 MB / 0.8262 GB Notification: Performance of Templates: time 0.002525/0.008497, allocations: 0.8014 MB / 1.06 GB, free: 2.082 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Binomial.o Buildings_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Binomial_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.Binomial_functions.c Buildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Utilities.Math.Examples.Binomial_functions.o] Error 1