Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Systems.ModularAHU.Examples.Heater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/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-development/package.mo) Running command: translateModel(AixLib.Systems.ModularAHU.Examples.Heater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Systems.ModularAHU.Examples.Heater") translateModel(AixLib.Systems.ModularAHU.Examples.Heater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Systems.ModularAHU.Examples.Heater") [: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-development/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-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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.3.2-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. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.315/1.315, allocations: 265 MB / 272.3 MB, free: 12.77 MB / 222.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008903/0.0008906, allocations: 181.3 kB / 329.7 MB, free: 4.766 MB / 270.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.036/1.036, allocations: 221.4 MB / 0.5941 GB, free: 2.746 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008373/0.0008373, allocations: 100.6 kB / 0.6993 GB, free: 6.895 MB / 0.545 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.0441/0.0441, allocations: 11.89 MB / 0.816 GB, free: 69.51 MB / 0.545 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.0003496/0.0003497, allocations: 8 kB / 0.924 GB, free: 6.82 MB / 0.5919 GB Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Warning: Ignoring unknown experiment annotation option: __Dymola_fixedstepsize = 1 Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 4.869e-06/4.889e-06, allocations: 224 / 1.039 GB, free: 110.6 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1376/0.1376, allocations: 110.2 MB / 1.147 GB, free: 332 kB / 0.5919 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.319/3.457, allocations: 2.243 GB / 3.39 GB, free: 204.3 MB / 0.9357 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002144/3.457, allocations: 91 kB / 3.39 GB, free: 204.3 MB / 0.9357 GB Notification: Performance of FrontEnd: time 11.82/15.28, allocations: 4.281 GB / 7.671 GB, free: 60.08 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0027/15.28, allocations: 399.9 kB / 7.671 GB, free: 60.02 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2542 * Number of variables: 2542 Notification: Performance of Generate backend data structure: time 0.03628/15.32, allocations: 13.36 MB / 7.684 GB, free: 54.66 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 3.441e-05/15.32, allocations: 6.719 kB / 7.684 GB, free: 54.66 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01334/15.33, allocations: 2.357 MB / 7.686 GB, free: 53.73 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07788/15.41, allocations: 36.73 MB / 7.722 GB, free: 51.36 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005708/15.41, allocations: 317.8 kB / 7.723 GB, free: 51.36 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003928/15.42, allocations: 0.623 MB / 7.723 GB, free: 51.34 MB / 1.17 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02775/15.44, allocations: 12.42 MB / 7.735 GB, free: 51.3 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03315/15.48, allocations: 13.58 MB / 7.749 GB, free: 50.14 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007998/15.48, allocations: 43.19 kB / 7.749 GB, free: 50.13 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004191/15.48, allocations: 15.88 kB / 7.749 GB, free: 50.13 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005027/15.48, allocations: 409.6 kB / 7.749 GB, free: 50.11 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1036/15.59, allocations: 78.58 MB / 7.826 GB, free: 21.36 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008583/15.59, allocations: 5.284 MB / 7.831 GB, free: 21.31 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006661/15.6, allocations: 4.806 MB / 7.836 GB, free: 21.25 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03575/15.64, allocations: 22.87 MB / 7.858 GB, free: 16.87 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.493e-05/15.64, allocations: 112.6 kB / 7.858 GB, free: 16.82 MB / 1.17 GB Notification: Performance of pre-optimization done (n=550): time 8.315e-06/15.64, allocations: 1.219 kB / 7.858 GB, free: 16.82 MB / 1.17 GB Notification: Performance of matching and sorting (n=635): time 0.05995/15.7, allocations: 25.69 MB / 7.883 GB, free: 8.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/15.7, allocations: 122.5 kB / 7.883 GB, free: 8.055 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02761/15.72, allocations: 14.02 MB / 7.897 GB, free: 2.273 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.001782/15.73, allocations: 31.92 kB / 7.897 GB, free: 2.242 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.008917/15.74, allocations: 4.056 MB / 7.901 GB, free: 15.59 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.01284/15.75, allocations: 2.164 MB / 7.903 GB, free: 13.88 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001319/15.75, allocations: 3.938 kB / 7.903 GB, free: 13.87 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0006868/15.75, allocations: 0.6004 MB / 7.904 GB, free: 13.44 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006759/15.76, allocations: 4.241 MB / 7.908 GB, free: 11.52 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008165/15.77, allocations: 6.206 MB / 7.914 GB, free: 7.289 MB / 1.186 GB Notification: The following equation is consistent and got removed from the initialization problem: $DER.registerModule.dynamicHX.vol1[2].dynBal.medium.p = 0.0 Notification: The following equation is consistent and got removed from the initialization problem: $DER.registerModule.dynamicHX.vol1[1].dynBal.medium.p = 0.0 Notification: Performance of analyzeInitialSystem (initialization): time 0.0409/15.81, allocations: 12.29 MB / 7.926 GB, free: 3.402 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.124e-05/15.81, allocations: 18.44 kB / 7.926 GB, free: 3.402 MB / 1.186 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Fluid/Interfaces/ConservationEquation.mo:316:7-316:37:writable] Error: Initialization problem is structurally singular, error found sorting equations 174: $DER.registerModule.dynamicHX.vol1[1].dynBal.medium.p = 0.0; 47: $DER.registerModule.dynamicHX.vol1[1].dynBal.medium.p = 0.0; 173: $DER.registerModule.dynamicHX.vol1[2].dynBal.medium.p = 0.0; 50: $DER.registerModule.dynamicHX.vol1[2].dynBal.medium.p = 0.0; for variables registerModule.hydraulicModule.pipe1.simplePipe.vol[1].dynBal.Hb_flow(568), registerModule.hydraulicModule.PumpInterface.pump.PToMed.u1(188), registerModule.hydraulicModule.valve.vol.dynBal.ports_H_flow[2](584), registerModule.hydraulicModule.PumpInterface.pump.heaDis.QThe_flow(189), boundaryAirSink.X_in_internal[1](57), boundaryAirSource.X_in_internal[2](60) Error: No system for the symbolic initialization was generated