Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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.Experimental.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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource") translateModel(Buildings.Experimental.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_10_Buildings.Experimental.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.001078/0.001078, allocations: 104.4 kB / 16.35 MB, free: 5.824 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.001123/0.001123, allocations: 192.9 kB / 17.29 MB, free: 5.48 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.375/2.375, allocations: 437.1 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 59.91 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2915, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.684/1.975, allocations: 0.5504 GB / 1.569 GB, free: 87.3 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.1228/2.098, allocations: 116.4 MB / 1.683 GB, free: 85.79 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02104/2.119, allocations: 0.606 MB / 1.683 GB, free: 85.79 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.03739/2.157, allocations: 21.52 MB / 1.704 GB, free: 83.21 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.05294/2.21, allocations: 19.64 MB / 1.724 GB, free: 74.52 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.03416/2.244, allocations: 14.84 MB / 1.738 GB, free: 64.68 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.08251/2.326, allocations: 65.55 MB / 1.802 GB, free: 11.1 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03468/2.361, allocations: 19.62 MB / 1.821 GB, free: 7.582 MB / 1.248 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04425/2.405, allocations: 18.65 MB / 1.839 GB, free: 5.992 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02513/2.431, allocations: 13.48 MB / 1.853 GB, free: 9.508 MB / 1.279 GB Notification: Performance of NFPackage.collectConstants: time 0.008515/2.439, allocations: 2.254 MB / 1.855 GB, free: 7.254 MB / 1.279 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02804/2.467, allocations: 8.463 MB / 1.863 GB, free: 15.17 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.01259/2.48, allocations: 5.535 MB / 1.868 GB, free: 9.715 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.0279/2.508, allocations: 11.22 MB / 1.879 GB, free: 14.55 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.0579/2.566, allocations: 36.51 MB / 1.915 GB, free: 10.91 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/2.566, allocations: 0 / 1.915 GB, free: 10.91 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.242e-06/2.566, allocations: 0 / 1.915 GB, free: 10.91 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001044/2.567, allocations: 0 / 1.915 GB, free: 10.91 MB / 1.342 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.05467/2.622, allocations: 20.54 MB / 1.935 GB, free: 6.309 MB / 1.357 GB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/2.622, allocations: 8.922 kB / 1.935 GB, free: 6.301 MB / 1.357 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01363/2.635, allocations: 2.522 MB / 1.938 GB, free: 3.754 MB / 1.357 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04665/2.682, allocations: 20.54 MB / 1.958 GB, free: 15.49 MB / 1.389 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001043/2.683, allocations: 0.8797 MB / 1.959 GB, free: 14.61 MB / 1.389 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004497/2.688, allocations: 1.166 MB / 1.96 GB, free: 13.45 MB / 1.389 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04126/2.729, allocations: 14.23 MB / 1.974 GB, free: 14.72 MB / 1.404 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004826/2.729, allocations: 31.73 kB / 1.974 GB, free: 14.69 MB / 1.404 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003871/2.733, allocations: 479.3 kB / 1.974 GB, free: 14.22 MB / 1.404 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004252/2.734, allocations: 428.9 kB / 1.974 GB, free: 13.8 MB / 1.404 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02963/2.763, allocations: 10.8 MB / 1.985 GB, free: 2.988 MB / 1.404 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.12/2.883, allocations: 73.21 MB / 2.057 GB, free: 5.605 MB / 1.482 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01286/2.896, allocations: 5.876 MB / 2.062 GB, free: 15.66 MB / 1.498 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007136/2.903, allocations: 3.843 MB / 2.066 GB, free: 11.77 MB / 1.498 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.03791/2.941, allocations: 17.25 MB / 2.083 GB, free: 10.01 MB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008935/2.95, allocations: 4.05 MB / 2.087 GB, free: 5.824 MB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005832/2.956, allocations: 0.6017 MB / 2.087 GB, free: 5.219 MB / 1.514 GB Notification: Performance of pre-optimization done (n=547): time 3.312e-05/2.956, allocations: 0 / 2.087 GB, free: 5.219 MB / 1.514 GB Notification: Performance of matching and sorting (n=547): time 0.9634/3.92, allocations: 12.15 MB / 2.099 GB, free: 0.6634 GB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001768/3.92, allocations: 0.6185 MB / 2.1 GB, free: 0.6627 GB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02966/3.95, allocations: 14.28 MB / 2.114 GB, free: 0.6578 GB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.001546/3.951, allocations: 211.6 kB / 2.114 GB, free: 0.6576 GB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.008845/3.96, allocations: 7.867 MB / 2.122 GB, free: 0.653 GB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002962/3.963, allocations: 1.809 MB / 2.123 GB, free: 0.6516 GB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003521/3.967, allocations: 2.039 MB / 2.125 GB, free: 0.6507 GB / 1.514 GB Notification: Performance of setup shared object (initialization): time 3.973e-05/3.967, allocations: 307.9 kB / 2.126 GB, free: 0.6504 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006688/3.973, allocations: 4.391 MB / 2.13 GB, free: 0.6486 GB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009137/3.982, allocations: 7.404 MB / 2.137 GB, free: 0.6433 GB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01578/3.998, allocations: 11.4 MB / 2.148 GB, free: 0.6363 GB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001548/3.998, allocations: 21.16 kB / 2.148 GB, free: 0.6363 GB / 1.514 GB Notification: Performance of matching and sorting (n=1209) (initialization): time 0.02755/4.026, allocations: 13.61 MB / 2.162 GB, free: 0.6307 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001716/4.026, allocations: 132.3 kB / 2.162 GB, free: 0.6306 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001321/4.026, allocations: 74.97 kB / 2.162 GB, free: 0.6306 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00302/4.029, allocations: 1.178 MB / 2.163 GB, free: 0.6303 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007059/4.036, allocations: 1.713 MB / 2.165 GB, free: 0.6301 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005015/4.041, allocations: 4.961 MB / 2.17 GB, free: 0.6265 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01097/4.052, allocations: 479 kB / 2.17 GB, free: 0.6264 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001865/4.054, allocations: 469.9 kB / 2.17 GB, free: 0.6263 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01588/4.07, allocations: 7.788 MB / 2.178 GB, free: 0.6227 GB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01018/4.08, allocations: 7.049 MB / 2.185 GB, free: 0.6175 GB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01469/4.095, allocations: 10.68 MB / 2.195 GB, free: 0.6107 GB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.624e-05/4.095, allocations: 18.97 kB / 2.195 GB, free: 0.6107 GB / 1.514 GB Notification: Performance of matching and sorting (n=1209) (initialization_lambda0): time 0.02607/4.121, allocations: 12.97 MB / 2.208 GB, free: 0.6048 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001234/4.122, allocations: 132.8 kB / 2.208 GB, free: 0.6047 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001163/4.122, allocations: 72 kB / 2.208 GB, free: 0.6046 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002199/4.124, allocations: 0.9365 MB / 2.209 GB, free: 0.6038 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006768/4.131, allocations: 1.717 MB / 2.211 GB, free: 0.6024 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01281/4.144, allocations: 11.05 MB / 2.222 GB, free: 0.5924 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01093/4.155, allocations: 0.5072 MB / 2.222 GB, free: 0.592 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001583/4.156, allocations: 449 kB / 2.223 GB, free: 0.5916 GB / 1.514 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.localCondition,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.localCondition,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.localCondition,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.localCondition,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.localCondition,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 (1036): * Single equations (assignments): 1024 * 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.003026/4.159, allocations: 0.9317 MB / 2.223 GB, free: 0.5906 GB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004385/4.164, allocations: 1.377 MB / 2.225 GB, free: 0.5893 GB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01753/4.181, allocations: 8.327 MB / 2.233 GB, free: 0.5812 GB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.952e-05/4.181, allocations: 60 kB / 2.233 GB, free: 0.5812 GB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.143e-05/4.181, allocations: 8.156 kB / 2.233 GB, free: 0.5812 GB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01043/4.192, allocations: 6.549 MB / 2.239 GB, free: 0.5746 GB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04573/4.237, allocations: 21.52 MB / 2.26 GB, free: 0.5535 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-05/4.237, allocations: 4 kB / 2.26 GB, free: 0.5535 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004219/4.242, allocations: 0.9186 MB / 2.261 GB, free: 0.5526 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/4.243, allocations: 0.7251 MB / 2.262 GB, free: 0.5519 GB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007781/4.244, allocations: 179.9 kB / 2.262 GB, free: 0.5517 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003681/4.248, allocations: 4.729 MB / 2.267 GB, free: 0.5469 GB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/4.248, allocations: 4 kB / 2.267 GB, free: 0.5469 GB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01995/4.268, allocations: 12.06 MB / 2.279 GB, free: 0.5349 GB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006962/4.275, allocations: 2.408 MB / 2.281 GB, free: 0.5325 GB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003658/4.278, allocations: 152 kB / 2.281 GB, free: 0.5324 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007698/4.286, allocations: 310.8 kB / 2.281 GB, free: 0.5321 GB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009406/4.287, allocations: 439.7 kB / 2.282 GB, free: 0.5317 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00083/4.288, allocations: 279.8 kB / 2.282 GB, free: 0.5314 GB / 1.514 GB Notification: Performance of sorting global known variables: time 0.0181/4.306, allocations: 9.587 MB / 2.291 GB, free: 0.5221 GB / 1.514 GB Notification: Performance of sort global known variables: time 1.343e-06/4.306, allocations: 3.938 kB / 2.291 GB, free: 0.5221 GB / 1.514 GB Notification: Performance of remove unused functions: time 0.02499/4.331, allocations: 7.89 MB / 2.299 GB, free: 0.5145 GB / 1.514 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.active,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.localCondition,stoPla.floCon.traRes1.enableFire,stoPla.floCon.traChaRem.enableFire,stoPla.floCon.steChaRem.localActive,stoPla.floCon.steChaRem.newActive,stoPla.floCon.steChaRem.oldActive,stoPla.floCon.traRes2.localCondition,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.localCondition,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traTanToChi.localCondition,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.localCondition,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 (523): * Single equations (assignments): 481 * 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 {(4,42)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006395/4.338, allocations: 3.07 MB / 2.302 GB, free: 0.5123 GB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.02723/4.365, allocations: 16.29 MB / 2.318 GB, free: 0.4963 GB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.732e-05/4.365, allocations: 7.812 kB / 2.318 GB, free: 0.4963 GB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.007129/4.372, allocations: 3.947 MB / 2.322 GB, free: 0.4924 GB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03184/4.404, allocations: 7.335 MB / 2.329 GB, free: 497.2 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04665/4.451, allocations: 27.78 MB / 2.356 GB, free: 469.4 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008334/4.459, allocations: 7.781 MB / 2.364 GB, free: 461.6 MB / 1.514 GB Notification: Performance of simCode: alias equations: time 0.01324/4.472, allocations: 3.651 MB / 2.367 GB, free: 458 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003033/4.475, allocations: 1.034 MB / 2.368 GB, free: 457 MB / 1.514 GB Notification: Performance of SimCode: time 7.21e-07/4.475, allocations: 3.938 kB / 2.368 GB, free: 456.9 MB / 1.514 GB Notification: Performance of Templates: time 0.366/4.841, allocations: 280.1 MB / 2.642 GB, free: 179 MB / 1.514 GB make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile make -j1 -f Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile clang -Os -DOM_HAVE_PTHREADS -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource.c clang -Os -DOM_HAVE_PTHREADS -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.c clang -Os -DOM_HAVE_PTHREADS -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.c clang -Os -DOM_HAVE_PTHREADS -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.c clang -Os -DOM_HAVE_PTHREADS -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_10_Buildings_Experimental_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_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:197:6: error: redefinition of 'residualFunc693' void residualFunc693(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:124:6: note: previous definition is here void residualFunc693(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:223:6: error: redefinition of 'initializeSparsePatternNLS693' void initializeSparsePatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:150:6: note: previous definition is here void initializeSparsePatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:229:6: error: redefinition of 'freeSparsePatternNLS693' void freeSparsePatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:156:6: note: previous definition is here void freeSparsePatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:233:6: error: redefinition of 'initializeNonlinearPatternNLS693' void initializeNonlinearPatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:160:6: note: previous definition is here void initializeNonlinearPatternNLS693(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:239:6: error: redefinition of 'initializeStaticDataNLS693' void initializeStaticDataNLS693(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:166:6: note: previous definition is here void initializeStaticDataNLS693(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern, modelica_boolean initNonlinearPattern) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:256:6: error: redefinition of 'freeStaticDataNLS693' void freeStaticDataNLS693(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:183:6: note: previous definition is here void freeStaticDataNLS693(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:262:6: error: redefinition of 'getIterationVarsNLS693' void getIterationVarsNLS693(DATA* data, double *array) ^ Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:189:6: note: previous definition is here void getIterationVarsNLS693(DATA* data, double *array) ^ 7 errors generated. make: *** [: Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o] Error 1