Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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.AirConditioningSystems.PhotovoltaicCoolingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem") translateModel(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001174/0.001175, allocations: 98.88 kB / 16.02 MB, free: 76 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.002093/0.002093, allocations: 185.3 kB / 16.92 MB, free: 6.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.733/2.733, allocations: 223.2 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002742/0.002743, allocations: 275.2 kB / 292.3 MB, free: 1.883 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.891/1.891, allocations: 169.5 MB / 0.501 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0008455/0.0008457, allocations: 16.97 kB / 0.5993 GB, free: 28.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4563/0.4572, allocations: 88.54 MB / 0.6858 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem): time 3.591/4.048, allocations: 0.5257 GB / 1.211 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.2965/4.344, allocations: 87.31 MB / 1.297 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07592/4.42, allocations: 0.5281 MB / 1.297 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.07095/4.492, allocations: 11.27 MB / 1.308 GB, free: 11.98 MB / 0.8262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/AirvolumeMixed.mo:70:5-70:12:writable] Warning: Conditional component ‘air‘ is used in a non-connect context. Notification: Performance of NFTyping.typeBindings: time 0.13/4.622, allocations: 15.41 MB / 1.323 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.06085/4.682, allocations: 9.68 MB / 1.333 GB, free: 2.879 MB / 0.8419 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001004433569776996}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 3.311/7.994, allocations: 78.73 MB / 1.41 GB, free: 20.03 MB / 0.8888 GB Notification: Performance of NFFlatten.resolveConnections: time 0.1836/8.177, allocations: 41.1 MB / 1.45 GB, free: 11.21 MB / 0.8888 GB Notification: Performance of NFEvalConstants.evaluate: time 0.1063/8.284, allocations: 16.95 MB / 1.466 GB, free: 9.418 MB / 0.8888 GB Notification: Performance of NFSimplifyModel.simplify: time 0.09104/8.375, allocations: 22.05 MB / 1.488 GB, free: 5.582 MB / 0.8888 GB Notification: Performance of NFPackage.collectConstants: time 0.02842/8.404, allocations: 1.808 MB / 1.49 GB, free: 5.582 MB / 0.8888 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07425/8.478, allocations: 8.146 MB / 1.498 GB, free: 5.574 MB / 0.8888 GB Notification: Performance of NFScalarize.scalarize: time 0.04598/8.524, allocations: 8.934 MB / 1.506 GB, free: 3.16 MB / 0.8888 GB Notification: Performance of NFVerifyModel.verify: time 0.1067/8.631, allocations: 18.9 MB / 1.525 GB, free: 7.836 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.1692/8.8, allocations: 61.97 MB / 1.585 GB, free: 4.891 MB / 0.9513 GB Notification: Performance of FrontEnd - DAE generated: time 1.445e-05/8.8, allocations: 0 / 1.585 GB, free: 4.891 MB / 0.9513 GB Notification: Performance of FrontEnd: time 6.021e-06/8.8, allocations: 0 / 1.585 GB, free: 4.891 MB / 0.9513 GB Notification: Performance of Transformations before backend: time 0.004161/8.804, allocations: 0 / 1.585 GB, free: 4.891 MB / 0.9513 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8520 * Number of variables: 8520 Notification: Performance of Generate backend data structure: time 0.2269/9.031, allocations: 41.95 MB / 1.626 GB, free: 13.35 MB / 0.9982 GB Notification: Performance of prepare preOptimizeDAE: time 9.478e-05/9.032, allocations: 11.97 kB / 1.626 GB, free: 13.34 MB / 0.9982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07672/9.108, allocations: 6.395 MB / 1.632 GB, free: 6.934 MB / 0.9982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1449/9.253, allocations: 28.01 MB / 1.66 GB, free: 4 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.009347/9.263, allocations: 3.331 MB / 1.663 GB, free: 496 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.03393/9.297, allocations: 3.167 MB / 1.666 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3175/9.614, allocations: 53.81 MB / 1.719 GB, free: 6.848 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.003014/9.618, allocations: 53.39 kB / 1.719 GB, free: 6.82 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.03425/9.652, allocations: 1.312 MB / 1.72 GB, free: 5.527 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006812/9.659, allocations: 1.54 MB / 1.722 GB, free: 3.988 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.51/11.17, allocations: 63.18 MB / 1.783 GB, free: 0.5325 GB / 1.123 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.5801/11.75, allocations: 172.1 MB / 1.951 GB, free: 422.9 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06179/11.81, allocations: 19.98 MB / 1.971 GB, free: 407.1 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03141/11.84, allocations: 8.572 MB / 1.979 GB, free: 398.6 MB / 1.123 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 evalFunc (simulation): time 0.1526/12, allocations: 34.81 MB / 2.013 GB, free: 362.7 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03639/12.03, allocations: 8.647 MB / 2.022 GB, free: 353.9 MB / 1.123 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02992/12.06, allocations: 1.826 MB / 2.023 GB, free: 352 MB / 1.123 GB Notification: Performance of pre-optimization done (n=941): time 7.575e-05/12.06, allocations: 3.938 kB / 2.023 GB, free: 352 MB / 1.123 GB Notification: Performance of matching and sorting (n=941): time 0.2373/12.3, allocations: 42.15 MB / 2.065 GB, free: 309.1 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008245/12.3, allocations: 1.441 MB / 2.066 GB, free: 307.3 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1134/12.41, allocations: 27.21 MB / 2.093 GB, free: 280.3 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.006126/12.42, allocations: 229.6 kB / 2.093 GB, free: 280 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.03701/12.46, allocations: 16.45 MB / 2.109 GB, free: 263.5 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.009987/12.47, allocations: 3.367 MB / 2.112 GB, free: 260.2 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01133/12.48, allocations: 1.411 MB / 2.114 GB, free: 258.8 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 8.484e-05/12.48, allocations: 305.1 kB / 2.114 GB, free: 258.5 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04537/12.52, allocations: 12.34 MB / 2.126 GB, free: 246.1 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05743/12.58, allocations: 17 MB / 2.142 GB, free: 226.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 29.68/42.27, allocations: 2.513 GB / 4.655 GB, free: 356.1 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004088/42.27, allocations: 44 kB / 4.655 GB, free: 356.1 MB / 1.123 GB Notification: Performance of matching and sorting (n=2115) (initialization): time 0.1922/42.46, allocations: 40.75 MB / 4.695 GB, free: 318.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 0.01/42.47, allocations: 6.061 MB / 4.701 GB, free: 310 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007716/42.47, allocations: 164 kB / 4.701 GB, free: 309.9 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09986/42.57, allocations: 14.6 MB / 4.716 GB, free: 295.2 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04889/42.62, allocations: 5.425 MB / 4.721 GB, free: 289.8 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1169/42.74, allocations: 69.7 MB / 4.789 GB, free: 216.1 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.07251/42.81, allocations: 2.326 MB / 4.791 GB, free: 213.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.01356/42.82, allocations: 1.37 MB / 4.792 GB, free: 212.5 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/42.82, allocations: 0 / 4.792 GB, free: 212.5 MB / 1.123 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.204/43.03, allocations: 39.66 MB / 4.831 GB, free: 172.5 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001484/43.03, allocations: 168 kB / 4.831 GB, free: 172.4 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07898/43.11, allocations: 11.16 MB / 4.842 GB, free: 161.1 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.05089/43.16, allocations: 5.418 MB / 4.848 GB, free: 155.7 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1828/43.34, allocations: 91.6 MB / 4.937 GB, free: 60.16 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.06223/43.4, allocations: 2.023 MB / 4.939 GB, free: 58.23 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0131/43.42, allocations: 1.359 MB / 4.94 GB, free: 56.88 MB / 1.123 GB Warning: Assuming fixed start value for the following 47 variables: battery.E_charged:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Total energy charged to the battery" type: Real battery.E_discharged:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Total energy taken from the battery" type: Real EGrid:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Integrates the electricity taken from the grid" type: Real EPVField:VARIABLE(start = 0.0 unit = "J" fixed = true ) "Integrates the electricity generated by the PV field" type: Real battery.EAva:VARIABLE(start = 0.315 * battery.SOC_start * battery.E_nominal unit = "J" fixed = true ) "Available charge of the battery" type: Real battery.EBou:VARIABLE(start = 0.6850000000000001 * battery.SOC_start * battery.E_nominal unit = "J" fixed = true ) "Bound charge of the battery" type: Real chiller.volCon.dynBal.U:VARIABLE(start = 0.01 * chiller.volCon.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volCon.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volCon.dynBal.Medium.setState_pTX(chiller.volCon.dynBal.p_start, chiller.volCon.dynBal.T_start, {})) + (chiller.volCon.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real chiller.volEva.dynBal.U:VARIABLE(start = 0.01 * chiller.volEva.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volEva.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.chiller.volEva.dynBal.Medium.setState_pTX(chiller.volEva.dynBal.p_start, chiller.volEva.dynBal.T_start, {})) + (chiller.volEva.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real pump1.vol.dynBal.U:VARIABLE(start = pump1.vol.dynBal.fluidVolume * pump1.vol.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pump1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 [3] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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_top.dynBal.U:VARIABLE(start = storage.vol_top.dynBal.fluidVolume * storage.vol_top.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 pip1.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip1.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip1.vol.dynBal.Medium.setState_pTX(pip1.vol[1].dynBal.p_start, pip1.vol[1].dynBal.T_start, {})) + (pip1.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pip2.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip2.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip2.vol.dynBal.Medium.setState_pTX(pip2.vol[1].dynBal.p_start, pip2.vol[1].dynBal.T_start, {})) + (pip2.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pump2.vol.dynBal.U:VARIABLE(start = pump2.vol.dynBal.fluidVolume * pump2.vol.dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pump2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.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 pip3.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip3.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip3.vol.dynBal.Medium.setState_pTX(pip3.vol[1].dynBal.p_start, pip3.vol[1].dynBal.T_start, {})) + (pip3.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] pip4.vol[1].dynBal.U:VARIABLE(start = 0.003348111899256652 * pip4.vol[1].dynBal.rho_start * BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.pip4.vol.dynBal.Medium.setState_pTX(pip4.vol[1].dynBal.p_start, pip4.vol[1].dynBal.T_start, {})) + (pip4.vol[1].dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real [1] building.zone.airvolume.mH2OLiq:VARIABLE(min = 0.0 start = building.zone.airvolume.mH2OLiq_start unit = "kg" fixed = true protected = true ) "Liquid water mass" type: Real building.wall1.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall1.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall1.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall1.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall1.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall1.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall2.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall2.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall2.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall2.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall3.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall3.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall3.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall3.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wall4.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall4.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wall4.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wall4.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceiling.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.ceiling.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,1] building.ceiling.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceiling.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [2,1] building.bottom.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.bottom.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.bottom.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.bottom.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.bottom.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.bottom.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.wallsInterior.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wallsInterior.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.wallsInterior.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.wallsInterior.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[1].T[1]:VARIABLE(min = max(0.0, max(0.0, 0.0)) start = building.ceilingsInterior.construction.layer[1].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[2].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceilingsInterior.construction.layer[2].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.ceilingsInterior.construction.layer[3].T[1]:VARIABLE(min = max(0.0, 0.0) start = building.ceilingsInterior.construction.layer[3].T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the numerical node" type: Real [3,1] building.window1.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window1.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window2.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window2.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window3.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window3.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real building.window4.heatTransfer.T:VARIABLE(min = max(0.0, 0.0) start = building.window4.heatTransfer.T_start unit = "K" fixed = true nominal = 300.0 ) "Temperature of the thermal node" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 746 * Number of states: 0 () * Number of discrete variables: 17 (radiation.outsidePolarCircle,ambience.radiation[1].outsidePolarCircle,ambience.radiation[2].outsidePolarCircle,ambience.radiation[3].outsidePolarCircle,ambience.radiation[4].outsidePolarCircle,ambience.radiation[5].outsidePolarCircle,ambience.radiation[6].outsidePolarCircle,ambience.radiation[7].outsidePolarCircle,ambience.radiation[8].outsidePolarCircle,ambience.radiation[9].outsidePolarCircle,$PRE.control_temp_buildin.y,$PRE.control.y,control_temp_buildin.y,control.y,ambience.weatherDataReader.weatherData.conTim.tNext,$PRE.ambience.weatherDataReader.weatherData.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1829): * Single equations (assignments): 1749 * Array equations: 2 * Algorithm blocks: 23 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 23 * Torn equation systems: 30 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 23 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 17 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,2,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 13 systems {(1,3), (15,67), (1,3), (1,3), (1,3), (1,3), (1,3), (5,6), (1,3), (1,3), (1,3), (1,3), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.06538/43.48, allocations: 12.26 MB / 4.952 GB, free: 44.76 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.02013/43.5, allocations: 2.159 MB / 4.954 GB, free: 43.38 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1717/43.67, allocations: 27.51 MB / 4.981 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0005873/43.67, allocations: 120 kB / 4.981 GB, free: 15.57 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000269/43.67, allocations: 20 kB / 4.981 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.4/45.07, allocations: 21.92 MB / 5.003 GB, free: 479.7 MB / 1.123 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.3449/45.42, allocations: 61.43 MB / 5.063 GB, free: 464 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000503/45.42, allocations: 13.81 kB / 5.063 GB, free: 464 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02138/45.44, allocations: 1.924 MB / 5.065 GB, free: 463.8 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1049/45.55, allocations: 14.85 MB / 5.079 GB, free: 461.8 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.005903/45.55, allocations: 336.4 kB / 5.08 GB, free: 461.6 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1213/45.67, allocations: 73.21 MB / 5.151 GB, free: 399.1 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.097e-05/45.67, allocations: 24.09 kB / 5.151 GB, free: 399.1 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1951/45.87, allocations: 35.96 MB / 5.186 GB, free: 383.3 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.03674/45.91, allocations: 5.139 MB / 5.191 GB, free: 380.4 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.02331/45.93, allocations: 245.4 kB / 5.191 GB, free: 380.2 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.04915/45.98, allocations: 1.241 MB / 5.193 GB, free: 379.7 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.008492/45.99, allocations: 0.7808 MB / 5.193 GB, free: 379.2 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.006683/45.99, allocations: 413.2 kB / 5.194 GB, free: 379.1 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.09666/46.09, allocations: 19.02 MB / 5.212 GB, free: 361.8 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.463e-06/46.09, allocations: 0 / 5.212 GB, free: 361.8 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.1484/46.24, allocations: 17.05 MB / 5.229 GB, free: 345.3 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 54 * Number of states: 67 (battery.EAva,battery.EBou,battery.E_charged,battery.E_discharged,chiller.volCon.dynBal.U,chiller.volEva.dynBal.U,senTemEvaOut.T,senTemEvaIn.T,senTemConIn.T,senTemConOut.T,pump1.vol.dynBal.U,pump1.filter.s[1],pump1.filter.s[2],exp1.m,exp1.H,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol[3].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pip1.vol[1].dynBal.U,pip2.vol[1].dynBal.U,coolingSurface.vol[1].dynBal.U,coolingSurface.vol[2].dynBal.U,coolingSurface.vol[3].dynBal.U,coolingSurface.vol[4].dynBal.U,coolingSurface.vol[5].dynBal.U,pump2.vol.dynBal.U,pump2.filter.s[1],pump2.filter.s[2],pip3.vol[1].dynBal.U,pip4.vol[1].dynBal.U,senTemColSurOut.T,senTemColSurIn.T,building.zone.airvolume.mH2OLiq,building.zone.airvolume.air.dynBal.U,building.zone.airvolume.air.dynBal.m,building.zone.airvolume.air.dynBal.mXi[1],building.wall1.construction.layer[1].T[1],building.wall1.construction.layer[2].T[1],building.wall1.construction.layer[3].T[1],building.wall2.construction.layer[1].T[1],building.wall2.construction.layer[2].T[1],building.wall2.construction.layer[3].T[1],building.wall3.construction.layer[1].T[1],building.wall3.construction.layer[2].T[1],building.wall3.construction.layer[3].T[1],building.wall4.construction.layer[1].T[1],building.wall4.construction.layer[2].T[1],building.wall4.construction.layer[3].T[1],building.ceiling.construction.layer[1].T[1],building.ceiling.construction.layer[2].T[1],building.bottom.construction.layer[1].T[1],building.bottom.construction.layer[2].T[1],building.bottom.construction.layer[3].T[1],building.wallsInterior.construction.layer[1].T[1],building.wallsInterior.construction.layer[2].T[1],building.wallsInterior.construction.layer[3].T[1],building.ceilingsInterior.construction.layer[1].T[1],building.ceilingsInterior.construction.layer[2].T[1],building.ceilingsInterior.construction.layer[3].T[1],building.window1.heatTransfer.T,building.window2.heatTransfer.T,building.window3.heatTransfer.T,building.window4.heatTransfer.T,EGrid,EPVField) * Number of discrete variables: 4 ($whenCondition1,ambience.weatherDataReader.weatherData.conTim.tNext,control.y,control_temp_buildin.y) * Number of discrete states: 3 (ambience.weatherDataReader.weatherData.conTim.tNext,control.y,control_temp_buildin.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (953): * Single equations (assignments): 877 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 57 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 22 systems {(1,2,100.0%), (1,12,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 35 systems {(1,3), (1,3), (15,72), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,3), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01842/46.26, allocations: 2.448 MB / 5.231 GB, free: 343.3 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.3229/46.58, allocations: 63.9 MB / 5.294 GB, free: 278.2 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 6.956e-05/46.58, allocations: 10.69 kB / 5.294 GB, free: 278.1 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.06037/46.64, allocations: 14.71 MB / 5.308 GB, free: 263 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1846/46.83, allocations: 7.938 MB / 5.316 GB, free: 255.3 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3182/47.14, allocations: 81.39 MB / 5.395 GB, free: 173.7 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.09113/47.24, allocations: 19.48 MB / 5.414 GB, free: 154.2 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02663/47.26, allocations: 2.299 MB / 5.417 GB, free: 151.9 MB / 1.123 GB Notification: Performance of SimCode: time 4.518e-06/47.26, allocations: 4 kB / 5.417 GB, free: 151.9 MB / 1.123 GB Notification: Performance of Templates: time 51.39/98.65, allocations: 10.57 GB / 15.98 GB, free: 252.8 MB / 1.123 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.makefile make -j1 -f BuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystem.makefile clang++ -std=c++14 NOTFOUND -Winvalid-pch -O2 -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/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.AirConditioningSystems.PhotovoltaicCoolingSystemCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystemCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Applications.AirConditioningSystems.PhotovoltaicCoolingSystemCalcHelperMain.o] Error 1