Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Examples.Factorial") translateModel(Buildings.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac.y",fileNamePrefix="Buildings_10_Buildings.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.001075/0.001075, allocations: 115.3 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.001031/0.001031, allocations: 183.2 kB / 17.35 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.138/1.138, 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/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.075/2.075, allocations: 437 MB / 0.7111 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.847e-05, allocations: 4.25 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Factorial): time 0.001978/0.002004, allocations: 1.516 MB / 1.021 GB, free: 7.996 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002835/0.002299, allocations: 124.5 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.141e-05/0.00234, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 1.947e-05/0.002365, allocations: 0 / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.323e-05/0.002403, allocations: 3.938 kB / 1.021 GB, free: 7.867 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001729/0.002588, allocations: 27.91 kB / 1.021 GB, free: 7.84 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 6.931e-05/0.002665, allocations: 31.92 kB / 1.021 GB, free: 7.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 7.873e-05/0.002749, allocations: 11.98 kB / 1.021 GB, free: 7.797 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.573e-05/0.00279, allocations: 15.92 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.102e-05/0.002836, allocations: 19.92 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.002851, allocations: 0 / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.148e-05/0.002908, allocations: 15.94 kB / 1.021 GB, free: 7.746 MB / 0.795 GB Notification: Performance of combineBinaries: time 4.738e-05/0.00296, allocations: 47.56 kB / 1.021 GB, free: 7.699 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 1.268e-05/0.002977, allocations: 27.56 kB / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 1.11e-05/0.002992, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.194e-05/0.003008, allocations: 0 / 1.021 GB, free: 7.672 MB / 0.795 GB 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.000282/0.003293, allocations: 260.8 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of FunctionAlias: time 7.131e-05/0.00337, allocations: 31.86 kB / 1.021 GB, free: 7.285 MB / 0.795 GB Notification: Performance of Early Inline: time 0.0001002/0.003476, allocations: 120.3 kB / 1.021 GB, free: 7.141 MB / 0.795 GB Notification: Performance of simplify1: time 2.038e-05/0.003503, allocations: 15.98 kB / 1.021 GB, free: 7.125 MB / 0.795 GB Notification: Performance of Alias: time 0.0002693/0.003776, allocations: 185.4 kB / 1.022 GB, free: 6.883 MB / 0.795 GB Notification: Performance of simplify2: time 1.098e-05/0.003795, allocations: 4 kB / 1.022 GB, free: 6.879 MB / 0.795 GB Notification: Performance of Detect States: time 0.0001645/0.003964, allocations: 44.17 kB / 1.022 GB, free: 6.82 MB / 0.795 GB Notification: Performance of Events: time 6.829e-05/0.004038, allocations: 31.97 kB / 1.022 GB, free: 6.789 MB / 0.795 GB Notification: Performance of Partitioning: time 5.62e-05/0.004101, allocations: 44.06 kB / 1.022 GB, free: 6.738 MB / 0.795 GB Notification: Performance of Causalize: time 0.000192/0.004298, allocations: 176 kB / 1.022 GB, free: 6.559 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 0.0001056/0.004411, allocations: 136.3 kB / 1.022 GB, free: 6.398 MB / 0.795 GB Notification: Performance of Inline: time 0.000144/0.00456, allocations: 180.3 kB / 1.022 GB, free: 6.188 MB / 0.795 GB Notification: Performance of Partitioning: time 1.338e-05/0.004579, allocations: 12.12 kB / 1.022 GB, free: 6.168 MB / 0.795 GB Notification: Performance of Cleanup: time 1.021e-05/0.004593, allocations: 7.938 kB / 1.022 GB, free: 6.16 MB / 0.795 GB Notification: Performance of Causalize: time 0.0001991/0.004796, allocations: 184.5 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Tearing: time 6.893e-06/0.004811, allocations: 0 / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Initialization: time 4.91e-07/0.004815, allocations: 0 / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of Tearing: time 9.398e-06/0.004827, allocations: 4 kB / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of Categorize: time 5.48e-06/0.004836, allocations: 0 / 1.022 GB, free: 5.969 MB / 0.795 GB Notification: Performance of Solve: time 4.632e-05/0.004886, allocations: 31.86 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of Jacobian: time 3.627e-06/0.004895, allocations: 4 kB / 1.022 GB, free: 5.934 MB / 0.795 GB 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 2.495e-05/0.004926, allocations: 17.84 kB / 1.022 GB, free: 5.926 MB / 0.795 GB Notification: Performance of SimCode: time 0.0004817/0.005412, allocations: 0.8277 MB / 1.023 GB, free: 5.078 MB / 0.795 GB Notification: Performance of Templates: time 0.002034/0.007455, allocations: 0.5365 MB / 1.024 GB, free: 4.543 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Examples.Factorial.makefile make -j1 -f Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Examples.Factorial.o Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Examples.Factorial_functions.o Buildings_10_Buildings.Utilities.Math.Examples.Factorial_functions.c Buildings_10_Buildings.Utilities.Math.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ Buildings_10_Buildings.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: *** [: Buildings_10_Buildings.Utilities.Math.Examples.Factorial_functions.o] Error 1