Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Liquid.Tube.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.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Liquid.Tube,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Liquid_Tube",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.09881/0.0988, allocations: 21.61 MB / 36.56 MB, free: 1.102 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.001013/0.001013, allocations: 183.1 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.401/1.401, allocations: 223.2 MB / 272.1 MB, free: 1.348 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.0009022/0.0009021, allocations: 98.91 kB / 328.7 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 397.1 MB, free: 46.35 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/0.1118, allocations: 55.82 MB / 452.9 MB, free: 6.508 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3639/0.4758, allocations: 81.84 MB / 0.5222 GB, free: 13.32 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001887/0.476, allocations: 73.09 kB / 0.5223 GB, free: 13.32 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 fluidStream.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$fluidStream. 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.02194/0.4979, allocations: 8.295 MB / 0.5304 GB, free: 10.86 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.498, allocations: 0 / 0.5304 GB, free: 10.86 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.524e-05/0.498, allocations: 11.59 kB / 0.5304 GB, free: 10.86 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: 106 * Number of variables: 106 Notification: Performance of Generate backend data structure: time 0.001503/0.4995, allocations: 0.8698 MB / 0.5313 GB, free: 10.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/0.4996, allocations: 11.53 kB / 0.5313 GB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.415e-05/0.4997, allocations: 81.09 kB / 0.5314 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001595/0.4999, allocations: 65.7 kB / 0.5314 GB, free: 10.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007272/0.5006, allocations: 444.7 kB / 0.5319 GB, free: 9.867 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.5007, allocations: 34.94 kB / 0.5319 GB, free: 9.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001141/0.5008, allocations: 53.22 kB / 0.5319 GB, free: 9.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008875/0.5017, allocations: 0.6628 MB / 0.5326 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.289e-05/0.5017, allocations: 0 / 0.5326 GB, free: 9.633 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.688e-05/0.5018, allocations: 23.3 kB / 0.5326 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.5018, allocations: 7.719 kB / 0.5326 GB, free: 9.629 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.5025, allocations: 0.4978 MB / 0.5331 GB, free: 9.555 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_a.w = 0.0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001243/0.5038, allocations: 1.734 MB / 0.5348 GB, free: 8.117 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00331/0.5071, allocations: 2.604 MB / 0.5373 GB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.469e-05/0.5072, allocations: 16.47 kB / 0.5374 GB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/0.5072, allocations: 49.39 kB / 0.5374 GB, free: 6.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=106): time 2.234e-06/0.5072, allocations: 0 / 0.5374 GB, free: 6.375 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!