Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial.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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 110.7 kB / 16.42 MB, free: 6.508 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.001212/0.001213, 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.164/1.164, 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.937/1.937, allocations: 390.2 MB / 0.6655 GB, free: 0.7109 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/1.968e-05, allocations: 4.25 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.00126/0.001287, allocations: 0.5879 MB / 0.9521 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0002503/0.001549, allocations: 57.91 kB / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.611e-05/0.001575, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.33e-05/0.001593, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.001611, allocations: 0 / 0.9521 GB, free: 7.035 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.001833, allocations: 15.92 kB / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 4.548e-05/0.001887, allocations: 0 / 0.9521 GB, free: 7.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.414e-05/0.001946, allocations: 11.92 kB / 0.9521 GB, free: 7.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 1.44e-05/0.001966, allocations: 4 kB / 0.9521 GB, free: 7.004 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.461e-05/0.001995, allocations: 4 kB / 0.9521 GB, free: 7 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.002009, allocations: 4 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 6.386e-05/0.002077, allocations: 7.984 kB / 0.9522 GB, free: 6.988 MB / 0.7325 GB Notification: Performance of combineBinaries: time 2.567e-05/0.002107, allocations: 4 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of replaceArrayConstructors: time 8.676e-06/0.00212, allocations: 11.84 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 1.259e-05/0.002137, allocations: 0 / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.188e-06/0.00215, allocations: 0 / 0.9522 GB, free: 6.973 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.000235/0.002388, allocations: 165.3 kB / 0.9523 GB, free: 6.711 MB / 0.7325 GB Notification: Performance of FunctionAlias: time 5.589e-05/0.002449, allocations: 19.88 kB / 0.9523 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of Early Inline: time 5.968e-05/0.002514, allocations: 60.36 kB / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of simplify1: time 4.919e-06/0.002524, allocations: 0 / 0.9524 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of Alias: time 0.0001966/0.002724, allocations: 92.67 kB / 0.9525 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of simplify2: time 2.885e-06/0.002734, allocations: 0 / 0.9525 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of Detect States: time 4.493e-05/0.002783, allocations: 28.23 kB / 0.9525 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of Events: time 1.765e-05/0.002806, allocations: 8.109 kB / 0.9525 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of Partitioning: time 4.303e-05/0.002854, allocations: 28.12 kB / 0.9526 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of Causalize: time 8.36e-05/0.002944, allocations: 56.09 kB / 0.9526 GB, free: 6.32 MB / 0.7325 GB Notification: Performance of After Index Reduction Inline: time 3.95e-05/0.00299, allocations: 56.36 kB / 0.9527 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of Inline: time 6.394e-05/0.003059, allocations: 76.44 kB / 0.9527 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of Partitioning: time 1.157e-05/0.003075, allocations: 12.12 kB / 0.9527 GB, free: 6.109 MB / 0.7325 GB Notification: Performance of Cleanup: time 7.895e-06/0.003087, allocations: 7.922 kB / 0.9528 GB, free: 6.102 MB / 0.7325 GB Notification: Performance of Causalize: time 8.817e-05/0.003179, allocations: 68.33 kB / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Tearing: time 8.085e-06/0.003194, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Initialization: time 3.51e-07/0.003198, allocations: 0 / 0.9528 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of Tearing: time 2.304e-06/0.003206, allocations: 8 kB / 0.9528 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of Categorize: time 5.01e-06/0.003216, allocations: 3.938 kB / 0.9528 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of Solve: time 2.702e-05/0.003247, allocations: 11.94 kB / 0.9528 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of Jacobian: time 2.575e-06/0.003254, allocations: 0 / 0.9528 GB, free: 6.004 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: ................. 2 (2) {fac, n} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 3 (scalar:3, 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: ........... 3 (scalar:3, 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.829e-05/0.003286, allocations: 20.44 kB / 0.9529 GB, free: 5.988 MB / 0.7325 GB Notification: Performance of SimCode: time 0.0004546/0.003745, allocations: 0.7592 MB / 0.9536 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of Templates: time 0.002027/0.005781, allocations: 303.7 kB / 0.9539 GB, free: 4.918 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial.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_Functions_Examples_Factorial -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.Functions.Examples.Factorial.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial.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_Functions_Examples_Factorial -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.Functions.Examples.Factorial_functions.o Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c:36:53: error: use of undeclared identifier '_OMC_LIT1' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT1)); ^ 2 errors generated. make: *** [: Buildings_9_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1