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.00142/0.00142, allocations: 105.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.001439/0.001439, allocations: 189.9 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.412/1.412, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05597/0.05597, allocations: 12.03 MB / 303.2 MB, free: 3.098 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005453/0.0005455, allocations: 19.97 kB / 356.3 MB, free: 13.98 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 2.007/2.007, allocations: 272.3 MB / 0.6657 GB, free: 18.47 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.65e-05/4.653e-05, allocations: 5.094 kB / 0.8934 GB, free: 15.18 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Math.Examples.Factorial): time 0.003785/0.003846, allocations: 1.504 MB / 0.8949 GB, free: 13.66 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.000546/0.004408, allocations: 124.5 kB / 0.895 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.278e-05/0.004491, allocations: 0 / 0.895 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 4.442e-05/0.004548, allocations: 3.938 kB / 0.895 GB, free: 13.54 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 6.448e-05/0.004667, allocations: 4 kB / 0.895 GB, free: 13.53 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.004993, allocations: 23.92 kB / 0.895 GB, free: 13.51 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.005158, allocations: 43.83 kB / 0.8951 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.005293, allocations: 7.938 kB / 0.8951 GB, free: 13.46 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 4.728e-05/0.005347, allocations: 11.98 kB / 0.8951 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 6.304e-05/0.005415, allocations: 19.92 kB / 0.8951 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.005435, allocations: 0 / 0.8951 GB, free: 13.43 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-05/0.00552, allocations: 12 kB / 0.8951 GB, free: 13.41 MB / 0.67 GB Notification: Performance of combineBinaries: time 8.664e-05/0.005616, allocations: 55.47 kB / 0.8952 GB, free: 13.36 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 1.75e-05/0.005639, allocations: 23.66 kB / 0.8952 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 2.138e-05/0.005665, allocations: 3.938 kB / 0.8952 GB, free: 13.33 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.48e-05/0.005694, allocations: 0 / 0.8952 GB, free: 13.33 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.0004265/0.006125, allocations: 256.7 kB / 0.8955 GB, free: 12.98 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0001055/0.00624, allocations: 35.86 kB / 0.8955 GB, free: 12.95 MB / 0.67 GB Notification: Performance of Early Inline: time 0.0001388/0.006385, allocations: 120.4 kB / 0.8956 GB, free: 12.8 MB / 0.67 GB Notification: Performance of simplify1: time 3.019e-05/0.006422, allocations: 11.98 kB / 0.8956 GB, free: 12.79 MB / 0.67 GB Notification: Performance of Alias: time 0.0004434/0.006872, allocations: 185.3 kB / 0.8958 GB, free: 12.55 MB / 0.67 GB Notification: Performance of simplify2: time 2.464e-05/0.006907, allocations: 11.98 kB / 0.8958 GB, free: 12.54 MB / 0.67 GB Notification: Performance of Events: time 9.686e-05/0.00701, allocations: 43.84 kB / 0.8958 GB, free: 12.49 MB / 0.67 GB Notification: Performance of Detect States: time 9.945e-05/0.007117, allocations: 52.22 kB / 0.8959 GB, free: 12.43 MB / 0.67 GB Notification: Performance of Partitioning: time 7.741e-05/0.007202, allocations: 32.12 kB / 0.8959 GB, free: 12.39 MB / 0.67 GB Notification: Performance of Causalize: time 0.0002529/0.007463, allocations: 172 kB / 0.8961 GB, free: 12.21 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0001343/0.007609, allocations: 128.3 kB / 0.8962 GB, free: 12.06 MB / 0.67 GB Notification: Performance of Inline: time 0.0002065/0.007823, allocations: 176.4 kB / 0.8964 GB, free: 11.85 MB / 0.67 GB Notification: Performance of Partitioning: time 2.385e-05/0.007853, allocations: 24.06 kB / 0.8964 GB, free: 11.82 MB / 0.67 GB Notification: Performance of Cleanup: time 1.801e-05/0.007877, allocations: 7.984 kB / 0.8964 GB, free: 11.81 MB / 0.67 GB Notification: Performance of Causalize: time 0.0002777/0.00816, allocations: 184.5 kB / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Tearing: time 7.985e-06/0.008178, allocations: 0 / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Initialization: time 1.192e-06/0.008184, allocations: 0 / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Tearing: time 2.565e-06/0.008193, allocations: 4 kB / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Categorize: time 1.035e-05/0.008208, allocations: 3.938 kB / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of Solve: time 6.256e-05/0.008275, allocations: 23.97 kB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of Jacobian: time 4.057e-06/0.008286, 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 5.767e-05/0.008348, allocations: 15.89 kB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of SimCode: time 0.0008563/0.009213, allocations: 0.8253 MB / 0.8974 GB, free: 10.74 MB / 0.67 GB Notification: Performance of Templates: time 0.003467/0.01269, allocations: 0.5361 MB / 0.898 GB, free: 10.21 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