Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") translateModel(Buildings.Utilities.Math.Examples.FallingFactorial,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|falFac.y",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 112.1 kB / 16.42 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.001351/0.001351, allocations: 184.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.214/1.214, 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 12.0.0-master/package.mo): time 2.337/2.337, allocations: 472.6 MB / 0.7459 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.819e-05/1.82e-05, allocations: 2.281 kB / 1.07 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.FallingFactorial): time 0.002123/0.002148, allocations: 1.537 MB / 1.072 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000342/0.002502, allocations: 131.6 kB / 1.072 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.843e-05/0.00255, allocations: 0 / 1.072 GB, free: 8 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.002585, allocations: 11.92 kB / 1.072 GB, free: 7.988 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 3.993e-05/0.00263, allocations: 3.938 kB / 1.072 GB, free: 7.984 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.002905, allocations: 35.89 kB / 1.072 GB, free: 7.949 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.121e-05/0.002986, allocations: 31.98 kB / 1.072 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 8.532e-05/0.003077, allocations: 23.92 kB / 1.072 GB, free: 7.895 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 2.613e-05/0.003109, allocations: 15.94 kB / 1.072 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.949e-05/0.003153, allocations: 23.89 kB / 1.072 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.361e-05/0.003171, allocations: 4 kB / 1.072 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.617e-05/0.003241, allocations: 15.98 kB / 1.072 GB, free: 7.836 MB / 0.8419 GB Notification: Performance of combineBinaries: time 6.106e-05/0.003308, allocations: 59.33 kB / 1.072 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of replaceArrayConstructors: time 1.781e-05/0.003331, allocations: 35.41 kB / 1.072 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 1.29e-05/0.003348, allocations: 4 kB / 1.072 GB, free: 7.738 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.177e-05/0.003364, allocations: 0 / 1.072 GB, free: 7.738 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 (7) * Number of variables: 7 (7) Notification: Performance of Bindings: time 0.0002924/0.00366, allocations: 280.6 kB / 1.072 GB, free: 7.363 MB / 0.8419 GB Notification: Performance of FunctionAlias: time 7.27e-05/0.003739, allocations: 31.88 kB / 1.072 GB, free: 7.332 MB / 0.8419 GB Notification: Performance of Early Inline: time 0.0001166/0.003862, allocations: 144.3 kB / 1.072 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of simplify1: time 2.047e-05/0.003888, allocations: 11.98 kB / 1.072 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of Alias: time 0.000332/0.004226, allocations: 241.5 kB / 1.073 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of simplify2: time 1.594e-05/0.004253, allocations: 15.97 kB / 1.073 GB, free: 6.832 MB / 0.8419 GB Notification: Performance of Detect States: time 6.85e-05/0.004328, allocations: 42.38 kB / 1.073 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of Events: time 6.773e-05/0.004402, allocations: 35.92 kB / 1.073 GB, free: 6.742 MB / 0.8419 GB Notification: Performance of Partitioning: time 5.58e-05/0.004464, allocations: 48.09 kB / 1.073 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0001897/0.004659, allocations: 172 kB / 1.073 GB, free: 6.512 MB / 0.8419 GB Notification: Performance of After Index Reduction Inline: time 0.0001006/0.004768, allocations: 128.3 kB / 1.073 GB, free: 6.359 MB / 0.8419 GB Notification: Performance of Inline: time 0.0001863/0.004961, allocations: 212.3 kB / 1.073 GB, free: 6.117 MB / 0.8419 GB Notification: Performance of Partitioning: time 1.535e-05/0.004984, allocations: 16.12 kB / 1.073 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of Cleanup: time 1.112e-05/0.004999, allocations: 4 kB / 1.073 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of Causalize: time 0.0002389/0.005242, allocations: 224.3 kB / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of Tearing: time 1.093e-05/0.005261, allocations: 0 / 1.073 GB, free: 5.863 MB / 0.8419 GB Notification: Performance of Initialization: time 1.713e-06/0.005267, allocations: 4 kB / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Tearing: time 1.123e-06/0.005272, allocations: 0 / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Categorize: time 5.881e-06/0.005281, allocations: 0 / 1.073 GB, free: 5.859 MB / 0.8419 GB Notification: Performance of Solve: time 5.21e-05/0.005337, allocations: 23.97 kB / 1.073 GB, free: 5.836 MB / 0.8419 GB Notification: Performance of Jacobian: time 4.659e-06/0.005347, allocations: 7.875 kB / 1.073 GB, free: 5.828 MB / 0.8419 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) {rea2Int.y, falFac.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: ........... 10 (scalar:10, 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 3.402e-05/0.005384, allocations: 32.34 kB / 1.074 GB, free: 5.801 MB / 0.8419 GB Notification: Performance of SimCode: time 0.0005735/0.005962, allocations: 0.8371 MB / 1.074 GB, free: 4.938 MB / 0.8419 GB Notification: Performance of Templates: time 0.002872/0.008844, allocations: 0.5936 MB / 1.075 GB, free: 4.348 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.makefile make -j1 -f Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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_latest_Buildings_Utilities_Math_Examples_FallingFactorial -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_latest_Buildings.Utilities.Math.Examples.FallingFactorial.o Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial.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_latest_Buildings_Utilities_Math_Examples_FallingFactorial -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_latest_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_functions.c Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_functions.c:44:59: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ 1 error generated. make: *** [: Buildings_latest_Buildings.Utilities.Math.Examples.FallingFactorial_functions.o] Error 1