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.001001/0.001001, allocations: 91.53 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.001267/0.001267, allocations: 182.1 kB / 16.92 MB, free: 6.926 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.488/1.488, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001908/0.001908, allocations: 262.9 kB / 292.3 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.016/1.016, allocations: 169.5 MB / 0.501 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004558/0.0004558, allocations: 12.16 kB / 0.5993 GB, free: 28.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.222/0.2225, allocations: 88.56 MB / 0.6858 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2): time 0.7875/1.01, allocations: 269.4 MB / 0.9489 GB, free: 2.168 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.1003/1.11, allocations: 61.49 MB / 1.009 GB, free: 4.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01848/1.129, allocations: 318 kB / 1.009 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.02413/1.153, allocations: 8.942 MB / 1.018 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.03852/1.192, allocations: 9.901 MB / 1.028 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.02159/1.213, allocations: 6.043 MB / 1.034 GB, free: 11.3 MB / 0.7481 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‘ [/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, 2.008867139553991e-05}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.7521/1.965, allocations: 63.46 MB / 1.096 GB, free: 20.64 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02909/1.994, allocations: 14.45 MB / 1.11 GB, free: 18.35 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05141/2.046, allocations: 15.95 MB / 1.125 GB, free: 17.46 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03534/2.081, allocations: 11.9 MB / 1.137 GB, free: 12.77 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.007344/2.089, allocations: 0.5898 MB / 1.137 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03078/2.119, allocations: 7.058 MB / 1.144 GB, free: 7.27 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.009856/2.129, allocations: 3.329 MB / 1.148 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.02779/2.157, allocations: 8.063 MB / 1.155 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.04568/2.203, allocations: 21.54 MB / 1.176 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 9.829e-06/2.203, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of FrontEnd: time 5.851e-06/2.203, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.001764/2.205, allocations: 0 / 1.176 GB, free: 13.18 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2712 * Number of variables: 2712 Notification: Performance of Generate backend data structure: time 0.05081/2.256, allocations: 14.67 MB / 1.191 GB, free: 15.81 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/2.256, allocations: 12.69 kB / 1.191 GB, free: 15.8 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01977/2.275, allocations: 3.175 MB / 1.194 GB, free: 12.62 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04992/2.325, allocations: 18.21 MB / 1.212 GB, free: 464 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002105/2.328, allocations: 0.997 MB / 1.213 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005762/2.333, allocations: 1.051 MB / 1.214 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.054/2.387, allocations: 15.31 MB / 1.229 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008424/2.388, allocations: 41.5 kB / 1.229 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004799/2.393, allocations: 462.3 kB / 1.229 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006114/2.394, allocations: 434.2 kB / 1.23 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04003/2.434, allocations: 13.08 MB / 1.242 GB, free: 5.82 MB / 0.8262 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.1322/2.566, allocations: 66.9 MB / 1.308 GB, free: 15.49 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02394/2.59, allocations: 9.965 MB / 1.317 GB, free: 5.699 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0117/2.602, allocations: 5.338 MB / 1.323 GB, free: 356 kB / 0.9044 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.05225/2.654, allocations: 19.91 MB / 1.342 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01248/2.667, allocations: 4.365 MB / 1.346 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009658/2.676, allocations: 0.9356 MB / 1.347 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=612): time 4.118e-05/2.676, allocations: 0 / 1.347 GB, free: 6.441 MB / 0.9356 GB Notification: Performance of matching and sorting (n=641): time 0.07932/2.756, allocations: 25.02 MB / 1.372 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001767/2.756, allocations: 197.5 kB / 1.372 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03196/2.788, allocations: 11.38 MB / 1.383 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.002227/2.79, allocations: 148.3 kB / 1.383 GB, free: 1.43 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.5516/3.342, allocations: 6.747 MB / 1.39 GB, free: 453.7 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.004568/3.346, allocations: 2.238 MB / 1.392 GB, free: 452.8 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001686/3.348, allocations: 0.7382 MB / 1.393 GB, free: 452.5 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 6.818e-05/3.348, allocations: 305.9 kB / 1.393 GB, free: 452.2 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008963/3.357, allocations: 4.179 MB / 1.397 GB, free: 450.8 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01113/3.368, allocations: 6.527 MB / 1.403 GB, free: 446.6 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3155/3.684, allocations: 45.25 MB / 1.448 GB, free: 433.6 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/3.684, allocations: 22.66 kB / 1.448 GB, free: 433.6 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1122) (initialization): time 0.03265/3.717, allocations: 13.04 MB / 1.46 GB, free: 426.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001584/3.718, allocations: 2.057 MB / 1.462 GB, free: 423.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001738/3.719, allocations: 64 kB / 1.462 GB, free: 423.2 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00219/3.721, allocations: 0.9784 MB / 1.463 GB, free: 422.2 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009316/3.73, allocations: 2.13 MB / 1.465 GB, free: 420 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01589/3.746, allocations: 20.94 MB / 1.486 GB, free: 397.7 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01588/3.762, allocations: 1.068 MB / 1.487 GB, free: 396.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002459/3.764, allocations: 387.8 kB / 1.487 GB, free: 396.2 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.919e-05/3.765, allocations: 4 kB / 1.487 GB, free: 396.2 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02679/3.791, allocations: 11.94 MB / 1.499 GB, free: 384.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002065/3.792, allocations: 64 kB / 1.499 GB, free: 384.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/3.793, allocations: 0.9799 MB / 1.5 GB, free: 383.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00889/3.802, allocations: 2.121 MB / 1.502 GB, free: 381 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01437/3.817, allocations: 20.92 MB / 1.522 GB, free: 358.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0143/3.831, allocations: 1.049 MB / 1.523 GB, free: 357.6 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002248/3.833, allocations: 375.9 kB / 1.524 GB, free: 357.2 MB / 0.9669 GB Warning: Assuming fixed start value for the following 30 variables: 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 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.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] pipe1.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe2.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] 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] 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[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[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[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[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[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[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_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_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 pipe3.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe3.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[1].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] pipe4.vol[2].dynBal.U:VARIABLE(start = 0.0007853981633974482 * 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] 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 293 * 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 (994): * Single equations (assignments): 979 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.01362/3.847, allocations: 5.545 MB / 1.529 GB, free: 351.7 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005072/3.852, allocations: 1.165 MB / 1.53 GB, free: 350.5 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02638/3.879, allocations: 10.82 MB / 1.541 GB, free: 339.6 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.576e-05/3.879, allocations: 67.98 kB / 1.541 GB, free: 339.6 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.637e-05/3.879, allocations: 12 kB / 1.541 GB, free: 339.5 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01646/3.895, allocations: 8.455 MB / 1.549 GB, free: 331 MB / 0.9669 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.05513/3.95, allocations: 22.8 MB / 1.572 GB, free: 308.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.531e-05/3.95, allocations: 0 / 1.572 GB, free: 308.1 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006519/3.957, allocations: 1.491 MB / 1.573 GB, free: 306.7 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001966/3.959, allocations: 0.8989 MB / 1.574 GB, free: 305.7 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006418/3.96, allocations: 179.9 kB / 1.574 GB, free: 305.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/3.976, allocations: 20.77 MB / 1.594 GB, free: 283.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.199e-06/3.976, allocations: 4.031 kB / 1.594 GB, free: 283.3 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03808/4.014, allocations: 15.45 MB / 1.609 GB, free: 267.7 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01094/4.025, allocations: 2.395 MB / 1.612 GB, free: 265.3 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00486/4.03, allocations: 140 kB / 1.612 GB, free: 265.1 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01229/4.042, allocations: 0.9624 MB / 1.613 GB, free: 264.2 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/4.044, allocations: 430.4 kB / 1.613 GB, free: 263.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001328/4.045, allocations: 278.2 kB / 1.613 GB, free: 263.5 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.01897/4.064, allocations: 7.759 MB / 1.621 GB, free: 255.8 MB / 0.9669 GB Notification: Performance of sort global known variables: time 6.31e-07/4.064, allocations: 0 / 1.621 GB, free: 255.8 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.03453/4.099, allocations: 6.162 MB / 1.627 GB, free: 249.7 MB / 0.9669 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 (614): * Single equations (assignments): 596 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.00842/4.107, allocations: 1.91 MB / 1.629 GB, free: 248.2 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.03883/4.146, allocations: 19.02 MB / 1.648 GB, free: 228.9 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.1e-05/4.146, allocations: 10.66 kB / 1.648 GB, free: 228.9 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0114/4.158, allocations: 6.027 MB / 1.653 GB, free: 222.7 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04675/4.204, allocations: 6.274 MB / 1.66 GB, free: 216.6 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07292/4.277, allocations: 35.58 MB / 1.694 GB, free: 180.9 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01219/4.29, allocations: 8.513 MB / 1.703 GB, free: 172.4 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004916/4.295, allocations: 1.03 MB / 1.704 GB, free: 171.4 MB / 0.9669 GB Notification: Performance of SimCode: time 1.292e-06/4.295, allocations: 0 / 1.704 GB, free: 171.4 MB / 0.9669 GB Notification: Performance of Templates: time 3.223/7.517, allocations: 1.064 GB / 2.767 GB, free: 390 MB / 0.9669 GB make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.makefile make -j1 -f BuildingSystems_BuildingSystems.Applications.SolarThermalSystems.SolarThermalSystem2.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.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