Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008791/0.000879, allocations: 85.94 kB / 15.06 MB, free: 1.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.001101, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001784/0.001784, allocations: 266.8 kB / 291.3 MB, free: 1.973 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7908/0.7908, allocations: 144.7 MB / 487.2 MB, free: 7.156 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004363, allocations: 16.72 kB / 0.5686 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 83.09 MB / 0.6497 GB, free: 3.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.5514/0.6964, allocations: 237.7 MB / 0.8818 GB, free: 8.531 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02249/0.719, allocations: 15.91 MB / 0.8973 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003957/0.723, allocations: 80.62 kB / 0.8974 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002956/0.7259, allocations: 0.9133 MB / 0.8983 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008349/0.7343, allocations: 2.934 MB / 0.9012 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005184/0.7395, allocations: 1.862 MB / 0.903 GB, free: 10.25 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008648/0.7481, allocations: 6.671 MB / 0.9095 GB, free: 5.203 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002567/0.7507, allocations: 1.552 MB / 0.911 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005092/0.7558, allocations: 2.19 MB / 0.9132 GB, free: 1.434 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002784/0.7586, allocations: 1.692 MB / 0.9148 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002568/0.7589, allocations: 92 kB / 0.9149 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00641/0.7653, allocations: 2.378 MB / 0.9172 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008853/0.7662, allocations: 0.7124 MB / 0.9179 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0008037/0.767, allocations: 0.5083 MB / 0.9184 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004849/0.7719, allocations: 3.484 MB / 0.9218 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.616e-06/0.7719, allocations: 0 / 0.9218 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.036e-06/0.7719, allocations: 4 kB / 0.9218 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.009e-05/0.772, allocations: 0 / 0.9218 GB, free: 8.535 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.005839/0.7778, allocations: 2.698 MB / 0.9244 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.7779, allocations: 12.03 kB / 0.9245 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003133/0.7782, allocations: 219.5 kB / 0.9247 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.7833, allocations: 0.9041 MB / 0.9255 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003448/0.7868, allocations: 1.772 MB / 0.9273 GB, free: 2.797 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003435/0.7871, allocations: 186.9 kB / 0.9275 GB, free: 2.613 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002421/0.7874, allocations: 167.9 kB / 0.9276 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003434/0.7908, allocations: 1.891 MB / 0.9295 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.7909, allocations: 0 / 0.9295 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.791, allocations: 63.94 kB / 0.9295 GB, free: 448 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.014e-05/0.7911, allocations: 54.89 kB / 0.9296 GB, free: 392 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003404/0.7945, allocations: 1.694 MB / 0.9312 GB, free: 14.68 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01089/0.8054, allocations: 8.432 MB / 0.9395 GB, free: 5.621 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002912/0.8083, allocations: 1.918 MB / 0.9413 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001389/0.8097, allocations: 0.7176 MB / 0.942 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004842/0.8102, allocations: 240.1 kB / 0.9423 GB, free: 2.566 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/0.8117, allocations: 0.7438 MB / 0.943 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006754/0.8124, allocations: 119.1 kB / 0.9431 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=102): time 3.246e-06/0.8124, allocations: 0 / 0.9431 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of matching and sorting (n=105): time 0.008714/0.8211, allocations: 3.907 MB / 0.9469 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.945e-05/0.8212, allocations: 80.38 kB / 0.947 GB, free: 13.61 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00212/0.8233, allocations: 1.576 MB / 0.9485 GB, free: 11.99 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/0.8234, allocations: 49.7 kB / 0.9486 GB, free: 11.94 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008364/0.8243, allocations: 0.9561 MB / 0.9495 GB, free: 10.97 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.8246, allocations: 370.6 kB / 0.9499 GB, free: 10.6 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.8247, allocations: 24 kB / 0.9499 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.8249, allocations: 353.9 kB / 0.9502 GB, free: 10.23 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/0.8262, allocations: 0.5882 MB / 0.9508 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.8277, allocations: 0.9272 MB / 0.9517 GB, free: 8.57 MB / 0.6387 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01258/0.8403, allocations: 3.428 MB / 0.9551 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.8403, allocations: 8 kB / 0.9551 GB, free: 5.105 MB / 0.6387 GB 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: No system for the symbolic initialization was generated