Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Systems.ModularAHU.Examples.EONERC_AHU2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/ModelicaServices 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) Running command: translateModel(AixLib.Systems.ModularAHU.Examples.EONERC_AHU2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=960,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.EONERC_AHU2") translateModel(AixLib.Systems.ModularAHU.Examples.EONERC_AHU2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=960,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.EONERC_AHU2") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). [/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. [/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/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/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/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/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_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/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/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/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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo): time 1.736/1.736, allocations: 264.6 MB / 271.9 MB, free: 8.871 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001104/0.001105, allocations: 169.3 kB / 329.3 MB, free: 476 kB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 0.5937 GB, free: 14.52 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 102 kB / 0.6989 GB, free: 2.68 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05806/0.05806, allocations: 11.89 MB / 0.8156 GB, free: 65.58 MB / 0.5418 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005295/0.0005296, allocations: 12.97 kB / 0.9236 GB, free: 86.91 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 1.249e-05/1.308e-05, allocations: 0 / 1.039 GB, free: 9.262 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2876, allocations: 110.2 MB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.363/6.651, allocations: 2.263 GB / 3.409 GB, free: 286.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/6.651, allocations: 89.77 kB / 3.409 GB, free: 286.7 MB / 0.9324 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Systems/ModularAHU/Examples/EONERC_AHU2.mo:62:7-67:81:writable] Error: Type mismatch in binding valveCharacteristic = AixLib.Fluid.Actuators.Valves.Data.LinearEqualPercentage(AixLib.Fluid.Actuators.Valves.Data.Generic({0.0, 0.07000000000000001, 0.12, 0.45, 0.65, 0.89, 0.93, 0.96, 1.0}, {0.0, 0.001, 0.002, 0.08, 0.29, 0.75, 0.9399999999999999, 0.98, 1.0}), AixLib.Fluid.Actuators.Valves.Data.Generic({0.0, 0.1, 0.2, 0.26, 0.52, 0.8, 0.9, 0.95, 1.0}, {0.0, 0.001, 0.002, 0.05, 0.45, 0.96, 0.98, 0.99, 1.0})), expected subtype of record AixLib.Fluid.Actuators.Valves.Data.GenericThreeWay record AixLib.Fluid.Actuators.Valves.Data.Generic Real(min = 0.0, max = 1.0)[9] y; Real(min = 0.0, max = 1.0)[9] phi; end AixLib.Fluid.Actuators.Valves.Data.Generic; a_ab; record AixLib.Fluid.Actuators.Valves.Data.Generic Real(min = 0.0, max = 1.0)[9] y; Real(min = 0.0, max = 1.0)[9] phi; end AixLib.Fluid.Actuators.Valves.Data.Generic; b_ab; end AixLib.Fluid.Actuators.Valves.Data.GenericThreeWay;, got type record AixLib.Fluid.Actuators.Valves.Data.LinearEqualPercentage record AixLib.Fluid.Actuators.Valves.Data.Generic Real(min = 0.0, max = 1.0)[8] y; Real(min = 0.0, max = 1.0)[8] phi; end AixLib.Fluid.Actuators.Valves.Data.Generic; a_ab; record AixLib.Fluid.Actuators.Valves.Data.Generic Real(min = 0.0, max = 1.0)[2] y; Real(min = 0.0, max = 1.0)[2] phi; end AixLib.Fluid.Actuators.Valves.Data.Generic; b_ab; end AixLib.Fluid.Actuators.Valves.Data.LinearEqualPercentage;. Error: Error occurred while flattening model AixLib.Systems.ModularAHU.Examples.EONERC_AHU2