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.001138/0.001138, allocations: 105.8 kB / 16.42 MB, free: 6.52 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.001085/0.001085, allocations: 192.3 kB / 17.35 MB, free: 5.73 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.166/1.166, allocations: 222.9 MB / 241 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.001894/0.001894, allocations: 281.5 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8291/0.8291, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.19e-05/2.191e-05, allocations: 2.281 kB / 0.682 GB, free: 7.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Factorial): time 0.002116/0.002145, allocations: 1.499 MB / 0.6835 GB, free: 5.527 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003573/0.002517, allocations: 128.4 kB / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.002562, allocations: 0 / 0.6836 GB, free: 5.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.751e-05/0.002596, allocations: 4 kB / 0.6836 GB, free: 5.395 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.002658, allocations: 11.92 kB / 0.6836 GB, free: 5.383 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.002897, allocations: 19.92 kB / 0.6837 GB, free: 5.363 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.032e-05/0.002985, allocations: 31.92 kB / 0.6837 GB, free: 5.332 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.00311, allocations: 11.98 kB / 0.6837 GB, free: 5.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.667e-05/0.003153, allocations: 11.94 kB / 0.6837 GB, free: 5.309 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.423e-05/0.003213, allocations: 15.97 kB / 0.6837 GB, free: 5.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.414e-05/0.003234, allocations: 11.94 kB / 0.6837 GB, free: 5.281 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.501e-05/0.003303, allocations: 15.98 kB / 0.6838 GB, free: 5.266 MB / 494.1 MB Notification: Performance of combineBinaries: time 6.064e-05/0.003369, allocations: 43.58 kB / 0.6838 GB, free: 5.223 MB / 494.1 MB Notification: Performance of replaceArrayConstructors: time 1.85e-05/0.003393, allocations: 27.56 kB / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.281e-05/0.00341, allocations: 0 / 0.6838 GB, free: 5.195 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.395e-05/0.003428, allocations: 0 / 0.6838 GB, free: 5.195 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.0002932/0.003727, allocations: 260.7 kB / 0.6841 GB, free: 4.84 MB / 494.1 MB Notification: Performance of FunctionAlias: time 7.659e-05/0.003809, allocations: 27.86 kB / 0.6841 GB, free: 4.812 MB / 494.1 MB Notification: Performance of Early Inline: time 0.000117/0.003932, allocations: 128.3 kB / 0.6842 GB, free: 4.66 MB / 494.1 MB Notification: Performance of simplify1: time 2.121e-05/0.003959, allocations: 11.98 kB / 0.6842 GB, free: 4.648 MB / 494.1 MB Notification: Performance of Alias: time 0.0003296/0.004294, allocations: 185.3 kB / 0.6844 GB, free: 4.406 MB / 494.1 MB Notification: Performance of simplify2: time 1.291e-05/0.004316, allocations: 7.969 kB / 0.6844 GB, free: 4.398 MB / 494.1 MB Notification: Performance of Events: time 7.356e-05/0.004394, allocations: 35.91 kB / 0.6844 GB, free: 4.363 MB / 494.1 MB Notification: Performance of Detect States: time 8.129e-05/0.004485, allocations: 52.22 kB / 0.6845 GB, free: 4.297 MB / 494.1 MB Notification: Performance of Partitioning: time 7.734e-05/0.004568, allocations: 40.11 kB / 0.6845 GB, free: 4.25 MB / 494.1 MB Notification: Performance of Causalize: time 0.0002098/0.004784, allocations: 176 kB / 0.6847 GB, free: 4.07 MB / 494.1 MB Notification: Performance of After Index Reduction Inline: time 9.99e-05/0.004892, allocations: 128.3 kB / 0.6848 GB, free: 3.918 MB / 494.1 MB Notification: Performance of Inline: time 0.0001543/0.005053, allocations: 172.4 kB / 0.685 GB, free: 3.715 MB / 494.1 MB Notification: Performance of Partitioning: time 1.698e-05/0.005077, allocations: 24.11 kB / 0.685 GB, free: 3.684 MB / 494.1 MB Notification: Performance of Cleanup: time 1.422e-05/0.005097, allocations: 8.469 kB / 0.685 GB, free: 3.676 MB / 494.1 MB Notification: Performance of Causalize: time 0.000217/0.005318, allocations: 188 kB / 0.6852 GB, free: 3.484 MB / 494.1 MB Notification: Performance of Tearing: time 5.2e-06/0.005333, allocations: 4 kB / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Initialization: time 3.11e-07/0.005338, allocations: 0 / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Tearing: time 1.002e-06/0.005344, allocations: 0 / 0.6852 GB, free: 3.48 MB / 494.1 MB Notification: Performance of Categorize: time 9.749e-06/0.005358, allocations: 3.984 kB / 0.6852 GB, free: 3.477 MB / 494.1 MB Notification: Performance of Solve: time 4.98e-05/0.005411, allocations: 19.98 kB / 0.6852 GB, free: 3.457 MB / 494.1 MB Notification: Performance of Jacobian: time 4.007e-06/0.005423, allocations: 7.875 kB / 0.6852 GB, free: 3.449 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 4.049e-05/0.005467, allocations: 18.69 kB / 0.6853 GB, free: 3.441 MB / 494.1 MB Notification: Performance of SimCode: time 0.0005032/0.005975, allocations: 0.8238 MB / 0.6861 GB, free: 2.598 MB / 494.1 MB Notification: Performance of Templates: time 0.002165/0.00815, allocations: 0.5406 MB / 0.6866 GB, free: 2.059 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