Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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: translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008273/0.0008273, allocations: 99.44 kB / 15.71 MB, free: 452 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 177.1 kB / 16.58 MB, free: 6.422 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.519/1.519, allocations: 223.3 MB / 240.6 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.002002/0.002002, allocations: 261.9 kB / 292 MB, free: 1.98 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.9631/0.9631, allocations: 144.7 MB / 487.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005156/0.0005156, allocations: 12.75 kB / 0.5691 GB, free: 38.31 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2571, allocations: 83.09 MB / 0.6502 GB, free: 3.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.7666/1.024, allocations: 252.3 MB / 0.8966 GB, free: 0.7969 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.09634/1.12, allocations: 56.18 MB / 0.9515 GB, free: 11.22 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01935/1.14, allocations: 294.2 kB / 0.9518 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.01309/1.153, allocations: 2.632 MB / 0.9543 GB, free: 8.285 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:184:10-184:30:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:185:10-185:22:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:191:10-191:30:writable] Warning: 'each' used when modifying non-array element vol_top. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:192:10-192:22:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFTyping.typeBindings: time 0.0329/1.186, allocations: 8.312 MB / 0.9624 GB, free: 15.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01802/1.204, allocations: 4.654 MB / 0.967 GB, free: 11.32 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:186:10-186:27:writable] Warning: 'each' used when modifying non-array element vol_bot. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Technologies/ThermalStorages/FluidStorage.mo:193:10-193:27:writable] Warning: 'each' used when modifying non-array element vol_top. Notification: Performance of NFFlatten.flatten: time 0.06564/1.269, allocations: 49.03 MB / 1.015 GB, free: 10.16 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02998/1.299, allocations: 12.76 MB / 1.027 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05161/1.351, allocations: 15.74 MB / 1.043 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02961/1.381, allocations: 11.32 MB / 1.054 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.007385/1.388, allocations: 0.6016 MB / 1.054 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.7271/2.115, allocations: 5.614 MB / 1.06 GB, free: 36.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.01129/2.127, allocations: 2.955 MB / 1.063 GB, free: 36.68 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.01554/2.142, allocations: 3.231 MB / 1.066 GB, free: 36.65 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.03743/2.18, allocations: 20.61 MB / 1.086 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 1.011e-05/2.18, allocations: 0 / 1.086 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.947e-06/2.18, allocations: 0 / 1.086 GB, free: 35.93 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.001275/2.181, allocations: 0 / 1.086 GB, free: 35.93 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.04986/2.231, allocations: 14.24 MB / 1.1 GB, free: 30.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/2.231, allocations: 9.281 kB / 1.1 GB, free: 30.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02014/2.251, allocations: 3.08 MB / 1.103 GB, free: 29.21 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04555/2.297, allocations: 16.42 MB / 1.119 GB, free: 27.3 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001232/2.298, allocations: 0.8661 MB / 1.12 GB, free: 27.18 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005936/2.304, allocations: 1.05 MB / 1.121 GB, free: 27.17 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05153/2.356, allocations: 15.09 MB / 1.136 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001214/2.357, allocations: 39.97 kB / 1.136 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00742/2.364, allocations: 448.1 kB / 1.136 GB, free: 25.62 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005792/2.365, allocations: 436.5 kB / 1.136 GB, free: 25.59 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03835/2.403, allocations: 12.79 MB / 1.149 GB, free: 24.14 MB / 0.7325 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.1247/2.528, allocations: 65.86 MB / 1.213 GB, free: 13.47 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0238/2.552, allocations: 9.776 MB / 1.223 GB, free: 7.402 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01275/2.565, allocations: 5.253 MB / 1.228 GB, free: 3.902 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06977/2.634, allocations: 19.6 MB / 1.247 GB, free: 5.449 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01801/2.653, allocations: 4.277 MB / 1.251 GB, free: 2.379 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0167/2.669, allocations: 0.9154 MB / 1.252 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=614): time 6.837e-05/2.669, allocations: 0 / 1.252 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of matching and sorting (n=643): time 0.09639/2.766, allocations: 24.33 MB / 1.276 GB, free: 15.57 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000231/2.766, allocations: 197.5 kB / 1.276 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03484/2.801, allocations: 10.09 MB / 1.286 GB, free: 8.012 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.002544/2.804, allocations: 154 kB / 1.286 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.01185/2.816, allocations: 6.429 MB / 1.292 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.005745/2.821, allocations: 2.232 MB / 1.295 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002341/2.824, allocations: 152 kB / 1.295 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.001312/2.825, allocations: 0.6166 MB / 1.295 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01093/2.836, allocations: 3.676 MB / 1.299 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01429/2.85, allocations: 5.952 MB / 1.305 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/2.864, allocations: 4.947 MB / 1.31 GB, free: 1.492 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001397/2.864, allocations: 16 kB / 1.31 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of matching and sorting (n=993) (initialization): time 0.04153/2.906, allocations: 11.81 MB / 1.321 GB, free: 5.969 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.002492/2.908, allocations: 2.01 MB / 1.323 GB, free: 3.098 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002454/2.909, allocations: 68 kB / 1.323 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002836/2.912, allocations: 0.9783 MB / 1.324 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01084/2.922, allocations: 2 MB / 1.326 GB, free: 136 kB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/2.946, allocations: 20.9 MB / 1.346 GB, free: 9.906 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01869/2.965, allocations: 1 MB / 1.347 GB, free: 8.902 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003333/2.968, allocations: 371.2 kB / 1.348 GB, free: 8.543 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/2.968, allocations: 4 kB / 1.348 GB, free: 8.539 MB / 0.8731 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03569/3.004, allocations: 10.78 MB / 1.358 GB, free: 14.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003289/3.004, allocations: 61 kB / 1.358 GB, free: 14.04 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00256/3.007, allocations: 0.9848 MB / 1.359 GB, free: 13.03 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0111/3.018, allocations: 1.983 MB / 1.361 GB, free: 11.16 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5933/3.611, allocations: 20.91 MB / 1.382 GB, free: 367.6 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01619/3.628, allocations: 0.9729 MB / 1.383 GB, free: 367.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002724/3.63, allocations: 363.7 kB / 1.383 GB, free: 367.6 MB / 0.8887 GB Warning: Assuming fixed start value for the following 30 variables: pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump2.vol.dynBal.Medium.setState_pTX(pump2.vol.dynBal.p_start, pump2.vol.dynBal.T_start, {})) + (pump2.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[2].dynBal.p_start, pipe4.vol[2].dynBal.T_start, {})) + (pipe4.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe4.vol.dynBal.Medium.setState_pTX(pipe4.vol[1].dynBal.p_start, pipe4.vol[1].dynBal.T_start, {})) + (pipe4.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[2].dynBal.p_start, pipe3.vol[2].dynBal.T_start, {})) + (pipe3.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe3.vol.dynBal.Medium.setState_pTX(pipe3.vol[1].dynBal.p_start, pipe3.vol[1].dynBal.T_start, {})) + (pipe3.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] storage.vol_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol_top.dynBal.Medium.setState_pTX(storage.vol_top.dynBal.p_start, storage.vol_top.dynBal.T_start, {})) + (storage.vol_top.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol_bot.dynBal.Medium.setState_pTX(storage.vol_bot.dynBal.p_start, storage.vol_bot.dynBal.T_start, {})) + (storage.vol_bot.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real storage.vol[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[8].dynBal.p_start, storage.vol[8].dynBal.T_start, {})) + (storage.vol[8].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[7].dynBal.U:VARIABLE(start = storage.vol[7].dynBal.fluidVolume * storage.vol[7].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[7].dynBal.p_start, storage.vol[7].dynBal.T_start, {})) + (storage.vol[7].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[6].dynBal.U:VARIABLE(start = storage.vol[6].dynBal.fluidVolume * storage.vol[6].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[6].dynBal.p_start, storage.vol[6].dynBal.T_start, {})) + (storage.vol[6].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[5].dynBal.U:VARIABLE(start = storage.vol[5].dynBal.fluidVolume * storage.vol[5].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[5].dynBal.p_start, storage.vol[5].dynBal.T_start, {})) + (storage.vol[5].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[4].dynBal.p_start, storage.vol[4].dynBal.T_start, {})) + (storage.vol[4].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[3].dynBal.p_start, storage.vol[3].dynBal.T_start, {})) + (storage.vol[3].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[2].dynBal.p_start, storage.vol[2].dynBal.T_start, {})) + (storage.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.storage.vol.dynBal.Medium.setState_pTX(storage.vol[1].dynBal.p_start, storage.vol[1].dynBal.T_start, {})) + (storage.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [8] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[2].dynBal.p_start, pipe2.vol[2].dynBal.T_start, {})) + (pipe2.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe2.vol.dynBal.Medium.setState_pTX(pipe2.vol[1].dynBal.p_start, pipe2.vol[1].dynBal.T_start, {})) + (pipe2.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[2].dynBal.p_start, pipe1.vol[2].dynBal.T_start, {})) + (pipe1.vol[2].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974483 * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pipe1.vol.dynBal.Medium.setState_pTX(pipe1.vol[1].dynBal.p_start, pipe1.vol[1].dynBal.T_start, {})) + (pipe1.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [2] collector.cp_solid[10].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[9].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[8].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[7].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[6].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[5].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[4].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[3].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[2].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = 293.15 unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] collector.cp_solid[1].T:VARIABLE(min = max(0.0, max(1.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))) max = 10000.0 start = collector.vol[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of element" type: Real [10] pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.pump1.vol.dynBal.Medium.setState_pTX(pump1.vol.dynBal.p_start, pump1.vol.dynBal.T_start, {})) + (pump1.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 286 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.weatherData.weatherData.conTim.tNext,weatherData.weatherData.conTim.tNext,$PRE.control.y,control.y,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (929): * Single equations (assignments): 916 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01945/3.65, allocations: 5.317 MB / 1.388 GB, free: 367.3 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006419/3.656, allocations: 1.09 MB / 1.389 GB, free: 367.3 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03057/3.687, allocations: 10.62 MB / 1.4 GB, free: 366.8 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.536e-05/3.687, allocations: 67.69 kB / 1.4 GB, free: 366.8 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.419e-05/3.687, allocations: 10.38 kB / 1.4 GB, free: 366.8 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01669/3.704, allocations: 8.25 MB / 1.408 GB, free: 366.1 MB / 0.8887 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 postOpt removeSimpleEquations (simulation): time 0.06548/3.769, allocations: 22.15 MB / 1.429 GB, free: 357.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.263e-05/3.769, allocations: 0 / 1.429 GB, free: 357.9 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007363/3.777, allocations: 1.456 MB / 1.431 GB, free: 357.8 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002229/3.779, allocations: 0.8925 MB / 1.432 GB, free: 357.5 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001692/3.781, allocations: 184.1 kB / 1.432 GB, free: 357.4 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01458/3.795, allocations: 20.76 MB / 1.452 GB, free: 339.9 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/3.795, allocations: 0 / 1.452 GB, free: 339.9 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03446/3.83, allocations: 15.06 MB / 1.467 GB, free: 334.6 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0108/3.841, allocations: 2.271 MB / 1.469 GB, free: 333.9 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006368/3.847, allocations: 139 kB / 1.469 GB, free: 333.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0137/3.861, allocations: 0.9161 MB / 1.47 GB, free: 333.7 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002349/3.863, allocations: 420.4 kB / 1.47 GB, free: 333.6 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002201/3.865, allocations: 283.5 kB / 1.471 GB, free: 333.6 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.02009/3.886, allocations: 6.896 MB / 1.477 GB, free: 329.8 MB / 0.8887 GB Notification: Performance of sort global known variables: time 7.82e-07/3.886, allocations: 0 / 1.477 GB, free: 329.8 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.03786/3.923, allocations: 5.842 MB / 1.483 GB, free: 324.1 MB / 0.8887 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 36 (pump1.vol.dynBal.U,pump1.filter.s[1],pump1.filter.s[2],collector.cp_solid[1].T,collector.cp_solid[2].T,collector.cp_solid[3].T,collector.cp_solid[4].T,collector.cp_solid[5].T,collector.cp_solid[6].T,collector.cp_solid[7].T,collector.cp_solid[8].T,collector.cp_solid[9].T,collector.cp_solid[10].T,pipe1.vol[1].dynBal.U,pipe1.vol[2].dynBal.U,pipe2.vol[1].dynBal.U,pipe2.vol[2].dynBal.U,exp.m,exp.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol[4].dynBal.U,storage.vol[5].dynBal.U,storage.vol[6].dynBal.U,storage.vol[7].dynBal.U,storage.vol[8].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pipe3.vol[1].dynBal.U,pipe3.vol[2].dynBal.U,pipe4.vol[1].dynBal.U,pipe4.vol[2].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,weatherData.weatherData.conTim.tNext,control.y) * Number of discrete states: 2 (control.y,weatherData.weatherData.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (616): * Single equations (assignments): 598 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 11 {(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 22} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00919/3.933, allocations: 1.721 MB / 1.485 GB, free: 323.1 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.04117/3.974, allocations: 17.64 MB / 1.502 GB, free: 307.3 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.512e-05/3.974, allocations: 10.66 kB / 1.502 GB, free: 307.3 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.01368/3.988, allocations: 5.924 MB / 1.508 GB, free: 301.2 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04078/4.029, allocations: 5.896 MB / 1.514 GB, free: 295.7 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07381/4.102, allocations: 32.74 MB / 1.546 GB, free: 263.1 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01484/4.117, allocations: 8.165 MB / 1.554 GB, free: 254.9 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00464/4.122, allocations: 0.9677 MB / 1.554 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of SimCode: time 1.082e-06/4.122, allocations: 0 / 1.554 GB, free: 253.9 MB / 0.8887 GB Notification: Performance of Templates: time 2.987/7.109, allocations: 1.022 GB / 2.576 GB, free: 333.3 MB / 0.8887 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.makefile make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.makefile clang++ NOTFOUND -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2CalcHelperMain.o] Error 1