Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/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) 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 AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Running command: "" <> buildModelFMU(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,fileNamePrefix="AES_AES_ProcessComponents_Thermal_HVAC_ControlledLiquidHeater_ideal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal,fileNamePrefix="AES_AES_ProcessComponents_Thermal_HVAC_ControlledLiquidHeater_ideal",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_SS_case_001.mo:3:1-67:19:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HC_case_001.mo:3:1-55:16:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_002.mo:3:1-91:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/Coursework/ThermSys_case_studies/Heat_network/HNcontrol_HC_SS_case_001.mo:3:1-85:29:writable] Warning: Expected the package to have within AES.Coursework.ThermSys_case_studies.Heat_network; but got within AES.Coursework.ThermSys_case_studies.heat_network; (ignoring the potential error; the class might have been inserted at an unexpected location). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo): time 0.1415/0.1415, allocations: 21.61 MB / 36.56 MB, free: 1.09 MB / 24.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001038/0.001038, allocations: 182.4 kB / 42.83 MB, free: 3.785 MB / 33.03 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 223.2 MB / 272.1 MB, free: 1.297 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008941/0.000894, allocations: 98.56 kB / 328.7 MB, free: 11.66 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.000347, allocations: 8 kB / 397.1 MB, free: 46.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1038/0.1042, allocations: 55.82 MB / 452.9 MB, free: 6.492 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3266/0.4308, allocations: 79.32 MB / 0.5198 GB, free: 13.15 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001971/0.4311, allocations: 67.98 kB / 0.5199 GB, free: 13.15 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/flowTwoPorts_pwh.mo:4:3-4:45:writable] Warning: No corresponding 'inner' declaration found for component .AES.ProcessComponents.Thermal.System_settings.System_liquid system declared as 'outer '. The existing 'inner' components are: There are no 'inner' components defined in the model in any of the parent scopes of 'outer' component's scope: AES.ProcessComponents.Thermal.HVAC.ControlledLiquidHeater_ideal. Check if you have not misspelled the 'outer' component name. Please declare an 'inner' component with the same name in the top scope. Continuing flattening by only considering the 'outer' component declaration. Notification: Performance of FrontEnd - DAE generated: time 0.002802/0.4339, allocations: 1.31 MB / 0.5211 GB, free: 12.78 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4339, allocations: 4 kB / 0.5211 GB, free: 12.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.4339, allocations: 3.812 kB / 0.5211 GB, free: 12.77 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.000312/0.4342, allocations: 383.5 kB / 0.5215 GB, free: 12.39 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.4343, allocations: 11.22 kB / 0.5215 GB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.017e-05/0.4343, allocations: 50.23 kB / 0.5216 GB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.122e-05/0.4344, allocations: 7.719 kB / 0.5216 GB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.4345, allocations: 177.9 kB / 0.5217 GB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.796e-05/0.4345, allocations: 35.84 kB / 0.5218 GB, free: 12.11 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.573e-05/0.4346, allocations: 14.31 kB / 0.5218 GB, free: 12.11 MB / 362.7 MB Error: An independent subset of the model has imbalanced number of equations (20) and variables (19). variables: $outputAlias_oTo oTo $outputAlias_oTi oTi $outputAlias_Ec Ec $outputAlias_Pc Pc Tfo Tfi hbo hao hbi hai w pwh_b.h pwh_b.w pwh_a.h pwh_a.w equations: 1 : hao = cp * Tfo 2 : hbo = cp * Tfo 3 : cp * Tfi = hai 4 : 0.0 = if ON then Tfo + Tcl * der(Tfo) - To else Tfo + Thc * der(Tfo) - Tfi 5 : $outputAlias_Pc = max(cp * w * (Tfo - Tfi), 0.0) 6 : $outputAlias_Pc = der($outputAlias_Ec) 7 : $outputAlias_oTi = Tfi 8 : $outputAlias_oTo = Tfo 9 : 0.0 = pwh_a.w + pwh_b.w 10 : w = pwh_a.w 11 : hai = pwh_a.h 12 : hao = pwh_a.h 13 : hbi = pwh_b.h 14 : hbo = pwh_b.h 15 : pwh_a.w = 0.0 16 : pwh_b.w = 0.0 17 : Pc = $outputAlias_Pc 18 : Ec = $outputAlias_Ec 19 : oTi = $outputAlias_oTi 20 : oTo = $outputAlias_oTo Notification: Performance of preOpt clockPartitioning (simulation) : time 0.000234/0.4348, allocations: 97.8 kB / 0.5219 GB, free: 12.09 MB / 362.7 MB Error: pre-optimization module clockPartitioning (simulation) failed.