Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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(AixLib.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Utilities.Math.Examples.Factorial") translateModel(AixLib.Utilities.Math.Examples.Factorial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.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.001057/0.001057, allocations: 111 kB / 16.42 MB, free: 6.527 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.001227/0.001227, allocations: 185.5 kB / 17.35 MB, free: 5.75 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.317/1.317, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05478/0.05478, allocations: 12.03 MB / 303.2 MB, free: 3.094 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004854/0.0004854, allocations: 27.95 kB / 356.3 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.945/1.945, allocations: 272.3 MB / 0.6657 GB, free: 18.38 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.445e-05/2.437e-05, allocations: 2.281 kB / 0.8934 GB, free: 15.16 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Factorial): time 0.002618/0.002652, allocations: 1.514 MB / 0.8949 GB, free: 13.64 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.0003759/0.003041, allocations: 120.5 kB / 0.895 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.257e-05/0.003105, allocations: 0 / 0.895 GB, free: 13.52 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 3.653e-05/0.00315, allocations: 3.938 kB / 0.895 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 5.173e-05/0.003206, allocations: 4 kB / 0.895 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.000249/0.003475, allocations: 27.91 kB / 0.8951 GB, free: 13.48 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 9.036e-05/0.003575, allocations: 35.86 kB / 0.8951 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.003688, allocations: 8 kB / 0.8951 GB, free: 13.44 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.304e-05/0.003739, allocations: 23.91 kB / 0.8951 GB, free: 13.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 4.999e-05/0.003794, allocations: 15.92 kB / 0.8951 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.003812, allocations: 0 / 0.8951 GB, free: 13.4 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 6.739e-05/0.003885, allocations: 12 kB / 0.8951 GB, free: 13.39 MB / 0.67 GB Notification: Performance of combineBinaries: time 6.394e-05/0.003956, allocations: 47.48 kB / 0.8952 GB, free: 13.34 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 1.553e-05/0.003976, allocations: 23.66 kB / 0.8952 GB, free: 13.32 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 1.856e-05/0.004, allocations: 3.938 kB / 0.8952 GB, free: 13.31 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.875e-05/0.004023, allocations: 0 / 0.8952 GB, free: 13.31 MB / 0.67 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.0003526/0.004382, allocations: 264.6 kB / 0.8955 GB, free: 12.95 MB / 0.67 GB Notification: Performance of FunctionAlias: time 8.464e-05/0.004473, allocations: 27.88 kB / 0.8955 GB, free: 12.93 MB / 0.67 GB Notification: Performance of Early Inline: time 0.000134/0.004613, allocations: 124.3 kB / 0.8956 GB, free: 12.78 MB / 0.67 GB Notification: Performance of simplify1: time 2.579e-05/0.004645, allocations: 11.98 kB / 0.8956 GB, free: 12.77 MB / 0.67 GB Notification: Performance of Alias: time 0.0003504/0.005, allocations: 177.4 kB / 0.8958 GB, free: 12.53 MB / 0.67 GB Notification: Performance of simplify2: time 1.355e-05/0.005025, allocations: 7.984 kB / 0.8958 GB, free: 12.52 MB / 0.67 GB Notification: Performance of Detect States: time 7.377e-05/0.005104, allocations: 44.19 kB / 0.8958 GB, free: 12.46 MB / 0.67 GB Notification: Performance of Events: time 8.63e-05/0.005198, allocations: 43.89 kB / 0.8959 GB, free: 12.42 MB / 0.67 GB Notification: Performance of Partitioning: time 6.64e-05/0.005272, allocations: 48.11 kB / 0.8959 GB, free: 12.37 MB / 0.67 GB Notification: Performance of Causalize: time 0.0002227/0.005501, allocations: 160 kB / 0.8961 GB, free: 12.2 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0001311/0.005642, allocations: 136.3 kB / 0.8962 GB, free: 12.04 MB / 0.67 GB Notification: Performance of Inline: time 0.0001743/0.005822, allocations: 172.4 kB / 0.8964 GB, free: 11.84 MB / 0.67 GB Notification: Performance of Partitioning: time 2.063e-05/0.005849, allocations: 20.05 kB / 0.8964 GB, free: 11.81 MB / 0.67 GB Notification: Performance of Cleanup: time 1.511e-05/0.005869, allocations: 7.984 kB / 0.8964 GB, free: 11.8 MB / 0.67 GB Notification: Performance of Causalize: time 0.0002463/0.00612, allocations: 184.5 kB / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Tearing: time 1.036e-05/0.006139, allocations: 0 / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Initialization: time 4.31e-07/0.006146, allocations: 4 kB / 0.8966 GB, free: 11.61 MB / 0.67 GB Notification: Performance of Tearing: time 3.437e-06/0.006154, allocations: 3.938 kB / 0.8966 GB, free: 11.61 MB / 0.67 GB Notification: Performance of Categorize: time 6.773e-06/0.006165, allocations: 0 / 0.8966 GB, free: 11.61 MB / 0.67 GB Notification: Performance of Solve: time 5.951e-05/0.006229, allocations: 23.98 kB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of Jacobian: time 3.185e-06/0.006239, allocations: 0 / 0.8966 GB, free: 11.59 MB / 0.67 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 4.674e-05/0.006289, allocations: 15.72 kB / 0.8966 GB, free: 11.58 MB / 0.67 GB Notification: Performance of SimCode: time 0.00066/0.006954, allocations: 0.8254 MB / 0.8974 GB, free: 10.73 MB / 0.67 GB Notification: Performance of Templates: time 0.002878/0.009844, allocations: 0.5322 MB / 0.898 GB, free: 10.2 MB / 0.67 GB make -j1 -f AixLib_latest_AixLib.Utilities.Math.Examples.Factorial.makefile make -j1 -f AixLib_latest_AixLib.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=AixLib_latest_AixLib_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 AixLib_latest_AixLib.Utilities.Math.Examples.Factorial.o AixLib_latest_AixLib.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=AixLib_latest_AixLib_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 AixLib_latest_AixLib.Utilities.Math.Examples.Factorial_functions.o AixLib_latest_AixLib.Utilities.Math.Examples.Factorial_functions.c AixLib_latest_AixLib.Utilities.Math.Examples.Factorial_functions.c:26:53: error: use of undeclared identifier '_OMC_LIT0' omc_assert(threadData, info, MMC_STRINGDATA(_OMC_LIT0)); ^ AixLib_latest_AixLib.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: *** [: AixLib_latest_AixLib.Utilities.Math.Examples.Factorial_functions.o] Error 1