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.001448/0.001448, allocations: 103.1 kB / 15.06 MB, free: 1.098 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.001919/0.001919, allocations: 173.3 kB / 15.95 MB, free: 212 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.92/1.92, allocations: 223.2 MB / 239.9 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003322/0.003322, allocations: 270.7 kB / 291.2 MB, free: 1.93 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 1.345/1.345, allocations: 144.6 MB / 487 MB, free: 7.199 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007112/0.0007114, allocations: 14.25 kB / 0.5684 GB, free: 38.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3017/0.3025, allocations: 83.09 MB / 0.6495 GB, free: 3.523 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Examples.AirHeater_u): time 1.063/1.366, allocations: 212.9 MB / 0.8574 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0388/1.405, allocations: 16.07 MB / 0.8731 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006941/1.412, allocations: 76.59 kB / 0.8732 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.007212/1.419, allocations: 1.213 MB / 0.8744 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.02351/1.443, allocations: 3.797 MB / 0.8781 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.455, allocations: 2.232 MB / 0.8802 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01637/1.472, allocations: 3.404 MB / 0.8836 GB, free: 7.785 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005893/1.478, allocations: 1.575 MB / 0.8851 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008866/1.487, allocations: 1.982 MB / 0.887 GB, free: 5.926 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00406/1.491, allocations: 1.161 MB / 0.8882 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007417/1.492, allocations: 92.69 kB / 0.8883 GB, free: 5.484 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009907/1.502, allocations: 2.035 MB / 0.8903 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.002007/1.504, allocations: 0.6565 MB / 0.8909 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002136/1.506, allocations: 0.5123 MB / 0.8914 GB, free: 3.895 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009122/1.515, allocations: 3.271 MB / 0.8946 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/1.515, allocations: 0 / 0.8946 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.737e-06/1.515, allocations: 0 / 0.8946 GB, free: 0.6211 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001289/1.515, allocations: 0 / 0.8946 GB, free: 0.6211 MB / 0.5762 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.009484/1.525, allocations: 2.632 MB / 0.8972 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.365e-05/1.525, allocations: 12.03 kB / 0.8972 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007863/1.526, allocations: 222 kB / 0.8974 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00931/1.535, allocations: 0.9062 MB / 0.8983 GB, free: 12.78 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007742/1.543, allocations: 1.81 MB / 0.9 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006627/1.543, allocations: 182.9 kB / 0.9002 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008513/1.544, allocations: 167.9 kB / 0.9004 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006036/1.55, allocations: 1.861 MB / 0.9022 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.591e-05/1.55, allocations: 0 / 0.9022 GB, free: 8.699 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002634/1.551, allocations: 60 kB / 0.9022 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001196/1.551, allocations: 65.41 kB / 0.9023 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00616/1.557, allocations: 1.67 MB / 0.9039 GB, free: 6.91 MB / 0.5919 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.02119/1.578, allocations: 8.435 MB / 0.9122 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004827/1.583, allocations: 1.905 MB / 0.914 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006054/1.584, allocations: 154 kB / 0.9142 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002385/1.586, allocations: 0.7182 MB / 0.9149 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001813/1.588, allocations: 131.1 kB / 0.915 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=102): time 5.831e-06/1.588, allocations: 3.938 kB / 0.915 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of matching and sorting (n=105): time 0.01598/1.604, allocations: 3.889 MB / 0.9188 GB, free: 6.883 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.757e-05/1.604, allocations: 68.41 kB / 0.9189 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003766/1.608, allocations: 1.572 MB / 0.9204 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0003732/1.608, allocations: 49.7 kB / 0.9205 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001388/1.61, allocations: 0.96 MB / 0.9214 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.00066/1.61, allocations: 366.7 kB / 0.9217 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/1.611, allocations: 30.53 kB / 0.9218 GB, free: 3.77 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002162/1.611, allocations: 353.9 kB / 0.9221 GB, free: 3.418 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002138/1.613, allocations: 0.5804 MB / 0.9227 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002613/1.616, allocations: 0.9166 MB / 0.9236 GB, free: 1.789 MB / 0.6075 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.01992/1.636, allocations: 3.431 MB / 0.9269 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/1.636, allocations: 0 / 0.9269 GB, free: 14.33 MB / 0.6231 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