Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU.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.DemandControlledAHU,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10078,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU") translateModel(AixLib.Systems.ModularAHU.Examples.DemandControlledAHU,tolerance=1e-05,outputFormat="empty",numberOfIntervals=10078,variableFilter="",fileNamePrefix="AixLib_AixLib.Systems.ModularAHU.Examples.DemandControlledAHU") [: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.816/1.816, allocations: 264.6 MB / 271.9 MB, free: 8.887 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.001255/0.001255, allocations: 173.3 kB / 329.3 MB, free: 480 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.661/1.661, allocations: 221.4 MB / 0.5937 GB, free: 14.57 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.001307/0.001307, allocations: 90 kB / 0.6989 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05289/0.05289, allocations: 11.9 MB / 0.8156 GB, free: 65.59 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.0006392/0.0006392, allocations: 13.11 kB / 0.9236 GB, free: 87 MB / 0.573 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 7.154e-06/7.184e-06, allocations: 0 / 1.039 GB, free: 9.262 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3049, allocations: 110.2 MB / 1.146 GB, free: 10.94 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.429/6.733, allocations: 2.351 GB / 3.497 GB, free: 197.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/6.734, allocations: 94.02 kB / 3.497 GB, free: 197.7 MB / 0.9324 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/Systems/ModularAHU/Examples/DemandControlledAHU.mo:61:9-61:363: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.DemandControlledAHU