Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AES_AES.ProcessComponents.Thermal.Air.damper_linear.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.Air.damper_linear,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_damper_linear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AES.ProcessComponents.Thermal.Air.damper_linear,fileNamePrefix="AES_AES_ProcessComponents_Thermal_Air_damper_linear",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.105/0.105, allocations: 21.62 MB / 36.57 MB, free: 1.078 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.001379/0.001379, allocations: 187 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.567/1.567, allocations: 223.2 MB / 272.1 MB, free: 1.789 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.00102/0.00102, allocations: 111.7 kB / 328.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003747/0.0003748, allocations: 8 kB / 397.1 MB, free: 46.44 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09582/0.09622, allocations: 55.83 MB / 453 MB, free: 6.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4299/0.5262, allocations: 79.52 MB / 0.52 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002202/0.5264, allocations: 78.88 kB / 0.5201 GB, free: 13.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002927/0.5294, allocations: 1.257 MB / 0.5213 GB, free: 12.67 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.5294, allocations: 0 / 0.5213 GB, free: 12.67 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.5294, allocations: 0 / 0.5213 GB, free: 12.67 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0002759/0.5297, allocations: 364 kB / 0.5216 GB, free: 12.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.5297, allocations: 7.688 kB / 0.5216 GB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.113e-05/0.5298, allocations: 37.94 kB / 0.5217 GB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.515e-05/0.5298, allocations: 11.59 kB / 0.5217 GB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.538e-05/0.5299, allocations: 173.5 kB / 0.5219 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.5299, allocations: 3.812 kB / 0.5219 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.563e-05/0.5299, allocations: 7.344 kB / 0.5219 GB, free: 12.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.5301, allocations: 91.08 kB / 0.522 GB, free: 12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.5301, allocations: 3.984 kB / 0.522 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/0.5301, allocations: 3.953 kB / 0.522 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.5301, allocations: 3.969 kB / 0.522 GB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.248e-05/0.5302, allocations: 34.09 kB / 0.522 GB, free: 11.98 MB / 362.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/ProcessComponents/Thermal/Interfaces/MAport_waxa.mo:3:1-18:16:writable] Error: Found equation without time-dependent variables: air_flange2.wa = 0.0 Error: Internal error Circular Equalities Detected for Variables: ---------------------------------- Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.5305, allocations: 210.7 kB / 0.5222 GB, free: 11.77 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.5307, allocations: 162.4 kB / 0.5224 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.5308, allocations: 3.562 kB / 0.5224 GB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.495e-05/0.5308, allocations: 34.41 kB / 0.5224 GB, free: 11.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=16): time 1.202e-06/0.5308, allocations: 0 / 0.5224 GB, free: 11.65 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!