Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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/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.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001129/0.001129, allocations: 110.5 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.001065/0.001065, allocations: 187.2 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.363/1.363, allocations: 222.9 MB / 241 MB, free: 15.14 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.87/0.87, allocations: 143 MB / 434.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.144e-05/2.145e-05, allocations: 2.281 kB / 0.5962 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial): time 0.00133/0.00136, allocations: 0.5792 MB / 0.5967 GB, free: 11.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002572/0.00163, allocations: 49.39 kB / 0.5968 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.128e-05/0.001661, allocations: 0 / 0.5968 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.001687, allocations: 0 / 0.5968 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 7.605e-06/0.001699, allocations: 0 / 0.5968 GB, free: 11.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002441/0.001958, allocations: 21.28 kB / 0.5968 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 4.352e-05/0.00201, allocations: 0 / 0.5968 GB, free: 11.69 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.002074, allocations: 4 kB / 0.5968 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.739e-05/0.002097, allocations: 4 kB / 0.5968 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.374e-05/0.002126, allocations: 4.672 kB / 0.5968 GB, free: 11.68 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.034e-05/0.002141, allocations: 4 kB / 0.5968 GB, free: 11.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.751e-05/0.002214, allocations: 5.5 kB / 0.5968 GB, free: 11.67 MB / 446.1 MB Notification: Performance of combineBinaries: time 3.062e-05/0.00225, allocations: 15.83 kB / 0.5968 GB, free: 11.65 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 4.348e-06/0.002259, allocations: 7.906 kB / 0.5968 GB, free: 11.64 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 1.43e-05/0.002277, allocations: 0 / 0.5968 GB, free: 11.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.056e-05/0.002293, allocations: 1.5 kB / 0.5969 GB, free: 11.64 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: 2 (2) * Number of variables: 2 (2) Notification: Performance of Bindings: time 0.000216/0.002514, allocations: 166.2 kB / 0.597 GB, free: 11.39 MB / 446.1 MB Notification: Performance of FunctionAlias: time 6.423e-05/0.002584, allocations: 15.89 kB / 0.597 GB, free: 11.37 MB / 446.1 MB Notification: Performance of Early Inline: time 4.718e-05/0.002637, allocations: 60.36 kB / 0.5971 GB, free: 11.29 MB / 446.1 MB Notification: Performance of simplify1: time 6.282e-06/0.002648, allocations: 3.984 kB / 0.5971 GB, free: 11.28 MB / 446.1 MB Notification: Performance of Alias: time 0.0002225/0.002875, allocations: 95.31 kB / 0.5972 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simplify2: time 2.645e-06/0.002886, allocations: 0 / 0.5972 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Events: time 8.055e-06/0.0029, allocations: 0.9062 kB / 0.5972 GB, free: 11.14 MB / 446.1 MB Notification: Performance of Detect States: time 4.469e-05/0.002949, allocations: 34.69 kB / 0.5972 GB, free: 11.1 MB / 446.1 MB Notification: Performance of Partitioning: time 3.521e-05/0.002992, allocations: 21.53 kB / 0.5972 GB, free: 11.07 MB / 446.1 MB Notification: Performance of Causalize: time 7.972e-05/0.003076, allocations: 49.44 kB / 0.5973 GB, free: 11.02 MB / 446.1 MB Notification: Performance of After Index Reduction Inline: time 3.495e-05/0.003118, allocations: 57.73 kB / 0.5973 GB, free: 10.93 MB / 446.1 MB Notification: Performance of Inline: time 4.86e-05/0.003171, allocations: 82.17 kB / 0.5974 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Partitioning: time 1.031e-05/0.003186, allocations: 24.03 kB / 0.5974 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Cleanup: time 7.715e-06/0.003198, allocations: 0 / 0.5974 GB, free: 10.79 MB / 446.1 MB Notification: Performance of Causalize: time 7.78e-05/0.003281, allocations: 63.28 kB / 0.5975 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Tearing: time 5.511e-06/0.003295, allocations: 0 / 0.5975 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Initialization: time 2.7e-07/0.0033, allocations: 1.156 kB / 0.5975 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Tearing: time 2.204e-06/0.003306, allocations: 4 kB / 0.5975 GB, free: 10.72 MB / 446.1 MB Notification: Performance of Categorize: time 6.332e-06/0.003317, allocations: 3.938 kB / 0.5975 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Solve: time 3.007e-05/0.003352, allocations: 9.344 kB / 0.5975 GB, free: 10.71 MB / 446.1 MB Notification: Performance of Jacobian: time 4.198e-06/0.003361, allocations: 0 / 0.5975 GB, free: 10.71 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: ................. 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 3.411e-05/0.003399, allocations: 10.52 kB / 0.5975 GB, free: 10.7 MB / 446.1 MB Notification: Performance of SimCode: time 0.0004443/0.003847, allocations: 0.7644 MB / 0.5983 GB, free: 9.914 MB / 446.1 MB Notification: Performance of Templates: time 0.002312/0.00617, allocations: 321.5 kB / 0.5986 GB, free: 9.629 MB / 446.1 MB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.makefile make -j1 -f BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial.o BuildSysPro_BuildSysPro.IBPSA.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=BuildSysPro_BuildSysPro_IBPSA_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 BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.o BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.c BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.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.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: *** [: BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.Factorial_functions.o] Error 1