Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_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_latest_AixLib_Systems_ModularAHU_Examples_Cooler",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.Cooler,fileNamePrefix="AixLib_latest_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.549/1.549, allocations: 265 MB / 272.3 MB, free: 8.812 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.001058/0.001058, allocations: 189.2 kB / 329.7 MB, free: 372 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.269/1.269, allocations: 221.3 MB / 0.5941 GB, free: 14.51 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.001056/0.001056, allocations: 96.56 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.04923/0.04923, allocations: 11.89 MB / 0.816 GB, free: 65.57 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.000475/0.0004751, allocations: 11.3 kB / 0.924 GB, free: 86.99 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.2371/0.2376, allocations: 117.8 MB / 1.039 GB, free: 9.18 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.235/0.4726, allocations: 110.2 MB / 1.147 GB, free: 10.86 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.568/5.041, allocations: 2.244 GB / 3.391 GB, free: 299.9 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/5.041, allocations: 84.95 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 10.73/15.77, allocations: 3.218 GB / 6.609 GB, free: 47.17 MB / 1.057 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/15.77, allocations: 10.59 kB / 6.609 GB, free: 47.17 MB / 1.057 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01447/15.78, allocations: 1.804 MB / 6.611 GB, free: 46.5 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0726/15.86, allocations: 26.49 MB / 6.637 GB, free: 42.87 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006834/15.86, allocations: 231.7 kB / 6.637 GB, free: 42.87 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004266/15.86, allocations: 466.9 kB / 6.637 GB, free: 42.85 MB / 1.057 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02385/15.88, allocations: 8.985 MB / 6.646 GB, free: 38.84 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0367/15.92, allocations: 9.798 MB / 6.656 GB, free: 34.39 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007402/15.92, allocations: 30.48 kB / 6.656 GB, free: 34.37 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00355/15.93, allocations: 14.88 kB / 6.656 GB, free: 34.37 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004301/15.93, allocations: 299 kB / 6.656 GB, free: 34.34 MB / 1.057 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1022/16.03, allocations: 55.82 MB / 6.71 GB, free: 1.395 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009048/16.04, allocations: 3.925 MB / 6.714 GB, free: 13.85 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00676/16.04, allocations: 3.541 MB / 6.718 GB, free: 10.62 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6658/16.71, allocations: 17.11 MB / 6.734 GB, free: 151.1 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.179e-05/16.71, allocations: 93.56 kB / 6.735 GB, free: 151.1 MB / 1.089 GB Notification: Performance of pre-optimization done (n=413): time 7.774e-06/16.71, allocations: 0 / 6.735 GB, free: 151.1 MB / 1.089 GB Notification: Performance of matching and sorting (n=474): time 0.05821/16.77, allocations: 19.13 MB / 6.753 GB, free: 149.7 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.588e-05/16.77, allocations: 105.6 kB / 6.753 GB, free: 149.7 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02285/16.79, allocations: 9.605 MB / 6.763 GB, free: 149.2 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001734/16.79, allocations: 31.77 kB / 6.763 GB, free: 149.2 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.005874/16.8, allocations: 2.907 MB / 6.766 GB, free: 148.2 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.007987/16.81, allocations: 1.622 MB / 6.767 GB, free: 147.3 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001321/16.81, allocations: 0 / 6.767 GB, free: 147.3 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0006688/16.81, allocations: 0.5173 MB / 6.768 GB, free: 147 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005922/16.81, allocations: 3.12 MB / 6.771 GB, free: 147 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00748/16.82, allocations: 4.507 MB / 6.775 GB, free: 145.5 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.03537/16.86, allocations: 9.213 MB / 6.784 GB, free: 145.1 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.093e-05/16.86, allocations: 10.06 kB / 6.784 GB, free: 145.1 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