Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") translateModel(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 100.1 kB / 15.88 MB, free: 12 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.002845/0.002845, allocations: 197.3 kB / 16.79 MB, free: 6.863 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.669/2.669, allocations: 222.9 MB / 240.5 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.003958/0.003958, allocations: 294.8 kB / 290.9 MB, free: 2.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.609/1.609, allocations: 169.2 MB / 0.4984 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003289/0.00329, allocations: 97.11 kB / 0.5951 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2605/0.2639, allocations: 86.98 MB / 0.6801 GB, free: 1.191 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage): time 0.9362/1.2, allocations: 114.2 MB / 0.7916 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.08321/1.283, allocations: 29.55 MB / 0.8205 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01398/1.298, allocations: 144.6 kB / 0.8206 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.02329/1.321, allocations: 4.586 MB / 0.8251 GB, free: 6.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.02461/1.346, allocations: 3.707 MB / 0.8287 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01621/1.362, allocations: 2.908 MB / 0.8316 GB, free: 3.641 MB / 0.5606 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.0002008867139553991}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.03327/1.395, allocations: 16.07 MB / 0.8473 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01017/1.405, allocations: 3.055 MB / 0.8503 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01209/1.417, allocations: 2.926 MB / 0.8531 GB, free: 9.602 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008625/1.426, allocations: 2.886 MB / 0.8559 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001796/1.428, allocations: 193.8 kB / 0.8561 GB, free: 8.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01038/1.438, allocations: 2.267 MB / 0.8583 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.003668/1.442, allocations: 1.009 MB / 0.8593 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.01006/1.452, allocations: 2.092 MB / 0.8614 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01618/1.468, allocations: 5.52 MB / 0.8667 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/1.469, allocations: 0 / 0.8667 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.138e-06/1.469, allocations: 0 / 0.8667 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0003107/1.469, allocations: 4 kB / 0.8668 GB, free: 15.98 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 607 * Number of variables: 607 Notification: Performance of Generate backend data structure: time 0.02477/1.494, allocations: 4.765 MB / 0.8714 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.977e-05/1.494, allocations: 8.031 kB / 0.8714 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007211/1.501, allocations: 0.6273 MB / 0.872 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01761/1.519, allocations: 4.405 MB / 0.8763 GB, free: 6.156 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005207/1.519, allocations: 194.9 kB / 0.8765 GB, free: 5.965 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001882/1.521, allocations: 243.9 kB / 0.8767 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01476/1.536, allocations: 3.054 MB / 0.8797 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001951/1.536, allocations: 7.938 kB / 0.8797 GB, free: 2.523 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001379/1.538, allocations: 104 kB / 0.8798 GB, free: 2.422 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000264/1.538, allocations: 96.52 kB / 0.8799 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01108/1.549, allocations: 2.395 MB / 0.8823 GB, free: 15.91 MB / 0.6075 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.03951/1.589, allocations: 12.91 MB / 0.8949 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00588/1.595, allocations: 1.726 MB / 0.8966 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/1.598, allocations: 1.034 MB / 0.8976 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01529/1.613, allocations: 4.301 MB / 0.9018 GB, free: 11.15 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.241e-05/1.613, allocations: 55.5 kB / 0.9018 GB, free: 11.09 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003476/1.617, allocations: 270.1 kB / 0.9021 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=126): time 1.633e-05/1.617, allocations: 4 kB / 0.9021 GB, free: 10.82 MB / 0.6231 GB Notification: Performance of matching and sorting (n=126): time 0.0121/1.629, allocations: 2.384 MB / 0.9044 GB, free: 8.426 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.629, allocations: 90.11 kB / 0.9045 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01489/1.644, allocations: 3.391 MB / 0.9078 GB, free: 4.945 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0007084/1.645, allocations: 57.64 kB / 0.9079 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.003256/1.648, allocations: 1.692 MB / 0.9095 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/1.649, allocations: 458.8 kB / 0.91 GB, free: 2.742 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001295/1.651, allocations: 455.7 kB / 0.9104 GB, free: 2.289 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001401/1.651, allocations: 305.1 kB / 0.9107 GB, free: 1.988 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/1.653, allocations: 0.8387 MB / 0.9115 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002543/1.655, allocations: 1.467 MB / 0.9129 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02644/1.682, allocations: 4.558 MB / 0.9174 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-05/1.682, allocations: 4 kB / 0.9174 GB, free: 10.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=289) (initialization): time 0.01105/1.693, allocations: 2.833 MB / 0.9202 GB, free: 7.789 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.77e-05/1.693, allocations: 12 kB / 0.9202 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.306e-05/1.693, allocations: 16 kB / 0.9202 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008706/1.694, allocations: 185.1 kB / 0.9204 GB, free: 7.578 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003544/1.698, allocations: 479.2 kB / 0.9208 GB, free: 7.109 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004966/1.703, allocations: 2.303 MB / 0.9231 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007472/1.71, allocations: 208.1 kB / 0.9233 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001014/1.711, allocations: 96.08 kB / 0.9234 GB, free: 4.379 MB / 0.6387 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.008119/1.719, allocations: 1.922 MB / 0.9252 GB, free: 2.445 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003983/1.723, allocations: 1.449 MB / 0.9266 GB, free: 0.7305 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.02499/1.748, allocations: 4.504 MB / 0.931 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.39e-05/1.749, allocations: 4 kB / 0.931 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of matching and sorting (n=289) (initialization_lambda0): time 0.01198/1.761, allocations: 2.796 MB / 0.9338 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/1.761, allocations: 12 kB / 0.9338 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.99e-05/1.761, allocations: 24.12 kB / 0.9338 GB, free: 9.141 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009513/1.762, allocations: 176.7 kB / 0.934 GB, free: 8.965 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003394/1.765, allocations: 475.3 kB / 0.9344 GB, free: 8.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/1.77, allocations: 2.301 MB / 0.9367 GB, free: 6.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006463/1.777, allocations: 211.6 kB / 0.9369 GB, free: 5.863 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006817/1.777, allocations: 91.98 kB / 0.937 GB, free: 5.773 MB / 0.6544 GB Warning: Assuming fixed start value for the following 6 variables: storage.vol[1].dynBal.U:VARIABLE(start = storage.vol[1].dynBal.fluidVolume * storage.vol[1].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 [2] storage.vol[2].dynBal.U:VARIABLE(start = storage.vol[2].dynBal.fluidVolume * storage.vol[2].dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 [2] storage.vol_bot.dynBal.U:VARIABLE(start = storage.vol_bot.dynBal.fluidVolume * storage.vol_bot.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_bot.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.storage.vol_top.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 pump.vol.dynBal.U:VARIABLE(start = pump.vol.dynBal.fluidVolume * pump.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.pump.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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 CHP.vol.dynBal.U:VARIABLE(start = CHP.vol.dynBal.fluidVolume * CHP.vol.dynBal.rho_start * BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.specificInternalEnergy(BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.CHP.vol.dynBal.Medium.setState_pTX(CHP.vol.dynBal.p_start, CHP.vol.dynBal.T_start, {})) + (CHP.vol.dynBal.T_start - 273.15) * 0.0 unit = "J" fixed = true nominal = 100000.0 protected = true final = true ) "Internal energy of fluid" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.control.y,control.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 243 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001917/1.779, allocations: 0.5002 MB / 0.9375 GB, free: 5.266 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002252/1.781, allocations: 335.7 kB / 0.9378 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008528/1.79, allocations: 1.987 MB / 0.9397 GB, free: 2.961 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-05/1.79, allocations: 16 kB / 0.9397 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/1.79, allocations: 3.938 kB / 0.9397 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005189/1.795, allocations: 1.761 MB / 0.9415 GB, free: 1.09 MB / 0.6544 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.02006/1.815, allocations: 4.614 MB / 0.946 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.871e-05/1.816, allocations: 4 kB / 0.946 GB, free: 12.44 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002374/1.818, allocations: 263.6 kB / 0.9462 GB, free: 12.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008785/1.819, allocations: 156.7 kB / 0.9464 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000239/1.819, allocations: 35.98 kB / 0.9464 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004127/1.823, allocations: 2.264 MB / 0.9486 GB, free: 9.598 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/1.823, allocations: 8 kB / 0.9486 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009309/1.833, allocations: 2.793 MB / 0.9513 GB, free: 6.781 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003301/1.836, allocations: 0.5983 MB / 0.9519 GB, free: 6.16 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001593/1.838, allocations: 28 kB / 0.952 GB, free: 6.133 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00472/1.842, allocations: 171.6 kB / 0.9521 GB, free: 5.965 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003979/1.843, allocations: 87.98 kB / 0.9522 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003062/1.843, allocations: 63.95 kB / 0.9523 GB, free: 5.816 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.007713/1.851, allocations: 2.296 MB / 0.9545 GB, free: 3.539 MB / 0.67 GB Notification: Performance of sort global known variables: time 7.71e-07/1.851, allocations: 0 / 0.9545 GB, free: 3.539 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.01366/1.865, allocations: 1.863 MB / 0.9563 GB, free: 1.672 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (senTemIn.T,senTemOut.T,storage.vol[1].dynBal.U,storage.vol[2].dynBal.U,storage.vol_bot.dynBal.U,storage.vol_top.dynBal.U,pump.vol.dynBal.U,pump.filter.s[1],pump.filter.s[2],exp.m,exp.H,CHP.vol.dynBal.U) * Number of discrete variables: 1 (control.y) * Number of discrete states: 1 (control.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (125): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0055/1.87, allocations: 1.025 MB / 0.9573 GB, free: 0.8203 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0134/1.884, allocations: 3.517 MB / 0.9608 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.356e-05/1.884, allocations: 4.562 kB / 0.9608 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.003099/1.887, allocations: 0.9285 MB / 0.9617 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0164/1.903, allocations: 1.72 MB / 0.9634 GB, free: 10.65 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02812/1.932, allocations: 8.092 MB / 0.9713 GB, free: 2.547 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005899/1.938, allocations: 2.355 MB / 0.9736 GB, free: 176 kB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002266/1.94, allocations: 299.2 kB / 0.9738 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of SimCode: time 2.564e-06/1.94, allocations: 0 / 0.9738 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of Templates: time 0.2059/2.146, allocations: 78.97 MB / 1.051 GB, free: 1.328 MB / 0.7637 GB make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.makefile make -j1 -f BuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorage.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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.o OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.cpp clang: error: no such file or directory: 'NOTFOUND' make: *** [: OMCppBuildingSystems_BuildingSystems.Technologies.Cogeneration.Examples.CogenerationUnitWithStorageCalcHelperMain.o] Error 1