Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.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.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") translateModel(IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 113 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.001747/0.001748, allocations: 195.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.555/1.555, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8585/0.8585, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.111e-05/3.112e-05, allocations: 9.312 kB / 0.5583 GB, free: 32.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Factorial): time 0.00293/0.00297, allocations: 1.513 MB / 0.5598 GB, free: 31.28 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004106/0.003394, allocations: 120.1 kB / 0.5599 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.245e-05/0.003457, allocations: 0 / 0.5599 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.003498, allocations: 1.703 kB / 0.5599 GB, free: 31.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.395e-05/0.003558, allocations: 4.5 kB / 0.5599 GB, free: 31.19 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002597/0.003823, allocations: 31.95 kB / 0.5599 GB, free: 31.17 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.003949, allocations: 26.84 kB / 0.5599 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.004082, allocations: 11.72 kB / 0.56 GB, free: 31.16 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.03e-05/0.004138, allocations: 15.2 kB / 0.56 GB, free: 31.15 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.302e-05/0.004206, allocations: 20.05 kB / 0.56 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004229, allocations: 3.906 kB / 0.56 GB, free: 31.14 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.909e-05/0.004312, allocations: 14 kB / 0.56 GB, free: 31.14 MB / 446.1 MB Notification: Performance of combineBinaries: time 7.315e-05/0.004391, allocations: 37.61 kB / 0.56 GB, free: 31.11 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 2.007e-05/0.004418, allocations: 31.22 kB / 0.5601 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.556e-05/0.00444, allocations: 7 kB / 0.5601 GB, free: 31.09 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-05/0.004459, allocations: 0 / 0.5601 GB, free: 31.09 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: 5 (5) * Number of variables: 5 (5) Notification: Performance of Bindings: time 0.0003779/0.004842, allocations: 252.8 kB / 0.5603 GB, free: 30.8 MB / 446.1 MB Notification: Performance of FunctionAlias: time 0.0001005/0.00495, allocations: 26.84 kB / 0.5603 GB, free: 30.79 MB / 446.1 MB Notification: Performance of Early Inline: time 0.0001396/0.005097, allocations: 126.4 kB / 0.5605 GB, free: 30.69 MB / 446.1 MB Notification: Performance of simplify1: time 2.24e-05/0.005128, allocations: 5.859 kB / 0.5605 GB, free: 30.69 MB / 446.1 MB Notification: Performance of Alias: time 0.0003652/0.005499, allocations: 189.4 kB / 0.5607 GB, free: 30.52 MB / 446.1 MB Notification: Performance of simplify2: time 1.326e-05/0.005523, allocations: 9.688 kB / 0.5607 GB, free: 30.51 MB / 446.1 MB Notification: Performance of Events: time 8.512e-05/0.005614, allocations: 36.27 kB / 0.5607 GB, free: 30.5 MB / 446.1 MB Notification: Performance of Detect States: time 8.57e-05/0.005709, allocations: 49.09 kB / 0.5607 GB, free: 30.45 MB / 446.1 MB Notification: Performance of Partitioning: time 7.048e-05/0.005787, allocations: 49.47 kB / 0.5608 GB, free: 30.41 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002774/0.006072, allocations: 173.7 kB / 0.561 GB, free: 30.36 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001144/0.006196, allocations: 136.2 kB / 0.5611 GB, free: 30.25 MB / 446.1 MB Notification: Performance of Inline: time 0.0001747/0.006378, allocations: 176.8 kB / 0.5613 GB, free: 30.11 MB / 446.1 MB Notification: Performance of Partitioning: time 1.709e-05/0.006402, allocations: 13.66 kB / 0.5613 GB, free: 30.1 MB / 446.1 MB Notification: Performance of Cleanup: time 1.436e-05/0.006421, allocations: 9.25 kB / 0.5613 GB, free: 30.09 MB / 446.1 MB Notification: Performance of Causalize: time 0.0002584/0.006684, allocations: 197.5 kB / 0.5615 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Tearing: time 1.008e-05/0.006703, allocations: 240 / 0.5615 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Initialization: time 1.263e-06/0.006709, allocations: 1.219 kB / 0.5615 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Tearing: time 1.493e-06/0.006715, allocations: 0 / 0.5615 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Categorize: time 9.257e-06/0.006729, allocations: 1.938 kB / 0.5615 GB, free: 30.03 MB / 446.1 MB Notification: Performance of Solve: time 6.209e-05/0.006797, allocations: 29.25 kB / 0.5615 GB, free: 30.02 MB / 446.1 MB Notification: Performance of Jacobian: time 3.657e-06/0.006806, allocations: 0 / 0.5615 GB, free: 30.02 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: ................. 5 (5) {fac.y, rea2Int.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: ........... 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: Performance of backend: time 4.402e-05/0.006857, allocations: 26.94 kB / 0.5615 GB, free: 30 MB / 446.1 MB Notification: Performance of SimCode: time 0.0005922/0.007455, allocations: 0.8145 MB / 0.5623 GB, free: 29.24 MB / 446.1 MB Notification: Performance of Templates: time 0.00306/0.01053, allocations: 0.5322 MB / 0.5628 GB, free: 29.19 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial.makefile make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.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_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.Examples.Factorial.o IBPSA_latest_IBPSA.Utilities.Math.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_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.Examples.Factorial_functions.o IBPSA_latest_IBPSA.Utilities.Math.Examples.Factorial_functions.c IBPSA_latest_IBPSA.Utilities.Math.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.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.Examples.Factorial_functions.o] Error 1