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.001108/0.001108, allocations: 109.5 kB / 17.1 MB, free: 5.949 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.001058/0.001058, allocations: 198.9 kB / 18.04 MB, free: 5.023 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.152/1.152, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6645/0.6645, allocations: 122.9 MB / 414.7 MB, free: 15.75 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.595e-05/1.597e-05, allocations: 7.641 kB / 0.5691 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00112/0.001144, allocations: 0.5754 MB / 0.5697 GB, free: 28.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002015/0.001357, allocations: 49.36 kB / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.644e-05/0.001383, allocations: 1.5 kB / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.558e-06/0.001398, allocations: 1.281 kB / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.23e-06/0.001411, allocations: 0 / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.001616, allocations: 10.59 kB / 0.5697 GB, free: 28.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.55e-05/0.00168, allocations: 12.5 kB / 0.5697 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.013e-05/0.001735, allocations: 1.766 kB / 0.5697 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.498e-05/0.001755, allocations: 1.344 kB / 0.5697 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.716e-05/0.001786, allocations: 5.828 kB / 0.5698 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.116e-05/0.001802, allocations: 1.25 kB / 0.5698 GB, free: 28.32 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.001884, allocations: 10.91 kB / 0.5698 GB, free: 28.31 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.268e-05/0.001922, allocations: 11.19 kB / 0.5698 GB, free: 28.3 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.398e-06/0.001932, allocations: 6.688 kB / 0.5698 GB, free: 28.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.396e-05/0.00195, allocations: 0 / 0.5698 GB, free: 28.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.038e-05/0.001965, allocations: 1.312 kB / 0.5698 GB, free: 28.3 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.0002481/0.002217, allocations: 159.9 kB / 0.5699 GB, free: 28.07 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.284e-05/0.002295, allocations: 20.58 kB / 0.57 GB, free: 28.06 MB / 446.1 MB Notification: Performance of Early Inline: time 6.076e-05/0.002362, allocations: 59.89 kB / 0.57 GB, free: 27.99 MB / 446.1 MB Notification: Performance of simplify1: time 7.084e-06/0.002373, allocations: 5.891 kB / 0.57 GB, free: 27.99 MB / 446.1 MB Notification: Performance of Alias: time 0.0002182/0.002596, allocations: 86.23 kB / 0.5701 GB, free: 27.88 MB / 446.1 MB Notification: Performance of simplify2: time 3.317e-06/0.002608, allocations: 1.875 kB / 0.5701 GB, free: 27.88 MB / 446.1 MB Notification: Performance of Detect States: time 5.341e-05/0.002666, allocations: 35.41 kB / 0.5701 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Events: time 1.048e-05/0.002682, allocations: 5.578 kB / 0.5701 GB, free: 27.84 MB / 446.1 MB Notification: Performance of Partitioning: time 3.632e-05/0.002722, allocations: 21.27 kB / 0.5702 GB, free: 27.82 MB / 446.1 MB Notification: Performance of Causalize: time 9.486e-05/0.002822, allocations: 67.39 kB / 0.5702 GB, free: 27.78 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.36e-05/0.002862, allocations: 53.61 kB / 0.5703 GB, free: 27.71 MB / 446.1 MB Notification: Performance of Inline: time 5.663e-05/0.002924, allocations: 65.2 kB / 0.5703 GB, free: 27.64 MB / 446.1 MB Notification: Performance of Partitioning: time 1.123e-05/0.00294, allocations: 19.64 kB / 0.5704 GB, free: 27.61 MB / 446.1 MB Notification: Performance of Cleanup: time 7.163e-06/0.002952, allocations: 0.5 kB / 0.5704 GB, free: 27.61 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001035/0.003062, allocations: 68.8 kB / 0.5704 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Tearing: time 9.107e-06/0.003079, allocations: 6.75 kB / 0.5704 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Initialization: time 2.9e-07/0.003083, allocations: 0 / 0.5704 GB, free: 27.58 MB / 446.1 MB Notification: Performance of Tearing: time 1.934e-06/0.003089, allocations: 3.938 kB / 0.5704 GB, free: 27.57 MB / 446.1 MB Notification: Performance of Categorize: time 6.732e-06/0.003101, allocations: 2.531 kB / 0.5704 GB, free: 27.57 MB / 446.1 MB Notification: Performance of Solve: time 3.226e-05/0.003137, allocations: 8.766 kB / 0.5704 GB, free: 27.57 MB / 446.1 MB Notification: Performance of Jacobian: time 5.7e-06/0.003148, allocations: 5.844 kB / 0.5704 GB, free: 27.57 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 3.147e-05/0.003183, allocations: 27.39 kB / 0.5705 GB, free: 27.55 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004068/0.003594, allocations: 0.7514 MB / 0.5712 GB, free: 26.82 MB / 446.1 MB Notification: Performance of Templates: time 0.002157/0.00576, allocations: 306.9 kB / 0.5715 GB, free: 26.78 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