Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Systems_ModularAHU_Examples_Heater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Systems.ModularAHU.Examples.Heater,fileNamePrefix="AixLib_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.644/1.644, 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.001215/0.001215, allocations: 184.7 kB / 329.7 MB, free: 360 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.371/1.371, allocations: 221.4 MB / 0.5941 GB, free: 14.5 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.001092/0.001091, allocations: 96.62 kB / 0.6993 GB, free: 2.648 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04939/0.04939, 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.0004316/0.0004316, allocations: 11.7 kB / 0.924 GB, free: 86.97 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.2783/0.2788, allocations: 117.8 MB / 1.039 GB, free: 9.152 MB / 0.5887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.5591, allocations: 110.2 MB / 1.147 GB, free: 10.82 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.334/6.893, allocations: 2.243 GB / 3.39 GB, free: 300.7 MB / 0.9324 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/6.894, allocations: 93.77 kB / 3.39 GB, free: 300.7 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 17.2/24.1, allocations: 4.294 GB / 7.684 GB, free: 43.38 MB / 1.136 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/24.1, allocations: 10.31 kB / 7.684 GB, free: 43.38 MB / 1.136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/24.12, allocations: 2.354 MB / 7.687 GB, free: 42.45 MB / 1.136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1111/24.23, allocations: 36.73 MB / 7.722 GB, free: 40.06 MB / 1.136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00131/24.23, allocations: 319.2 kB / 7.723 GB, free: 40.06 MB / 1.136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01034/24.24, allocations: 0.6175 MB / 7.723 GB, free: 40.05 MB / 1.136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04173/24.28, allocations: 12.43 MB / 7.736 GB, free: 40.01 MB / 1.136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05821/24.34, allocations: 13.58 MB / 7.749 GB, free: 38.85 MB / 1.136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00134/24.34, allocations: 45.56 kB / 7.749 GB, free: 38.84 MB / 1.136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006336/24.35, allocations: 13.34 kB / 7.749 GB, free: 38.84 MB / 1.136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005436/24.35, allocations: 411.3 kB / 7.749 GB, free: 38.82 MB / 1.136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.156/24.51, allocations: 78.59 MB / 7.826 GB, free: 9.961 MB / 1.136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/24.52, allocations: 5.28 MB / 7.831 GB, free: 9.918 MB / 1.136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01127/24.53, allocations: 4.799 MB / 7.836 GB, free: 9.855 MB / 1.136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05869/24.59, allocations: 22.89 MB / 7.858 GB, free: 16.68 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003164/24.59, allocations: 113.7 kB / 7.858 GB, free: 16.59 MB / 1.151 GB Notification: Performance of pre-optimization done (n=550): time 1.874e-05/24.59, allocations: 0 / 7.858 GB, free: 16.59 MB / 1.151 GB Notification: Performance of matching and sorting (n=635): time 0.1102/24.7, allocations: 25.69 MB / 7.883 GB, free: 5.277 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001587/24.7, allocations: 117.4 kB / 7.883 GB, free: 5.207 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05481/24.76, allocations: 14.13 MB / 7.897 GB, free: 15.89 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.002813/24.76, allocations: 36.03 kB / 7.897 GB, free: 15.86 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.01653/24.77, allocations: 4.054 MB / 7.901 GB, free: 13.21 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.01687/24.79, allocations: 2.165 MB / 7.903 GB, free: 11.49 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002241/24.79, allocations: 0 / 7.903 GB, free: 11.49 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.001141/24.79, allocations: 0.6055 MB / 7.904 GB, free: 11.05 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00978/24.8, allocations: 4.251 MB / 7.908 GB, free: 9.129 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0127/24.82, allocations: 6.198 MB / 7.914 GB, free: 4.902 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.05343/24.87, allocations: 12.29 MB / 7.926 GB, free: 1.008 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.359e-05/24.87, allocations: 12.06 kB / 7.926 GB, free: 1.008 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