Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial") translateModel(BuildingSystems.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00188/0.00188, allocations: 112.2 kB / 16.43 MB, free: 6.523 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.0022/0.002201, allocations: 188.2 kB / 17.36 MB, free: 5.746 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.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002185/0.002185, allocations: 302 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.082/1.082, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.153e-05/3.153e-05, allocations: 2.281 kB / 0.682 GB, free: 7.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Factorial): time 0.003516/0.003558, allocations: 1.509 MB / 0.6835 GB, free: 5.508 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.00402, allocations: 120.5 kB / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.618e-05/0.004089, allocations: 0 / 0.6836 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.004132, allocations: 3.938 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.745e-05/0.00422, allocations: 0 / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.004555, allocations: 27.92 kB / 0.6837 GB, free: 5.355 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001344/0.004699, allocations: 39.91 kB / 0.6837 GB, free: 5.316 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001392/0.004845, allocations: 7.984 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.537e-05/0.004909, allocations: 15.92 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.143e-05/0.004978, allocations: 19.92 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.004998, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.308e-05/0.005097, allocations: 12 kB / 0.6837 GB, free: 5.262 MB / 494.1 MB Notification: Performance of combineBinaries: time 8.544e-05/0.005189, allocations: 47.56 kB / 0.6838 GB, free: 5.215 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 2.117e-05/0.005217, allocations: 27.56 kB / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.005243, allocations: 0 / 0.6838 GB, free: 5.188 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.684e-05/0.005278, allocations: 4 kB / 0.6838 GB, free: 5.184 MB / 494.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.0004594/0.005743, allocations: 252.7 kB / 0.6841 GB, free: 4.836 MB / 494.1 MB Notification: Performance of FunctionAlias: time 0.000116/0.005865, allocations: 31.81 kB / 0.6841 GB, free: 4.805 MB / 494.1 MB Notification: Performance of Early Inline: time 0.000159/0.006032, allocations: 128.3 kB / 0.6842 GB, free: 4.652 MB / 494.1 MB Notification: Performance of simplify1: time 3.321e-05/0.006073, allocations: 11.98 kB / 0.6842 GB, free: 4.641 MB / 494.1 MB Notification: Performance of Alias: time 0.0004716/0.006549, allocations: 181.5 kB / 0.6844 GB, free: 4.402 MB / 494.1 MB Notification: Performance of simplify2: time 2.522e-05/0.006585, allocations: 7.984 kB / 0.6844 GB, free: 4.395 MB / 494.1 MB Notification: Performance of Detect States: time 0.0001078/0.006701, allocations: 52.11 kB / 0.6845 GB, free: 4.328 MB / 494.1 MB Notification: Performance of Events: time 0.0001088/0.006817, allocations: 23.97 kB / 0.6845 GB, free: 4.305 MB / 494.1 MB Notification: Performance of Partitioning: time 9.454e-05/0.006918, allocations: 48.11 kB / 0.6845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Causalize: time 0.0003342/0.007259, allocations: 179.9 kB / 0.6847 GB, free: 4.066 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 0.0001463/0.007415, allocations: 132.3 kB / 0.6848 GB, free: 3.91 MB / 494.1 MB Notification: Performance of Inline: time 0.0002098/0.007631, allocations: 176.4 kB / 0.685 GB, free: 3.703 MB / 494.1 MB Notification: Performance of Partitioning: time 1.943e-05/0.007657, allocations: 12.12 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Cleanup: time 1.852e-05/0.007681, allocations: 11.92 kB / 0.685 GB, free: 3.672 MB / 494.1 MB Notification: Performance of Causalize: time 0.000282/0.007968, allocations: 176.7 kB / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of Tearing: time 1.349e-05/0.007991, allocations: 0 / 0.6852 GB, free: 3.492 MB / 494.1 MB Notification: Performance of Initialization: time 3.387e-06/0.008, allocations: 4 kB / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of Tearing: time 3.246e-06/0.008008, allocations: 240 / 0.6852 GB, free: 3.488 MB / 494.1 MB Notification: Performance of Categorize: time 1.385e-05/0.008026, allocations: 4 kB / 0.6852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of Solve: time 7.58e-05/0.008107, allocations: 27.92 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of Jacobian: time 6.312e-06/0.00812, allocations: 3.984 kB / 0.6852 GB, free: 3.453 MB / 494.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 5.686e-05/0.008182, allocations: 15.66 kB / 0.6852 GB, free: 3.449 MB / 494.1 MB Notification: Performance of SimCode: time 0.001018/0.009205, allocations: 0.8294 MB / 0.686 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Templates: time 0.003832/0.01305, allocations: 0.535 MB / 0.6866 GB, free: 2.066 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.makefile make -j1 -f BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial.o BuildingSystems_BuildingSystems.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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial_functions.o BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial_functions.c BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ BuildingSystems_BuildingSystems.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: *** [: BuildingSystems_BuildingSystems.Utilities.Math.Examples.Factorial_functions.o] Error 1