Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") translateModel(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001194/0.001194, allocations: 113.2 kB / 16.43 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.001399/0.001399, allocations: 183.2 kB / 17.35 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.416/1.416, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05667/0.05667, allocations: 12.04 MB / 303.2 MB, free: 3.074 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006094/0.0006096, allocations: 35.94 kB / 356.3 MB, free: 13.95 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.633/1.633, allocations: 268.2 MB / 0.6617 GB, free: 2.594 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.03e-05/3.057e-05, allocations: 2.281 kB / 0.888 GB, free: 4.555 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006799/0.00684, allocations: 4.032 MB / 0.8919 GB, free: 0.5 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003283/0.01018, allocations: 2.426 MB / 0.8943 GB, free: 14.07 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.0104, allocations: 3.938 kB / 0.8943 GB, free: 14.06 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0003644/0.01077, allocations: 55.66 kB / 0.8943 GB, free: 14.01 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0004755/0.01126, allocations: 99.36 kB / 0.8944 GB, free: 13.91 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002075/0.0134, allocations: 0.5475 MB / 0.895 GB, free: 13.37 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0006333/0.01405, allocations: 267.9 kB / 0.8952 GB, free: 13.1 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 6.84e-05/0.01413, allocations: 9.125 kB / 0.8952 GB, free: 13.09 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000495/0.01463, allocations: 123.5 kB / 0.8953 GB, free: 12.97 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002238/0.01487, allocations: 95.61 kB / 0.8954 GB, free: 12.88 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.223e-05/0.01491, allocations: 8 kB / 0.8954 GB, free: 12.87 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.01614, allocations: 455.2 kB / 0.8959 GB, free: 12.43 MB / 0.67 GB Notification: Performance of combineBinaries: time 0.0002992/0.01646, allocations: 273.2 kB / 0.8961 GB, free: 12.16 MB / 0.67 GB Notification: Performance of replaceArrayConstructors: time 0.0001492/0.01661, allocations: 172.5 kB / 0.8963 GB, free: 11.99 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 6.635e-05/0.01669, allocations: 27.94 kB / 0.8963 GB, free: 11.96 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.687e-05/0.01672, allocations: 0 / 0.8963 GB, free: 11.96 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: 39 (36) * Number of variables: 39 (39) Notification: Performance of Bindings: time 0.001178/0.01791, allocations: 0.7923 MB / 0.8971 GB, free: 11.06 MB / 0.67 GB Notification: Performance of FunctionAlias: time 0.0001593/0.01807, allocations: 35.84 kB / 0.8971 GB, free: 11.03 MB / 0.67 GB Notification: Performance of Early Inline: time 0.001087/0.01917, allocations: 0.6396 MB / 0.8978 GB, free: 10.36 MB / 0.67 GB Notification: Performance of simplify1: time 0.0002196/0.0194, allocations: 143.6 kB / 0.8979 GB, free: 10.19 MB / 0.67 GB Notification: Performance of Alias: time 0.00097/0.02038, allocations: 482.2 kB / 0.8983 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simplify2: time 0.0002137/0.0206, allocations: 137.5 kB / 0.8985 GB, free: 9.441 MB / 0.67 GB Notification: Performance of Detect States: time 0.0002346/0.02085, allocations: 132.1 kB / 0.8986 GB, free: 9.297 MB / 0.67 GB Notification: Performance of Events: time 0.0004048/0.02126, allocations: 131.1 kB / 0.8987 GB, free: 9.168 MB / 0.67 GB Notification: Performance of Partitioning: time 0.000375/0.02165, allocations: 220.8 kB / 0.8989 GB, free: 8.898 MB / 0.67 GB Notification: Performance of Causalize: time 0.001214/0.02287, allocations: 0.7518 MB / 0.8997 GB, free: 8.098 MB / 0.67 GB Notification: Performance of After Index Reduction Inline: time 0.0005418/0.02343, allocations: 438.3 kB / 0.9001 GB, free: 7.641 MB / 0.67 GB Notification: Performance of Inline: time 0.001172/0.02461, allocations: 0.8252 MB / 0.9009 GB, free: 6.781 MB / 0.67 GB Notification: Performance of Partitioning: time 3.954e-05/0.02466, allocations: 22.36 kB / 0.9009 GB, free: 6.75 MB / 0.67 GB Notification: Performance of Cleanup: time 0.0003854/0.02505, allocations: 159.8 kB / 0.9011 GB, free: 6.594 MB / 0.67 GB Notification: Performance of Causalize: time 0.001313/0.02637, allocations: 0.7081 MB / 0.9018 GB, free: 5.879 MB / 0.67 GB Notification: Performance of Tearing: time 1.505e-05/0.0264, allocations: 0 / 0.9018 GB, free: 5.879 MB / 0.67 GB Notification: Performance of Initialization: time 1.102e-06/0.02641, allocations: 4 kB / 0.9018 GB, free: 5.875 MB / 0.67 GB Notification: Performance of Tearing: time 8.186e-06/0.02642, allocations: 3.938 kB / 0.9018 GB, free: 5.871 MB / 0.67 GB Notification: Performance of Categorize: time 2.513e-05/0.02645, allocations: 7.938 kB / 0.9018 GB, free: 5.863 MB / 0.67 GB Notification: Performance of Solve: time 0.000395/0.02685, allocations: 149.5 kB / 0.9019 GB, free: 5.715 MB / 0.67 GB Notification: Performance of Jacobian: time 3.817e-06/0.02687, allocations: 0 / 0.9019 GB, free: 5.715 MB / 0.67 GB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 4 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 3 * 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: ................. 10 (10) {$SEV_9, $SEV_8, $SEV_7[$i1], $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 38 (scalar:36, array:2, 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: ........... 38 (scalar:36, array:2, 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 6.961e-05/0.02694, allocations: 33.2 kB / 0.902 GB, free: 5.695 MB / 0.67 GB Notification: Performance of SimCode: time 0.003588/0.03053, allocations: 1.754 MB / 0.9037 GB, free: 3.91 MB / 0.67 GB Notification: Performance of Templates: time 0.01272/0.04327, allocations: 6.233 MB / 0.9098 GB, free: 13.73 MB / 0.6857 GB make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.makefile make -j1 -f AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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_AixLib_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties -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_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.o AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:453:59: error: use of undeclared identifier 'i' tmp38 = modelica_integer_to_modelica_string(i, ((modelica_integer) 0), 1 /* true */); ^ AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:456:119: error: use of undeclared identifier 'i' tmp42 = modelica_real_to_modelica_string((&data->localData[0]->realVars[16] /* basPro.X[1] variable */)[i - 1], ((modelica_integer) 6), ((modelica_integer) 0), 1 /* true */); ^ AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:459:22: error: use of undeclared identifier 'i' switch(i) ^ AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.c:467:117: error: use of undeclared identifier 'i' throwStreamPrint(threadData, "Index %ld out of bounds [1..1] for array {\"WaterDetailed\"}", (long) i); ^ 4 errors generated. make: *** [: AixLib_AixLib.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.o] Error 1