Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_AixLib.Systems.ModularAHU.Examples.Cooler.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.Cooler,fileNamePrefix="AixLib_AixLib_Systems_ModularAHU_Examples_Cooler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.Cooler,fileNamePrefix="AixLib_AixLib_Systems_ModularAHU_Examples_Cooler",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.677/1.677, allocations: 265 MB / 272.3 MB, free: 8.801 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.001051/0.001051, allocations: 192.6 kB / 329.7 MB, free: 384 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.366/1.366, allocations: 221.4 MB / 0.5941 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.0009805/0.0009806, allocations: 96.52 kB / 0.6993 GB, free: 2.652 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05211/0.05211, allocations: 11.89 MB / 0.816 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.0004691/0.0004691, allocations: 19.48 kB / 0.924 GB, free: 86.93 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2754/0.2759, allocations: 117.8 MB / 1.039 GB, free: 9.188 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.5643, allocations: 110.2 MB / 1.147 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.165/6.729, allocations: 2.244 GB / 3.391 GB, free: 299.9 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002079/6.729, allocations: 87.89 kB / 3.391 GB, free: 299.9 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: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 12.14/18.87, allocations: 3.218 GB / 6.609 GB, free: 57.98 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/18.87, allocations: 7.656 kB / 6.609 GB, free: 57.98 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01706/18.89, allocations: 1.811 MB / 6.611 GB, free: 57.31 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08416/18.97, allocations: 26.48 MB / 6.637 GB, free: 55.18 MB / 1.073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009293/18.97, allocations: 242.2 kB / 6.637 GB, free: 55.17 MB / 1.073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005889/18.98, allocations: 458.8 kB / 6.637 GB, free: 55.16 MB / 1.073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03057/19.01, allocations: 8.987 MB / 6.646 GB, free: 54.72 MB / 1.073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04402/19.05, allocations: 9.807 MB / 6.656 GB, free: 50.27 MB / 1.073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008419/19.06, allocations: 26.91 kB / 6.656 GB, free: 50.25 MB / 1.073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004694/19.06, allocations: 10.78 kB / 6.656 GB, free: 50.25 MB / 1.073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004658/19.06, allocations: 297.7 kB / 6.656 GB, free: 50.22 MB / 1.073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1199/19.18, allocations: 55.82 MB / 6.71 GB, free: 11.97 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009402/19.19, allocations: 3.926 MB / 6.714 GB, free: 8.898 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007195/19.2, allocations: 3.54 MB / 6.718 GB, free: 5.676 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04828/19.25, allocations: 17.12 MB / 6.734 GB, free: 6.969 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/19.25, allocations: 86.95 kB / 6.735 GB, free: 6.875 MB / 1.089 GB Notification: Performance of pre-optimization done (n=413): time 9.307e-06/19.25, allocations: 0 / 6.735 GB, free: 6.875 MB / 1.089 GB Notification: Performance of matching and sorting (n=474): time 0.9002/20.15, allocations: 19.14 MB / 6.753 GB, free: 149.2 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/20.15, allocations: 97.31 kB / 6.753 GB, free: 149.2 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0245/20.17, allocations: 9.601 MB / 6.763 GB, free: 148.7 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001991/20.17, allocations: 34.64 kB / 6.763 GB, free: 148.7 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.006429/20.18, allocations: 2.916 MB / 6.766 GB, free: 147.7 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.00862/20.19, allocations: 1.615 MB / 6.767 GB, free: 146.8 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00145/20.19, allocations: 0 / 6.767 GB, free: 146.8 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006895/20.19, allocations: 0.5204 MB / 6.768 GB, free: 146.5 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006326/20.2, allocations: 3.125 MB / 6.771 GB, free: 146.5 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008059/20.2, allocations: 4.507 MB / 6.775 GB, free: 145 MB / 1.089 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.03721/20.24, allocations: 9.203 MB / 6.784 GB, free: 144.6 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.259e-05/20.24, allocations: 10.59 kB / 6.784 GB, free: 144.6 MB / 1.089 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 124: $DER.registerModule.dynamicHX.vol1[1].dynBal.medium.p = 0.0; 31: $DER.registerModule.dynamicHX.vol1[1].dynBal.medium.p = 0.0; 123: $DER.registerModule.dynamicHX.vol1[2].dynBal.medium.p = 0.0; 34: $DER.registerModule.dynamicHX.vol1[2].dynBal.medium.p = 0.0; for variables registerModule.hydraulicModule.senT_b2.TMed(447), $DER.registerModule.hydraulicModule.pipe2.simplePipe.vol[2].dynBal.medium.T(513), $DER.registerModule.hydraulicModule.PT1_a1.y(439), $DER.registerModule.hydraulicModule.pipe1.simplePipe.vol[2].dynBal.medium.T(507), ctrBasic.PID.y(38), boundaryAirSink.ports[1].h_outflow(41) Error: No system for the symbolic initialization was generated Error: Internal error SimCode: The model AixLib.Systems.ModularAHU.Examples.Cooler could not be translated to FMU