Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.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/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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial") translateModel(Buildings.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|fac",fileNamePrefix="Buildings_10_Buildings.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.001064/0.001064, 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.001024/0.001024, 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.121/1.121, allocations: 222.9 MB / 241 MB, free: 15.15 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.026/2.026, allocations: 437 MB / 0.7111 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.013e-05, allocations: 2.281 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Factorial): time 0.001036/0.001053, allocations: 0.5808 MB / 1.02 GB, free: 8.887 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001882/0.001251, allocations: 55.73 kB / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.184e-05/0.001272, allocations: 0 / 1.02 GB, free: 8.832 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.228e-06/0.001287, allocations: 4 kB / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 4.058e-06/0.001295, allocations: 0 / 1.02 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.001467, allocations: 15.92 kB / 1.02 GB, free: 8.812 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 3.78e-05/0.001512, allocations: 3.984 kB / 1.02 GB, free: 8.809 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 3.957e-05/0.001558, allocations: 7.938 kB / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 1.005e-05/0.001572, allocations: 0 / 1.02 GB, free: 8.801 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 1.667e-05/0.001592, allocations: 4 kB / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.001603, allocations: 0 / 1.02 GB, free: 8.797 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 5.15e-05/0.00166, allocations: 11.98 kB / 1.02 GB, free: 8.785 MB / 0.795 GB Notification: Performance of combineBinaries: time 1.999e-05/0.001684, allocations: 11.94 kB / 1.02 GB, free: 8.773 MB / 0.795 GB Notification: Performance of replaceArrayConstructors: time 3.417e-06/0.001692, allocations: 3.906 kB / 1.02 GB, free: 8.77 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.075e-06/0.001705, allocations: 4 kB / 1.02 GB, free: 8.766 MB / 0.795 GB Notification: Performance of FrontEnd: time 7.935e-06/0.001716, allocations: 3.984 kB / 1.02 GB, free: 8.762 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.0002022/0.001922, allocations: 157.3 kB / 1.02 GB, free: 8.508 MB / 0.795 GB Notification: Performance of FunctionAlias: time 4.893e-05/0.001976, allocations: 15.94 kB / 1.02 GB, free: 8.492 MB / 0.795 GB Notification: Performance of Early Inline: time 5.339e-05/0.002035, allocations: 56.36 kB / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of simplify1: time 4.449e-06/0.002044, allocations: 0 / 1.02 GB, free: 8.41 MB / 0.795 GB Notification: Performance of Alias: time 0.0001798/0.002227, allocations: 92.66 kB / 1.02 GB, free: 8.273 MB / 0.795 GB Notification: Performance of simplify2: time 2.595e-06/0.002239, allocations: 4 kB / 1.02 GB, free: 8.27 MB / 0.795 GB Notification: Performance of Detect States: time 4.454e-05/0.002287, allocations: 41.05 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of Events: time 8.446e-06/0.002301, allocations: 0 / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of Partitioning: time 3.473e-05/0.00234, allocations: 28.11 kB / 1.02 GB, free: 8.184 MB / 0.795 GB Notification: Performance of Causalize: time 7.829e-05/0.002423, allocations: 60.27 kB / 1.02 GB, free: 8.117 MB / 0.795 GB Notification: Performance of After Index Reduction Inline: time 4.377e-05/0.002473, allocations: 56.34 kB / 1.02 GB, free: 8.035 MB / 0.795 GB Notification: Performance of Inline: time 5.207e-05/0.00253, allocations: 72.53 kB / 1.02 GB, free: 7.93 MB / 0.795 GB Notification: Performance of Partitioning: time 9.638e-06/0.002544, allocations: 16.12 kB / 1.02 GB, free: 7.906 MB / 0.795 GB Notification: Performance of Cleanup: time 8.606e-06/0.002556, allocations: 7.938 kB / 1.02 GB, free: 7.898 MB / 0.795 GB Notification: Performance of Causalize: time 8.563e-05/0.002645, allocations: 64.02 kB / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of Tearing: time 6.903e-06/0.002659, allocations: 0 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of Initialization: time 2.6e-07/0.002663, allocations: 0 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of Tearing: time 8.92e-07/0.002668, allocations: 0 / 1.021 GB, free: 7.828 MB / 0.795 GB Notification: Performance of Categorize: time 8.236e-06/0.002679, allocations: 7.938 kB / 1.021 GB, free: 7.82 MB / 0.795 GB Notification: Performance of Solve: time 2.286e-05/0.002706, allocations: 8 kB / 1.021 GB, free: 7.812 MB / 0.795 GB Notification: Performance of Jacobian: time 2.355e-06/0.002715, allocations: 4 kB / 1.021 GB, free: 7.809 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: ................. 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 2.171e-05/0.00274, allocations: 15.05 kB / 1.021 GB, free: 7.805 MB / 0.795 GB Notification: Performance of SimCode: time 0.0003849/0.003129, allocations: 0.7515 MB / 1.021 GB, free: 7.035 MB / 0.795 GB Notification: Performance of Templates: time 0.001709/0.004847, allocations: 306.2 kB / 1.022 GB, free: 6.738 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial.o Buildings_10_Buildings.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=Buildings_10_Buildings_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 Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.c Buildings_10_Buildings.Utilities.Math.Functions.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.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: *** [: Buildings_10_Buildings.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1