Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001343/0.001343, allocations: 108.8 kB / 16.42 MB, free: 6.461 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.001424/0.001424, allocations: 189.5 kB / 17.36 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.364/1.364, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8903/0.8903, allocations: 143 MB / 434.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.66e-05, allocations: 2.281 kB / 0.5961 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial): time 0.002892/0.002926, allocations: 1.523 MB / 0.5976 GB, free: 10.82 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005024/0.003442, allocations: 120.5 kB / 0.5977 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.158e-05/0.003505, allocations: 0 / 0.5977 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 4.339e-05/0.003558, allocations: 4.688 kB / 0.5977 GB, free: 10.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.236e-05/0.003615, allocations: 5.312 kB / 0.5977 GB, free: 10.69 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003005/0.003937, allocations: 15.98 kB / 0.5978 GB, free: 10.68 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 9.34e-05/0.004038, allocations: 43.89 kB / 0.5978 GB, free: 10.63 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.004169, allocations: 9.469 kB / 0.5978 GB, free: 10.62 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.436e-05/0.00422, allocations: 15.92 kB / 0.5978 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.333e-05/0.004279, allocations: 16.48 kB / 0.5978 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.004301, allocations: 4 kB / 0.5978 GB, free: 10.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.002e-05/0.004376, allocations: 13.62 kB / 0.5979 GB, free: 10.58 MB / 446.1 MB Notification: Performance of combineBinaries: time 5.897e-05/0.004441, allocations: 43.47 kB / 0.5979 GB, free: 10.54 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 1.174e-05/0.004457, allocations: 23.66 kB / 0.5979 GB, free: 10.51 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.691e-05/0.004479, allocations: 4 kB / 0.5979 GB, free: 10.51 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.522e-05/0.004499, allocations: 1.375 kB / 0.5979 GB, free: 10.51 MB / 446.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.0003155/0.004819, allocations: 255.5 kB / 0.5982 GB, free: 10.16 MB / 446.1 MB Notification: Performance of FunctionAlias: time 7.845e-05/0.004903, allocations: 34.61 kB / 0.5982 GB, free: 10.13 MB / 446.1 MB Notification: Performance of Early Inline: time 9.886e-05/0.005008, allocations: 119.1 kB / 0.5983 GB, free: 9.992 MB / 446.1 MB Notification: Performance of simplify1: time 2.137e-05/0.005035, allocations: 7.984 kB / 0.5983 GB, free: 9.984 MB / 446.1 MB Notification: Performance of Alias: time 0.0003212/0.005362, allocations: 190.5 kB / 0.5985 GB, free: 9.746 MB / 446.1 MB Notification: Performance of simplify2: time 1.457e-05/0.005385, allocations: 13.36 kB / 0.5985 GB, free: 9.734 MB / 446.1 MB Notification: Performance of Events: time 7.626e-05/0.005466, allocations: 26.75 kB / 0.5985 GB, free: 9.711 MB / 446.1 MB Notification: Performance of Detect States: time 0.0003187/0.005791, allocations: 68.16 kB / 0.5986 GB, free: 9.633 MB / 446.1 MB Notification: Performance of Partitioning: time 6.565e-05/0.005863, allocations: 49.58 kB / 0.5987 GB, free: 9.578 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001944/0.006064, allocations: 165.2 kB / 0.5988 GB, free: 9.418 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 7.931e-05/0.006151, allocations: 125.6 kB / 0.5989 GB, free: 9.273 MB / 446.1 MB Notification: Performance of Inline: time 0.0001287/0.006286, allocations: 179 kB / 0.5991 GB, free: 9.066 MB / 446.1 MB Notification: Performance of Partitioning: time 1.408e-05/0.006305, allocations: 17.47 kB / 0.5991 GB, free: 9.043 MB / 446.1 MB Notification: Performance of Cleanup: time 1.016e-05/0.00632, allocations: 7.938 kB / 0.5991 GB, free: 9.035 MB / 446.1 MB Notification: Performance of Causalize: time 0.0001901/0.006515, allocations: 186.9 kB / 0.5993 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Tearing: time 6.752e-06/0.00653, allocations: 0 / 0.5993 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Initialization: time 3.11e-07/0.006536, allocations: 0.5 kB / 0.5993 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Tearing: time 7.61e-07/0.006541, allocations: 0 / 0.5993 GB, free: 8.855 MB / 446.1 MB Notification: Performance of Categorize: time 7.083e-06/0.006555, allocations: 5.312 kB / 0.5993 GB, free: 8.852 MB / 446.1 MB Notification: Performance of Solve: time 4.629e-05/0.006605, allocations: 23.91 kB / 0.5993 GB, free: 8.828 MB / 446.1 MB Notification: Performance of Jacobian: time 3.797e-06/0.006616, allocations: 8.438 kB / 0.5993 GB, free: 8.82 MB / 446.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 3.477e-05/0.006655, allocations: 20.2 kB / 0.5994 GB, free: 8.805 MB / 446.1 MB Notification: Performance of SimCode: time 0.0005175/0.007179, allocations: 0.8154 MB / 0.6002 GB, free: 7.969 MB / 446.1 MB Notification: Performance of Templates: time 0.002547/0.009737, allocations: 0.5563 MB / 0.6007 GB, free: 7.438 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial.o BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_functions.c BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ BuildSysPro_BuildSysPro.IBPSA.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Factorial_functions.o] Error 1