Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial") translateModel(Buildings.Utilities.Math.Examples.Binomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001089/0.001089, allocations: 106.8 kB / 16.42 MB, free: 6.516 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.001081/0.001081, allocations: 187.2 kB / 17.35 MB, free: 5.754 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.145/1.145, allocations: 205.1 MB / 223.2 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.226/1.226, allocations: 251.7 MB / 0.51 GB, free: 424 kB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.248e-05, allocations: 2.281 kB / 0.7264 GB, free: 4.723 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Binomial): time 0.001998/0.002018, allocations: 1.535 MB / 0.7279 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004006/0.002429, allocations: 181.5 kB / 0.728 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.002471, allocations: 0 / 0.728 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.606e-05/0.002504, allocations: 3.938 kB / 0.728 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.337e-05/0.002542, allocations: 7.984 kB / 0.7281 GB, free: 2.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002709/0.002823, allocations: 55.77 kB / 0.7281 GB, free: 2.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.164e-05/0.002906, allocations: 47.89 kB / 0.7282 GB, free: 2.879 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.972e-05/0.003001, allocations: 15.98 kB / 0.7282 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.49e-05/0.003032, allocations: 11.94 kB / 0.7282 GB, free: 2.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.003093, allocations: 19.92 kB / 0.7282 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.164e-05/0.003109, allocations: 0 / 0.7282 GB, free: 2.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.003215, allocations: 51.94 kB / 0.7282 GB, free: 2.781 MB / 0.5606 GB Notification: Performance of combineBinaries: time 5.272e-05/0.003274, allocations: 55.42 kB / 0.7283 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of replaceArrayConstructors: time 1.67e-05/0.003297, allocations: 39.41 kB / 0.7283 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.139e-05/0.003313, allocations: 8 kB / 0.7283 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.666e-06/0.003325, allocations: 0 / 0.7283 GB, free: 2.68 MB / 0.5606 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.0002798/0.003609, allocations: 280.5 kB / 0.7286 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of FunctionAlias: time 6.653e-05/0.003681, allocations: 31.81 kB / 0.7286 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of Early Inline: time 0.0001224/0.00381, allocations: 140.3 kB / 0.7288 GB, free: 2.109 MB / 0.5606 GB Notification: Performance of simplify1: time 1.892e-05/0.003836, allocations: 15.98 kB / 0.7288 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of Alias: time 0.0002809/0.004121, allocations: 221.8 kB / 0.729 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of simplify2: time 1.092e-05/0.004141, allocations: 8 kB / 0.729 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of Events: time 6.462e-05/0.00421, allocations: 39.86 kB / 0.7291 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of Detect States: time 7e-05/0.004288, allocations: 56.2 kB / 0.7291 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of Partitioning: time 5.842e-05/0.004352, allocations: 48.09 kB / 0.7292 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002169/0.004574, allocations: 216 kB / 0.7294 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of After Index Reduction Inline: time 0.0001028/0.004684, allocations: 136.3 kB / 0.7295 GB, free: 1.258 MB / 0.5606 GB Notification: Performance of Inline: time 0.0001812/0.00487, allocations: 204.3 kB / 0.7297 GB, free: 1.023 MB / 0.5606 GB Notification: Performance of Partitioning: time 2.212e-05/0.004899, allocations: 16.06 kB / 0.7297 GB, free: 1 MB / 0.5606 GB Notification: Performance of Cleanup: time 1.083e-05/0.004914, allocations: 7.984 kB / 0.7297 GB, free: 0.9922 MB / 0.5606 GB Notification: Performance of Causalize: time 0.0002429/0.005161, allocations: 260.2 kB / 0.73 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of Tearing: time 4.819e-06/0.005174, allocations: 3.938 kB / 0.73 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of Initialization: time 3e-07/0.005178, allocations: 0 / 0.73 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of Tearing: time 7.21e-07/0.005183, allocations: 0 / 0.73 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of Categorize: time 5.76e-06/0.005192, allocations: 0 / 0.73 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of Solve: time 4.515e-05/0.005242, allocations: 28.05 kB / 0.73 GB, free: 0.6992 MB / 0.5606 GB Notification: Performance of Jacobian: time 1.964e-06/0.005249, allocations: 0 / 0.73 GB, free: 0.6992 MB / 0.5606 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.961e-05/0.005282, allocations: 23.62 kB / 0.73 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of SimCode: time 0.0005549/0.005842, allocations: 0.875 MB / 0.7309 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of Templates: time 0.002416/0.008271, allocations: 0.8097 MB / 0.7317 GB, free: 14.98 MB / 0.5762 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.makefile make -j1 -f Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial.o Buildings_maint.7.0.x_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_maint_7_0_x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_functions.o Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_functions.c Buildings_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_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_maint.7.0.x_Buildings.Utilities.Math.Examples.Binomial_functions.o] Error 1