Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.ExpansionVessel_isoT.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.Liquid.ExpansionVessel_isoT,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_ExpansionVessel_isoT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.ExpansionVessel_isoT,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_ExpansionVessel_isoT",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.1063/0.1063, allocations: 21.61 MB / 36.56 MB, free: 1.074 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.001173/0.001172, allocations: 189.5 kB / 42.83 MB, free: 3.781 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.439/1.439, allocations: 223.2 MB / 272.1 MB, free: 1.328 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.0009382/0.0009382, allocations: 101.2 kB / 328.7 MB, free: 11.69 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003839/0.0003838, allocations: 8 kB / 397.1 MB, free: 46.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1131, allocations: 55.83 MB / 453 MB, free: 6.504 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4881, allocations: 78.75 MB / 0.5192 GB, free: 13.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002536/0.4884, allocations: 75.25 kB / 0.5193 GB, free: 13.18 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Liquid/ExpansionVessel_isoT.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.Liquid.ExpansionVessel_isoT. 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.003171/0.4916, allocations: 1.125 MB / 0.5204 GB, free: 12.83 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4916, allocations: 0 / 0.5204 GB, free: 12.83 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.4916, allocations: 0 / 0.5204 GB, free: 12.83 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003358/0.4919, allocations: 370.4 kB / 0.5208 GB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.492, allocations: 11.03 kB / 0.5208 GB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.672e-05/0.492, allocations: 30.56 kB / 0.5208 GB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.27e-05/0.4921, allocations: 10.72 kB / 0.5208 GB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001124/0.4922, allocations: 166.7 kB / 0.521 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.62e-05/0.4922, allocations: 7.281 kB / 0.521 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.4923, allocations: 0 / 0.521 GB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.4924, allocations: 76.75 kB / 0.5211 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.4924, allocations: 0 / 0.5211 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.185e-05/0.4925, allocations: 8.422 kB / 0.5211 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4925, allocations: 0 / 0.5211 GB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.265e-05/0.4925, allocations: 17.09 kB / 0.5211 GB, free: 12.16 MB / 362.7 MB Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006256/0.4932, allocations: 307.4 kB / 0.5214 GB, free: 11.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.4933, allocations: 81.2 kB / 0.5215 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.4934, allocations: 3.984 kB / 0.5215 GB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.607e-05/0.4934, allocations: 37.8 kB / 0.5215 GB, free: 11.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.213e-06/0.4934, allocations: 3.938 kB / 0.5215 GB, free: 11.77 MB / 362.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! Found empty set of continuous equations. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!