Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") translateModel(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008528/0.0008527, allocations: 99.42 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.0008967/0.0008967, allocations: 185.8 kB / 16.92 MB, free: 6.688 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.468/1.468, allocations: 223.2 MB / 240.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.001869, allocations: 266.9 kB / 292.3 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.034/1.034, allocations: 169.5 MB / 0.501 GB, free: 14.12 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004547/0.0004547, allocations: 15.88 kB / 0.5993 GB, free: 28.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2232, allocations: 88.55 MB / 0.6858 GB, free: 15.11 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1): time 0.7264/0.9497, allocations: 221.3 MB / 0.9019 GB, free: 2.125 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.09194/1.042, allocations: 50.12 MB / 0.9508 GB, free: 15.87 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01693/1.059, allocations: 262.3 kB / 0.9511 GB, free: 15.61 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.01974/1.078, allocations: 5.897 MB / 0.9568 GB, free: 9.695 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.03386/1.112, allocations: 8.341 MB / 0.965 GB, free: 1.324 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01839/1.131, allocations: 5.002 MB / 0.9699 GB, free: 12.36 MB / 0.6856 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, 1.937472605549519e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.07931/1.21, allocations: 56.55 MB / 1.025 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02537/1.236, allocations: 13.61 MB / 1.038 GB, free: 5.934 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.7315/1.967, allocations: 14.46 MB / 1.052 GB, free: 25.71 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03361/2.001, allocations: 10.99 MB / 1.063 GB, free: 25 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.007458/2.008, allocations: 0.5432 MB / 1.064 GB, free: 25 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03097/2.039, allocations: 6.465 MB / 1.07 GB, free: 24.92 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.01082/2.05, allocations: 2.92 MB / 1.073 GB, free: 24.37 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02834/2.079, allocations: 7.281 MB / 1.08 GB, free: 22.14 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.03892/2.118, allocations: 19.64 MB / 1.099 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 8.276e-06/2.118, allocations: 2.578 kB / 1.099 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 4.068e-06/2.118, allocations: 0 / 1.099 GB, free: 21.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.001278/2.119, allocations: 4 kB / 1.099 GB, free: 21.45 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2536 * Number of variables: 2536 Notification: Performance of Generate backend data structure: time 0.04706/2.166, allocations: 13.2 MB / 1.112 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.333e-05/2.166, allocations: 13.56 kB / 1.112 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01654/2.183, allocations: 2.583 MB / 1.115 GB, free: 14.93 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04226/2.225, allocations: 16.12 MB / 1.13 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001332/2.226, allocations: 0.8126 MB / 1.131 GB, free: 12 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006033/2.232, allocations: 0.9759 MB / 1.132 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05221/2.285, allocations: 14.35 MB / 1.146 GB, free: 7.621 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001002/2.286, allocations: 45.58 kB / 1.146 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005863/2.292, allocations: 419.7 kB / 1.147 GB, free: 7.609 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006236/2.292, allocations: 410.2 kB / 1.147 GB, free: 7.57 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03764/2.33, allocations: 12.13 MB / 1.159 GB, free: 5.293 MB / 0.7481 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.1345/2.464, allocations: 61.43 MB / 1.219 GB, free: 6.477 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02301/2.488, allocations: 9.002 MB / 1.228 GB, free: 15.56 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01208/2.5, allocations: 4.889 MB / 1.232 GB, free: 10.66 MB / 0.8106 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.05441/2.554, allocations: 18.37 MB / 1.25 GB, free: 7.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.009545/2.564, allocations: 3.821 MB / 1.254 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.008905/2.573, allocations: 0.7447 MB / 1.255 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=556): time 3.717e-05/2.573, allocations: 0 / 1.255 GB, free: 3.016 MB / 0.8262 GB Notification: Performance of matching and sorting (n=583): time 0.07833/2.651, allocations: 22.24 MB / 1.277 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/2.651, allocations: 193.1 kB / 1.277 GB, free: 12.29 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02913/2.68, allocations: 10.08 MB / 1.287 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.002195/2.683, allocations: 137.7 kB / 1.287 GB, free: 2.129 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.01016/2.693, allocations: 6.096 MB / 1.293 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.004746/2.698, allocations: 2.041 MB / 1.295 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002813/2.701, allocations: 0.6239 MB / 1.295 GB, free: 9.426 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001305/2.701, allocations: 305.1 kB / 1.296 GB, free: 9.125 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009098/2.71, allocations: 3.578 MB / 1.299 GB, free: 5.543 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0115/2.721, allocations: 5.695 MB / 1.305 GB, free: 15 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3038/3.025, allocations: 42.12 MB / 1.346 GB, free: 4.094 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.993e-05/3.025, allocations: 16 kB / 1.346 GB, free: 4.078 MB / 0.92 GB Notification: Performance of matching and sorting (n=978) (initialization): time 0.03126/3.057, allocations: 11.47 MB / 1.357 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.002017/3.059, allocations: 1.92 MB / 1.359 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001551/3.059, allocations: 60 kB / 1.359 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/3.061, allocations: 0.9771 MB / 1.36 GB, free: 5.078 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008728/3.07, allocations: 1.861 MB / 1.362 GB, free: 3.32 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.579/3.649, allocations: 20.92 MB / 1.382 GB, free: 420.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.664, allocations: 0.9256 MB / 1.383 GB, free: 420.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002406/3.666, allocations: 339.2 kB / 1.383 GB, free: 420.1 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/3.666, allocations: 5.656 kB / 1.383 GB, free: 420.1 MB / 0.9512 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02327/3.689, allocations: 10.52 MB / 1.394 GB, free: 419.7 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001571/3.69, allocations: 58.5 kB / 1.394 GB, free: 419.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002191/3.692, allocations: 0.9746 MB / 1.395 GB, free: 419.6 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009025/3.701, allocations: 1.854 MB / 1.396 GB, free: 419.5 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01893/3.72, allocations: 20.93 MB / 1.417 GB, free: 403.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01477/3.735, allocations: 0.8901 MB / 1.418 GB, free: 403.1 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002856/3.738, allocations: 336.1 kB / 1.418 GB, free: 403.1 MB / 0.9512 GB Warning: Assuming fixed start value for the following 30 variables: pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pump.vol.dynBal.Medium.setState_pTX(pump.vol.dynBal.p_start, pump.vol.dynBal.T_start, {})) + (pump.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true ) "Internal energy of fluid" type: Real 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] 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[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[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[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[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[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[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[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[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] pipe1.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe1.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe1.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe1.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe2.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe2.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe2.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[3].dynBal.U:VARIABLE(start = storage.vol[3].dynBal.fluidVolume * storage.vol[3].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[4].dynBal.U:VARIABLE(start = storage.vol[4].dynBal.fluidVolume * storage.vol[4].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[5].dynBal.U:VARIABLE(start = storage.vol[5].dynBal.fluidVolume * storage.vol[5].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[6].dynBal.U:VARIABLE(start = storage.vol[6].dynBal.fluidVolume * storage.vol[6].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[7].dynBal.U:VARIABLE(start = storage.vol[7].dynBal.fluidVolume * storage.vol[7].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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[8].dynBal.U:VARIABLE(start = storage.vol[8].dynBal.fluidVolume * storage.vol[8].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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_HX_1.dynBal.U:VARIABLE(start = storage.vol_HX_1.dynBal.fluidVolume * storage.vol_HX_1.dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.storage.vol_HX_1.dynBal.Medium.setState_pTX(storage.vol_HX_1.dynBal.p_start, storage.vol_HX_1.dynBal.T_start, {})) + (storage.vol_HX_1.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.SolarThermalSystem1.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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.SolarThermalSystems.SolarThermalSystem1.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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 pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe3.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe3.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe3.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe4.vol[1].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * pipe4.vol[2].dynBal.rho_start * BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.pipe4.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 273 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.control.y,control.y,weatherData.weatherData.conTim.tNext,$PRE.weatherData.weatherData.conTim.tNext,$whenCondition1,radiation.outsidePolarCircle) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (883): * Single equations (assignments): 870 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01722/3.755, allocations: 5.244 MB / 1.423 GB, free: 401 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005936/3.761, allocations: 1.037 MB / 1.424 GB, free: 401 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02728/3.788, allocations: 9.723 MB / 1.434 GB, free: 397.3 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-05/3.788, allocations: 59.08 kB / 1.434 GB, free: 397.3 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.173e-05/3.788, allocations: 15.16 kB / 1.434 GB, free: 397.3 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01688/3.805, allocations: 7.456 MB / 1.441 GB, free: 394.6 MB / 0.9512 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.0617/3.867, allocations: 20.68 MB / 1.461 GB, free: 386.8 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.358e-05/3.867, allocations: 5.844 kB / 1.461 GB, free: 386.8 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006344/3.873, allocations: 1.28 MB / 1.462 GB, free: 386.7 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002083/3.875, allocations: 0.9054 MB / 1.463 GB, free: 386.4 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001255/3.877, allocations: 164.2 kB / 1.463 GB, free: 386.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01493/3.892, allocations: 20.78 MB / 1.484 GB, free: 368.7 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/3.892, allocations: 3.812 kB / 1.484 GB, free: 368.7 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02869/3.92, allocations: 13.8 MB / 1.497 GB, free: 358.3 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00923/3.93, allocations: 2.157 MB / 1.499 GB, free: 356.6 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005531/3.935, allocations: 128 kB / 1.499 GB, free: 356.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01342/3.949, allocations: 0.8311 MB / 1.5 GB, free: 355.8 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002139/3.951, allocations: 391.8 kB / 1.501 GB, free: 355.4 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002037/3.953, allocations: 243.8 kB / 1.501 GB, free: 355.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.02155/3.975, allocations: 7.1 MB / 1.508 GB, free: 348.1 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.422e-06/3.975, allocations: 3.938 kB / 1.508 GB, free: 348.1 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.03289/4.007, allocations: 5.604 MB / 1.513 GB, free: 342.6 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 34 (pump.vol.dynBal.U,pump.filter.s[1],pump.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_HX_1.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) * 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 (541): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 11 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 11 systems {(1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,4,100.0%), (1,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006356/4.014, allocations: 1.785 MB / 1.515 GB, free: 341.4 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0305/4.044, allocations: 16.94 MB / 1.532 GB, free: 324.3 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.055e-05/4.044, allocations: 6.656 kB / 1.532 GB, free: 324.3 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.009094/4.054, allocations: 5.478 MB / 1.537 GB, free: 318.7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04301/4.097, allocations: 5.999 MB / 1.543 GB, free: 313 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05094/4.148, allocations: 32.21 MB / 1.574 GB, free: 280.8 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007948/4.156, allocations: 7.878 MB / 1.582 GB, free: 272.9 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004323/4.16, allocations: 0.9208 MB / 1.583 GB, free: 271.9 MB / 0.9512 GB Notification: Performance of SimCode: time 1.282e-06/4.16, allocations: 0 / 1.583 GB, free: 271.9 MB / 0.9512 GB Notification: Performance of Templates: time 2.239/6.399, allocations: 0.9753 GB / 2.558 GB, free: 137.6 MB / 0.9512 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.makefile make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1.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.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem1CalcHelperMain.o] Error 1