Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.TubeStream.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.TubeStream,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeStream",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.TubeStream,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_TubeStream",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.1035/0.1035, allocations: 21.62 MB / 36.57 MB, free: 1.066 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.00111/0.00111, allocations: 179.4 kB / 42.83 MB, free: 3.789 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.398/1.398, allocations: 223.2 MB / 272.1 MB, free: 1.391 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.0009173/0.0009173, allocations: 103 kB / 328.7 MB, free: 11.74 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004792/0.0004794, allocations: 11.98 kB / 397.1 MB, free: 46.39 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.11, allocations: 55.81 MB / 452.9 MB, free: 6.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3591/0.4692, allocations: 80.48 MB / 0.5209 GB, free: 12.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002209/0.4695, allocations: 74.84 kB / 0.521 GB, free: 12.96 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.Liquid.TubeStream. 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.009338/0.4788, allocations: 3.449 MB / 0.5244 GB, free: 12.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.163e-06/0.4788, allocations: 3.938 kB / 0.5244 GB, free: 12.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.239e-05/0.4789, allocations: 7.344 kB / 0.5244 GB, free: 12.45 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: 35 * Number of variables: 35 Notification: Performance of Generate backend data structure: time 0.0007533/0.4796, allocations: 0.5013 MB / 0.5249 GB, free: 12.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.832e-05/0.4797, allocations: 7.719 kB / 0.5249 GB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.29e-05/0.4797, allocations: 52.22 kB / 0.5249 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.072e-05/0.4798, allocations: 19.41 kB / 0.5249 GB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002931/0.4801, allocations: 228.6 kB / 0.5252 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.4801, allocations: 15 kB / 0.5252 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.109e-05/0.4802, allocations: 21.25 kB / 0.5252 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002957/0.4805, allocations: 184 kB / 0.5254 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4805, allocations: 4.469 kB / 0.5254 GB, free: 11.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.4805, allocations: 7.078 kB / 0.5254 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.4805, allocations: 3.688 kB / 0.5254 GB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000243/0.4808, allocations: 164.5 kB / 0.5255 GB, free: 11.73 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/pwhPort.mo:3:1-9:12:writable] Error: Found equation without time-dependent variables: pwh_b.w = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004332/0.4812, allocations: 336.3 kB / 0.5259 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.4815, allocations: 209.5 kB / 0.5261 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.094e-05/0.4816, allocations: 7.281 kB / 0.5261 GB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.092e-05/0.4816, allocations: 33.25 kB / 0.5261 GB, free: 11.46 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.665e-06/0.4816, allocations: 3.938 kB / 0.5261 GB, free: 11.45 MB / 362.7 MB Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed!