Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.002152/0.002152, allocations: 119 kB / 17.1 MB, free: 6 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.001539/0.001539, allocations: 192.9 kB / 18.03 MB, free: 5.082 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.527/1.527, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.784/0.784, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.444e-05/3.446e-05, allocations: 4.531 kB / 0.5583 GB, free: 32.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.002269/0.002313, allocations: 0.5726 MB / 0.5589 GB, free: 32.01 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003512/0.002677, allocations: 55.27 kB / 0.5589 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.126e-05/0.002709, allocations: 1.312 kB / 0.5589 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.491e-05/0.002729, allocations: 0 / 0.5589 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.363e-06/0.002744, allocations: 0 / 0.5589 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003203/0.003091, allocations: 10.86 kB / 0.559 GB, free: 31.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.161e-05/0.003172, allocations: 6.719 kB / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.105e-05/0.003258, allocations: 8.984 kB / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.088e-05/0.003285, allocations: 1.344 kB / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.389e-05/0.003325, allocations: 2.156 kB / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003345, allocations: 0 / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.633e-05/0.003448, allocations: 9.625 kB / 0.559 GB, free: 31.96 MB / 446.1 MB Notification: Performance of combineBinaries: time 4.377e-05/0.003498, allocations: 17.44 kB / 0.559 GB, free: 31.95 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 5.26e-06/0.003507, allocations: 1.469 kB / 0.559 GB, free: 31.95 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.003531, allocations: 5.656 kB / 0.559 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.313e-05/0.003549, allocations: 0 / 0.559 GB, free: 31.94 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0003228/0.003877, allocations: 163.2 kB / 0.5592 GB, free: 31.71 MB / 446.1 MB Notification: Performance of FunctionAlias: time 8.154e-05/0.003965, allocations: 13.64 kB / 0.5592 GB, free: 31.71 MB / 446.1 MB Notification: Performance of Early Inline: time 8.314e-05/0.004054, allocations: 55.12 kB / 0.5592 GB, free: 31.64 MB / 446.1 MB Notification: Performance of simplify1: time 1.176e-05/0.004074, allocations: 10.38 kB / 0.5592 GB, free: 31.63 MB / 446.1 MB Notification: Performance of Alias: time 0.0003045/0.004385, allocations: 94 kB / 0.5593 GB, free: 31.52 MB / 446.1 MB Notification: Performance of simplify2: time 5.27e-06/0.004401, allocations: 2.875 kB / 0.5593 GB, free: 31.52 MB / 446.1 MB Notification: Performance of Events: time 1.633e-05/0.004422, allocations: 7 kB / 0.5593 GB, free: 31.52 MB / 446.1 MB Notification: Performance of Detect States: time 7.364e-05/0.0045, allocations: 29.92 kB / 0.5594 GB, free: 31.48 MB / 446.1 MB Notification: Performance of Partitioning: time 5.479e-05/0.004561, allocations: 21.75 kB / 0.5594 GB, free: 31.46 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001405/0.004708, allocations: 59.83 kB / 0.5594 GB, free: 31.43 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 5.068e-05/0.004767, allocations: 52.92 kB / 0.5595 GB, free: 31.37 MB / 446.1 MB Notification: Performance of Inline: time 8.439e-05/0.004857, allocations: 73.52 kB / 0.5596 GB, free: 31.28 MB / 446.1 MB Notification: Performance of Partitioning: time 1.642e-05/0.00488, allocations: 16.28 kB / 0.5596 GB, free: 31.26 MB / 446.1 MB Notification: Performance of Cleanup: time 1.321e-05/0.004898, allocations: 7.938 kB / 0.5596 GB, free: 31.25 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001352/0.005039, allocations: 62.03 kB / 0.5596 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Tearing: time 1.066e-05/0.005058, allocations: 5.406 kB / 0.5597 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Initialization: time 5.91e-07/0.005065, allocations: 1.438 kB / 0.5597 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Tearing: time 1.303e-06/0.005071, allocations: 0 / 0.5597 GB, free: 31.23 MB / 446.1 MB Notification: Performance of Categorize: time 9.397e-06/0.005084, allocations: 5.703 kB / 0.5597 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Solve: time 4.145e-05/0.00513, allocations: 9.094 kB / 0.5597 GB, free: 31.22 MB / 446.1 MB Notification: Performance of Jacobian: time 3.276e-06/0.00514, allocations: 1 kB / 0.5597 GB, free: 31.22 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: ................. 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 4.282e-05/0.005187, allocations: 26.95 kB / 0.5597 GB, free: 31.2 MB / 446.1 MB Notification: Performance of SimCode: time 0.0005744/0.005766, allocations: 0.7619 MB / 0.5604 GB, free: 30.46 MB / 446.1 MB Notification: Performance of Templates: time 0.002874/0.008653, allocations: 309.1 kB / 0.5607 GB, free: 30.42 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial.o IBPSA_latest_IBPSA.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=IBPSA_latest_IBPSA_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 IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.o IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.c IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ IBPSA_latest_IBPSA.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: *** [: IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1