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: "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.Heater,fileNamePrefix="AixLib_latest_AixLib_Systems_ModularAHU_Examples_Heater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.Heater,fileNamePrefix="AixLib_latest_AixLib_Systems_ModularAHU_Examples_Heater",fmuType="me",version="2.0",platforms={"static"}) [: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.555/1.555, allocations: 265 MB / 272.3 MB, free: 8.824 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.001112/0.001112, allocations: 193.2 kB / 329.7 MB, free: 368 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.272/1.272, allocations: 221.3 MB / 0.5941 GB, free: 14.53 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.001204/0.001204, allocations: 96.56 kB / 0.6993 GB, free: 2.656 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04929/0.04929, allocations: 11.89 MB / 0.816 GB, free: 65.56 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.0003986/0.0003985, allocations: 16.64 kB / 0.924 GB, free: 86.91 MB / 0.573 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 0.2446/0.245, allocations: 117.8 MB / 1.039 GB, free: 9.156 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.5015, allocations: 110.2 MB / 1.147 GB, free: 10.84 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.395/4.897, allocations: 2.243 GB / 3.39 GB, free: 300.8 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001889/4.897, allocations: 90.66 kB / 3.39 GB, free: 300.8 MB / 0.9324 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 15.19/20.08, allocations: 4.294 GB / 7.684 GB, free: 43.53 MB / 1.136 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/20.08, allocations: 10 kB / 7.684 GB, free: 43.53 MB / 1.136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01905/20.1, allocations: 2.36 MB / 7.687 GB, free: 42.61 MB / 1.136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1069/20.21, allocations: 36.72 MB / 7.722 GB, free: 40.23 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/20.21, allocations: 319.7 kB / 7.723 GB, free: 40.23 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00634/20.22, allocations: 0.619 MB / 7.723 GB, free: 40.21 MB / 1.136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04055/20.26, allocations: 12.42 MB / 7.736 GB, free: 40.18 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05292/20.31, allocations: 13.58 MB / 7.749 GB, free: 39.02 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001073/20.31, allocations: 47.84 kB / 7.749 GB, free: 39 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005619/20.32, allocations: 18.12 kB / 7.749 GB, free: 39 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005363/20.32, allocations: 407.2 kB / 7.749 GB, free: 38.98 MB / 1.136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1423/20.46, allocations: 78.58 MB / 7.826 GB, free: 10.11 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01159/20.47, allocations: 5.281 MB / 7.831 GB, free: 10.07 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008663/20.48, allocations: 4.806 MB / 7.836 GB, free: 10 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05103/20.53, allocations: 22.89 MB / 7.858 GB, free: 17.21 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001433/20.53, allocations: 110.2 kB / 7.858 GB, free: 17.12 MB / 1.151 GB Notification: Performance of pre-optimization done (n=550): time 1.964e-05/20.53, allocations: 0 / 7.858 GB, free: 17.12 MB / 1.151 GB Notification: Performance of matching and sorting (n=635): time 0.0907/20.62, allocations: 25.69 MB / 7.883 GB, free: 5.824 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001218/20.62, allocations: 120.6 kB / 7.883 GB, free: 5.754 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04279/20.66, allocations: 14.02 MB / 7.897 GB, free: 15.97 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002402/20.67, allocations: 34.36 kB / 7.897 GB, free: 15.94 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01361/20.68, allocations: 4.058 MB / 7.901 GB, free: 13.29 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.01663/20.7, allocations: 2.163 MB / 7.903 GB, free: 11.58 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001981/20.7, allocations: 0 / 7.903 GB, free: 11.58 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001107/20.7, allocations: 0.5971 MB / 7.904 GB, free: 11.14 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01157/20.71, allocations: 4.249 MB / 7.908 GB, free: 9.219 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01226/20.72, allocations: 6.207 MB / 7.914 GB, free: 4.988 MB / 1.167 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.04915/20.77, allocations: 12.28 MB / 7.926 GB, free: 1.098 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.376e-05/20.77, allocations: 16.06 kB / 7.926 GB, free: 1.098 MB / 1.167 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 Error: Internal error SimCode: The model AixLib.Systems.ModularAHU.Examples.Heater could not be translated to FMU