Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumSup1.m_flow|stoPla.revCon.m_flow|stoPla.pumPri.m_flow|stoPla.tanBra.mTan_flow|stoPla.revCon.pum.m_flow|stoPla.revCon.val.m_flow|ideUse1.yVal_actual|ideUse2.yVal_actual|ideUse3.yVal_actual|ideUse1.dp|ideUse2.dp|ideUse3.dp|stoPla.tanBra.heaPorTop.T|stoPla.tanBra.heaPorBot.T|stoPla.tanSta.y.1.|stoPla.tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") translateModel(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pumSup1.m_flow|stoPla.revCon.m_flow|stoPla.pumPri.m_flow|stoPla.tanBra.mTan_flow|stoPla.revCon.pum.m_flow|stoPla.revCon.val.m_flow|ideUse1.yVal_actual|ideUse2.yVal_actual|ideUse3.yVal_actual|ideUse1.dp|ideUse2.dp|ideUse3.dp|stoPla.tanBra.heaPorTop.T|stoPla.tanBra.heaPorBot.T|stoPla.tanSta.y.1.|stoPla.tanSta.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001339/0.001338, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001718/0.001718, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.768/2.768, allocations: 472.7 MB / 0.7449 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 63.64 kB / 0.9116 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.2954, allocations: 159.9 MB / 1.068 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.199/1.494, allocations: 0.5453 GB / 1.613 GB, free: 9.457 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.1676/1.662, allocations: 115.4 MB / 1.726 GB, free: 5.785 MB / 1.326 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02467/1.687, allocations: 0.5552 MB / 1.726 GB, free: 5.227 MB / 1.326 GB Notification: Performance of NFTyping.typeComponents: time 0.0474/1.734, allocations: 21.14 MB / 1.747 GB, free: 40 kB / 1.342 GB Notification: Performance of NFTyping.typeBindings: time 0.922/2.656, allocations: 18.29 MB / 1.765 GB, free: 80 MB / 1.357 GB Notification: Performance of NFTyping.typeClassSections: time 0.02947/2.686, allocations: 13.77 MB / 1.778 GB, free: 79.91 MB / 1.357 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001004433569776996, 0.002008867139553991, 0.002736215586633885}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.07961/2.765, allocations: 66.87 MB / 1.843 GB, free: 79.69 MB / 1.357 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03084/2.796, allocations: 19.51 MB / 1.863 GB, free: 77.32 MB / 1.357 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04485/2.841, allocations: 18.77 MB / 1.881 GB, free: 76.52 MB / 1.357 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02169/2.863, allocations: 13.98 MB / 1.895 GB, free: 74.18 MB / 1.357 GB Notification: Performance of NFPackage.collectConstants: time 0.007908/2.871, allocations: 2.257 MB / 1.897 GB, free: 74.18 MB / 1.357 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02426/2.895, allocations: 8.53 MB / 1.905 GB, free: 74.17 MB / 1.357 GB Notification: Performance of NFScalarize.scalarize: time 0.008566/2.903, allocations: 5.571 MB / 1.911 GB, free: 73.46 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02124/2.925, allocations: 11.25 MB / 1.921 GB, free: 70.62 MB / 1.357 GB Notification: Performance of NFConvertDAE.convert: time 0.04765/2.972, allocations: 35.34 MB / 1.956 GB, free: 51.78 MB / 1.357 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/2.972, allocations: 0 / 1.956 GB, free: 51.78 MB / 1.357 GB Notification: Performance of FrontEnd: time 1.443e-06/2.972, allocations: 0 / 1.956 GB, free: 51.78 MB / 1.357 GB Notification: Performance of Transformations before backend: time 0.001087/2.974, allocations: 0 / 1.956 GB, free: 51.78 MB / 1.357 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2854 * Number of variables: 2854 Notification: Performance of Generate backend data structure: time 0.05325/3.027, allocations: 20.56 MB / 1.976 GB, free: 33.98 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/3.027, allocations: 12.02 kB / 1.976 GB, free: 33.96 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01331/3.04, allocations: 2.514 MB / 1.979 GB, free: 31.43 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04095/3.081, allocations: 20.37 MB / 1.998 GB, free: 11.67 MB / 1.357 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000872/3.082, allocations: 0.887 MB / 1.999 GB, free: 10.79 MB / 1.357 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004194/3.086, allocations: 1.159 MB / 2 GB, free: 9.637 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0398/3.126, allocations: 14.25 MB / 2.014 GB, free: 10.98 MB / 1.373 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005717/3.127, allocations: 28.66 kB / 2.014 GB, free: 10.96 MB / 1.373 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004587/3.131, allocations: 478.9 kB / 2.015 GB, free: 10.5 MB / 1.373 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004488/3.132, allocations: 431.4 kB / 2.015 GB, free: 10.08 MB / 1.373 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03385/3.166, allocations: 10.92 MB / 2.026 GB, free: 15.26 MB / 1.389 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.138/3.304, allocations: 72.55 MB / 2.097 GB, free: 3.168 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01742/3.321, allocations: 6.237 MB / 2.103 GB, free: 12.87 MB / 1.467 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01034/3.332, allocations: 3.891 MB / 2.107 GB, free: 8.938 MB / 1.467 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.04935/3.381, allocations: 17.27 MB / 2.124 GB, free: 7.152 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0107/3.392, allocations: 4.102 MB / 2.128 GB, free: 2.926 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.009729/3.401, allocations: 0.8483 MB / 2.128 GB, free: 2.074 MB / 1.482 GB Notification: Performance of pre-optimization done (n=557): time 4.115e-05/3.401, allocations: 0 / 2.128 GB, free: 2.074 MB / 1.482 GB Notification: Performance of matching and sorting (n=557): time 0.04656/3.448, allocations: 12.29 MB / 2.14 GB, free: 5.672 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003888/3.448, allocations: 0.625 MB / 2.141 GB, free: 4.922 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04162/3.49, allocations: 14.06 MB / 2.155 GB, free: 6.926 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.002321/3.492, allocations: 213.7 kB / 2.155 GB, free: 6.711 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.01348/3.506, allocations: 7.894 MB / 2.163 GB, free: 14.86 MB / 1.529 GB Notification: Performance of collectInitialBindings (initialization): time 0.004024/3.51, allocations: 1.844 MB / 2.164 GB, free: 13.03 MB / 1.529 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008046/3.518, allocations: 2.061 MB / 2.166 GB, free: 10.96 MB / 1.529 GB Notification: Performance of setup shared object (initialization): time 0.0001111/3.518, allocations: 301.1 kB / 2.167 GB, free: 10.66 MB / 1.529 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009388/3.528, allocations: 4.437 MB / 2.171 GB, free: 6.215 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01289/3.541, allocations: 7.455 MB / 2.178 GB, free: 13.5 MB / 1.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02297/3.564, allocations: 11.5 MB / 2.19 GB, free: 1.199 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001095/3.564, allocations: 24 kB / 2.19 GB, free: 1.176 MB / 1.545 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03307/3.597, allocations: 13.72 MB / 2.203 GB, free: 3.848 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 0.000191/3.597, allocations: 129.3 kB / 2.203 GB, free: 3.703 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001686/3.597, allocations: 83.94 kB / 2.203 GB, free: 3.621 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003467/3.601, allocations: 1.16 MB / 2.204 GB, free: 2.461 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008031/3.609, allocations: 1.741 MB / 2.206 GB, free: 0.8438 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006351/3.615, allocations: 4.969 MB / 2.211 GB, free: 11.75 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01471/3.63, allocations: 1.075 MB / 2.212 GB, free: 10.67 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002241/3.632, allocations: 483.9 kB / 2.212 GB, free: 10.2 MB / 1.576 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01865/3.651, allocations: 7.825 MB / 2.22 GB, free: 2.371 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01171/3.663, allocations: 7.091 MB / 2.227 GB, free: 10.02 MB / 1.592 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01843/3.681, allocations: 10.77 MB / 2.237 GB, free: 14.44 MB / 1.607 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.169e-05/3.681, allocations: 24 kB / 2.237 GB, free: 14.41 MB / 1.607 GB Notification: Performance of matching and sorting (n=1219) (initialization_lambda0): time 0.03143/3.713, allocations: 13.08 MB / 2.25 GB, free: 1.746 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001347/3.713, allocations: 129.1 kB / 2.25 GB, free: 1.602 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/3.713, allocations: 79.98 kB / 2.25 GB, free: 1.523 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002461/3.715, allocations: 0.9426 MB / 2.251 GB, free: 0.5742 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007274/3.723, allocations: 1.739 MB / 2.253 GB, free: 14.96 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/3.738, allocations: 11.06 MB / 2.264 GB, free: 3.621 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01355/3.752, allocations: 1.044 MB / 2.265 GB, free: 2.574 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002097/3.754, allocations: 455.9 kB / 2.265 GB, free: 2.129 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 171 ($PRE.stoPla.floCon.traChaLoc.enableFire,$PRE.stoPla.floCon.traRes1.enableFire,$PRE.stoPla.floCon.traChaRem.enableFire,$PRE.stoPla.floCon.traRes2.enableFire,$PRE.stoPla.floCon.traProChi.enableFire,$PRE.stoPla.floCon.traRes4.enableFire,$PRE.stoPla.floCon.traProTan.enableFire,$PRE.stoPla.floCon.traRes3.enableFire,$PRE.stoPla.floCon.traPro.enableFire,$PRE.stoPla.floCon.traTanToChi.enableFire,$PRE.stoPla.floCon.traRou.enableFire,$PRE.stoPla.floCon.traChiToTan.enableFire,stoPla.floCon.traChiToTan.t_start,$PRE.stoPla.floCon.traChiToTan.t_start,stoPla.floCon.traRou.t_start,$PRE.stoPla.floCon.traRou.t_start,stoPla.floCon.traTanToChi.t_start,$PRE.stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traPro.t_start,$PRE.stoPla.floCon.traPro.t_start,stoPla.floCon.traRes3.t_start,$PRE.stoPla.floCon.traRes3.t_start,stoPla.floCon.traProTan.t_start,$PRE.stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes4.t_start,$PRE.stoPla.floCon.traRes4.t_start,stoPla.floCon.traProChi.t_start,$PRE.stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes2.t_start,$PRE.stoPla.floCon.traRes2.t_start,stoPla.floCon.traChaRem.t_start,$PRE.stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes1.t_start,$PRE.stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaLoc.t_start,$PRE.stoPla.floCon.traChaLoc.t_start,$PRE.chiEnaSta.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.com.combiTimeTable.nextTimeEvent,$whenCondition1,stoPla.floCon.traRou.condition,stoPla.floCon.stateGraphRoot.resume,stoPla.floCon.stateGraphRoot.suspend,hys_yVal_actual.y,$PRE.hys_yVal_actual.y,chiEnaSta.combiTimeTable.nextTimeEventScaled,$PRE.chiEnaSta.combiTimeTable.nextTimeEventScaled,chiEnaSta.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEventScaled,$PRE.com.combiTimeTable.nextTimeEventScaled,com.combiTimeTable.nextTimeEvent,com.y,mLoa3_flow.nextEventScaled,mLoa3_flow.nextEvent,$PRE.mLoa3_flow.nextEvent,mLoa3_flow.last,mLoa3_flow.b,mLoa3_flow.a,mLoa2_flow.nextEventScaled,mLoa2_flow.nextEvent,$PRE.mLoa2_flow.nextEvent,mLoa2_flow.last,mLoa2_flow.b,mLoa2_flow.a,mLoa1_flow.nextEventScaled,mLoa1_flow.nextEvent,$PRE.mLoa1_flow.nextEvent,mLoa1_flow.last,mLoa1_flow.b,mLoa1_flow.a,stoPla.chiEnaSta,stoPla.tanSta.hysEmp.y,$PRE.stoPla.tanSta.hysEmp.y,stoPla.tanSta.hysCha.y,$PRE.stoPla.tanSta.hysCha.y,stoPla.floCon.traChiToTan.enableFire,stoPla.floCon.traChiToTan.condition,stoPla.floCon.traRou.enableFire,stoPla.floCon.steRou2.oldActive,$PRE.stoPla.floCon.steRou2.oldActive,stoPla.floCon.steRou2.newActive,$PRE.stoPla.floCon.steRou2.newActive,stoPla.floCon.steRou2.inPort[1].set,stoPla.floCon.steRou2.localActive,$PRE.stoPla.floCon.steRou2.localActive,stoPla.floCon.steRou2.active,stoPla.floCon.steRou1.oldActive,$PRE.stoPla.floCon.steRou1.oldActive,stoPla.floCon.steRou1.newActive,$PRE.stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou1.outPort[1].reset,stoPla.floCon.steRou1.localActive,$PRE.stoPla.floCon.steRou1.localActive,stoPla.floCon.steRou1.active,stoPla.floCon.altTanCha1.split[2].available,stoPla.floCon.traTanToChi.enableFire,stoPla.floCon.traTanToChi.condition,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.condition,stoPla.floCon.stePumSecOn.oldActive,$PRE.stoPla.floCon.stePumSecOn.oldActive,stoPla.floCon.stePumSecOn.newActive,$PRE.stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.stePumSecOn.localActive,$PRE.stoPla.floCon.stePumSecOn.localActive,stoPla.floCon.stePumSecOn.active,stoPla.floCon.alt.split[3].available,stoPla.floCon.alt.split[2].available,stoPla.floCon.expPriPumFlo.y,stoPla.floCon.traRes3.enableFire,stoPla.floCon.steProTan.oldActive,$PRE.stoPla.floCon.steProTan.oldActive,stoPla.floCon.steProTan.newActive,$PRE.stoPla.floCon.steProTan.newActive,stoPla.floCon.steProTan.outPort[2].available,stoPla.floCon.steProTan.inPort[2].occupied,stoPla.floCon.steProTan.localActive,$PRE.stoPla.floCon.steProTan.localActive,stoPla.floCon.steProTan.active,stoPla.floCon.traProTan.enableFire,stoPla.floCon.traRes4.enableFire,stoPla.floCon.steProChi.oldActive,$PRE.stoPla.floCon.steProChi.oldActive,stoPla.floCon.steProChi.newActive,$PRE.stoPla.floCon.steProChi.newActive,stoPla.floCon.steProChi.outPort[2].available,stoPla.floCon.steProChi.inPort[2].occupied,stoPla.floCon.steProChi.localActive,$PRE.stoPla.floCon.steProChi.localActive,stoPla.floCon.steProChi.active,stoPla.floCon.traProChi.enableFire,stoPla.floCon.traRes2.enableFire,stoPla.floCon.traRes2.condition,stoPla.floCon.steChaRem.oldActive,$PRE.stoPla.floCon.steChaRem.oldActive,stoPla.floCon.steChaRem.newActive,$PRE.stoPla.floCon.steChaRem.newActive,stoPla.floCon.steChaRem.localActive,$PRE.stoPla.floCon.steChaRem.localActive,stoPla.floCon.steChaRem.active,stoPla.floCon.traChaRem.enableFire,stoPla.floCon.traRes1.enableFire,stoPla.floCon.traRes1.condition,stoPla.floCon.steChaLoc.oldActive,$PRE.stoPla.floCon.steChaLoc.oldActive,stoPla.floCon.steChaLoc.newActive,$PRE.stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaLoc.localActive,$PRE.stoPla.floCon.steChaLoc.localActive,stoPla.floCon.steChaLoc.active,stoPla.floCon.traChaLoc.enableFire,stoPla.floCon.allOff.oldActive,$PRE.stoPla.floCon.allOff.oldActive,stoPla.floCon.allOff.newActive,$PRE.stoPla.floCon.allOff.newActive,stoPla.floCon.allOff.outPort[1].reset,stoPla.floCon.allOff.inPort[1].set,stoPla.floCon.allOff.localActive,$PRE.stoPla.floCon.allOff.localActive,stoPla.floCon.allOff.active,stoPla.floCon.stateGraphRoot.activeSteps,$whenCondition5,$whenCondition4,$whenCondition3,ideUse3.conPI.I.trigger_internal,ideUse2.conPI.I.trigger_internal,ideUse1.conPI.I.trigger_internal,stoPla.tanSta.gre.y,conPI_pumChi1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1034 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(4,40)} Notification: Performance of prepare postOptimizeDAE: time 0.002988/3.757, allocations: 0.9375 MB / 2.266 GB, free: 1.285 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005073/3.762, allocations: 1.381 MB / 2.268 GB, free: 15.88 MB / 1.639 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01925/3.781, allocations: 8.546 MB / 2.276 GB, free: 7.293 MB / 1.639 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.56e-05/3.781, allocations: 68.03 kB / 2.276 GB, free: 7.227 MB / 1.639 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.675e-05/3.781, allocations: 11.94 kB / 2.276 GB, free: 7.215 MB / 1.639 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01127/3.793, allocations: 6.71 MB / 2.283 GB, free: 356 kB / 1.639 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05118/3.844, allocations: 21.52 MB / 2.304 GB, free: 10.71 MB / 1.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/3.844, allocations: 0 / 2.304 GB, free: 10.71 MB / 1.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004808/3.849, allocations: 0.9441 MB / 2.304 GB, free: 9.816 MB / 1.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00198/3.851, allocations: 0.7665 MB / 2.305 GB, free: 9.055 MB / 1.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000957/3.852, allocations: 183.9 kB / 2.305 GB, free: 8.875 MB / 1.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004747/3.857, allocations: 4.725 MB / 2.31 GB, free: 3.984 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/3.857, allocations: 4 kB / 2.31 GB, free: 3.98 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02401/3.881, allocations: 12.3 MB / 2.322 GB, free: 7.457 MB / 1.686 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007956/3.889, allocations: 2.393 MB / 2.324 GB, free: 5.027 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004263/3.893, allocations: 156 kB / 2.325 GB, free: 4.875 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01152/3.904, allocations: 0.8303 MB / 2.325 GB, free: 4.047 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001648/3.906, allocations: 455.4 kB / 2.326 GB, free: 3.602 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001467/3.908, allocations: 291.7 kB / 2.326 GB, free: 3.316 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.0253/3.933, allocations: 9.409 MB / 2.335 GB, free: 9.969 MB / 1.701 GB Notification: Performance of sort global known variables: time 3.61e-07/3.933, allocations: 0 / 2.335 GB, free: 9.969 MB / 1.701 GB Notification: Performance of remove unused functions: time 0.0375/3.97, allocations: 8.126 MB / 2.343 GB, free: 1.824 MB / 1.701 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 36 (pumSup1.vol.dynBal.U,pumSup1.filter.s[1],pumSup1.filter.s[2],conPI_pumChi1.I.y,stoPla.pumPri.vol.dynBal.U,stoPla.pumPri.filter.s[1],stoPla.pumPri.filter.s[2],stoPla.tanBra.tan.vol[1].dynBal.U,stoPla.tanBra.tan.vol[2].dynBal.U,stoPla.tanBra.tan.vol[3].dynBal.U,stoPla.tanBra.tan.vol[4].dynBal.U,stoPla.tanBra.tan.vol[5].dynBal.U,stoPla.tanBra.junSup.vol.dynBal.U,stoPla.tanBra.junRet.vol.dynBal.U,stoPla.revCon.pum.vol.dynBal.U,stoPla.revCon.pum.filter.s[1],stoPla.revCon.pum.filter.s[2],stoPla.revCon.val.filter.s[1],stoPla.revCon.val.filter.s[2],stoPla.revCon.jun1.vol.dynBal.U,stoPla.revCon.jun2.vol.dynBal.U,ideUse1.val.filter.s[1],ideUse1.val.filter.s[2],ideUse1.conPI.I.y,ideUse2.val.filter.s[1],ideUse2.val.filter.s[2],ideUse2.conPI.I.y,ideUse3.val.filter.s[1],ideUse3.val.filter.s[2],ideUse3.conPI.I.y,parJunPla1.jun1.vol.dynBal.U,parJunPla1.jun2.vol.dynBal.U,parJunUse2.jun1.vol.dynBal.U,parJunUse2.jun2.vol.dynBal.U,parJunPla2.jun1.vol.dynBal.U,parJunPla2.jun2.vol.dynBal.U) * Number of discrete variables: 119 (stoPla.floCon.steRou2.localActive,stoPla.floCon.steRou1.localActive,stoPla.floCon.stePumSecOn.localActive,stoPla.floCon.steProTan.localActive,stoPla.floCon.steProChi.localActive,stoPla.floCon.steChaRem.localActive,stoPla.floCon.steChaLoc.localActive,stoPla.floCon.allOff.localActive,$cse37,$cse38,$cse39,$cse40,$cse41,$cse42,$cse43,$cse44,$cse45,$cse46,$cse47,$cse48,$cse49,$cse50,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,stoPla.floCon.stateGraphRoot.activeSteps,stoPla.floCon.allOff.active,stoPla.floCon.allOff.inPort[1].set,stoPla.floCon.allOff.outPort[1].reset,stoPla.floCon.allOff.newActive,stoPla.floCon.allOff.oldActive,stoPla.floCon.traChaLoc.enableFire,stoPla.floCon.steChaLoc.active,stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaLoc.oldActive,stoPla.floCon.traRes1.condition,stoPla.floCon.traRes1.enableFire,stoPla.floCon.traChaRem.enableFire,stoPla.floCon.steChaRem.active,stoPla.floCon.steChaRem.newActive,stoPla.floCon.steChaRem.oldActive,stoPla.floCon.traRes2.condition,stoPla.floCon.traRes2.enableFire,stoPla.floCon.traProChi.enableFire,stoPla.floCon.steProChi.active,stoPla.floCon.steProChi.inPort[2].occupied,stoPla.floCon.steProChi.outPort[2].available,stoPla.floCon.steProChi.newActive,stoPla.floCon.steProChi.oldActive,stoPla.floCon.traRes4.enableFire,stoPla.floCon.traProTan.enableFire,stoPla.floCon.steProTan.active,stoPla.floCon.steProTan.inPort[2].occupied,stoPla.floCon.steProTan.outPort[2].available,stoPla.floCon.steProTan.newActive,stoPla.floCon.steProTan.oldActive,stoPla.floCon.traRes3.enableFire,stoPla.floCon.expPriPumFlo.y,stoPla.floCon.alt.split[2].available,stoPla.floCon.alt.split[3].available,stoPla.floCon.stePumSecOn.active,stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.stePumSecOn.oldActive,stoPla.floCon.traPro.condition,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traTanToChi.condition,stoPla.floCon.traTanToChi.enableFire,stoPla.floCon.altTanCha1.split[2].available,stoPla.floCon.steRou1.active,stoPla.floCon.steRou1.outPort[1].reset,stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou1.oldActive,stoPla.floCon.steRou2.active,stoPla.floCon.steRou2.inPort[1].set,stoPla.floCon.steRou2.newActive,stoPla.floCon.steRou2.oldActive,stoPla.floCon.traRou.enableFire,stoPla.floCon.traChiToTan.condition,stoPla.floCon.traChiToTan.enableFire,stoPla.tanSta.hysCha.y,stoPla.tanSta.hysEmp.y,stoPla.chiEnaSta,mLoa1_flow.a,mLoa1_flow.b,mLoa1_flow.last,mLoa1_flow.nextEvent,mLoa1_flow.nextEventScaled,mLoa2_flow.a,mLoa2_flow.b,mLoa2_flow.last,mLoa2_flow.nextEvent,mLoa2_flow.nextEventScaled,mLoa3_flow.a,mLoa3_flow.b,mLoa3_flow.last,mLoa3_flow.nextEvent,mLoa3_flow.nextEventScaled,com.y,com.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEventScaled,chiEnaSta.combiTimeTable.nextTimeEvent,chiEnaSta.combiTimeTable.nextTimeEventScaled,hys_yVal_actual.y,stoPla.floCon.traChaLoc.t_start,stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes2.t_start,stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes4.t_start,stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes3.t_start,stoPla.floCon.traPro.t_start,stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traRou.t_start,stoPla.floCon.traChiToTan.t_start) * Number of discrete states: 45 (stoPla.floCon.traChiToTan.t_start,stoPla.floCon.traRou.t_start,stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traPro.t_start,stoPla.floCon.traRes3.t_start,stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes4.t_start,stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes2.t_start,stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaLoc.t_start,chiEnaSta.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEvent,stoPla.floCon.allOff.newActive,stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaRem.newActive,stoPla.floCon.steProChi.newActive,stoPla.floCon.steProTan.newActive,stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou2.newActive,stoPla.tanSta.hysCha.y,stoPla.tanSta.hysEmp.y,mLoa1_flow.nextEvent,mLoa1_flow.last,mLoa1_flow.nextEventScaled,mLoa1_flow.b,mLoa1_flow.a,$whenCondition5,mLoa2_flow.nextEvent,mLoa2_flow.last,mLoa2_flow.nextEventScaled,mLoa2_flow.b,mLoa2_flow.a,$whenCondition4,mLoa3_flow.nextEvent,mLoa3_flow.last,mLoa3_flow.nextEventScaled,mLoa3_flow.b,mLoa3_flow.a,$whenCondition3,hys_yVal_actual.y,chiEnaSta.combiTimeTable.nextTimeEventScaled,com.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (543): * Single equations (assignments): 501 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 12 * When equations: 24 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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): 1 system {(5,41)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007622/3.978, allocations: 2.912 MB / 2.346 GB, free: 15.34 MB / 1.717 GB Notification: Performance of simCode: created initialization part: time 0.5983/4.576, allocations: 22.11 MB / 2.368 GB, free: 0.8068 GB / 1.717 GB Notification: Performance of simCode: created event and clocks part: time 1.827e-05/4.576, allocations: 10.19 kB / 2.368 GB, free: 0.8068 GB / 1.717 GB Notification: Performance of simCode: created simulation system equations: time 0.007189/4.584, allocations: 4.046 MB / 2.372 GB, free: 0.8064 GB / 1.717 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0354/4.619, allocations: 7.387 MB / 2.379 GB, free: 0.8057 GB / 1.717 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05991/4.679, allocations: 34.14 MB / 2.412 GB, free: 0.7909 GB / 1.717 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01416/4.693, allocations: 7.786 MB / 2.42 GB, free: 0.789 GB / 1.717 GB Notification: Performance of simCode: alias equations: time 0.02321/4.716, allocations: 3.657 MB / 2.423 GB, free: 0.7885 GB / 1.717 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005074/4.722, allocations: 1.04 MB / 2.424 GB, free: 0.7884 GB / 1.717 GB Notification: Performance of SimCode: time 7.32e-07/4.722, allocations: 0 / 2.424 GB, free: 0.7884 GB / 1.717 GB Notification: Performance of Templates: time 0.4035/5.125, allocations: 279.6 MB / 2.697 GB, free: 0.5497 GB / 1.717 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_latest_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:175:6: error: redefinition of 'residualFunc683' void residualFunc683(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:113:6: note: previous definition is here void residualFunc683(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:201:6: error: redefinition of 'initializeSparsePatternNLS683' void initializeSparsePatternNLS683(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:139:6: note: previous definition is here void initializeSparsePatternNLS683(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:206:6: error: redefinition of 'initializeNonlinearPatternNLS683' void initializeNonlinearPatternNLS683(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:144:6: note: previous definition is here void initializeNonlinearPatternNLS683(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:212:6: error: redefinition of 'initializeStaticDataNLS683' void initializeStaticDataNLS683(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:150:6: note: previous definition is here void initializeStaticDataNLS683(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:229:6: error: redefinition of 'getIterationVarsNLS683' void getIterationVarsNLS683(DATA* data, double *array) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:167:6: note: previous definition is here void getIterationVarsNLS683(DATA* data, double *array) ^ 5 errors generated. make: *** [: Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o] Error 1