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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.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(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.001155/0.001155, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001291/0.001291, allocations: 194.6 kB / 16.14 MB, free: 6.648 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.443/1.443, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.977/2.977, allocations: 461.8 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 65.38 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3897, allocations: 157.4 MB / 1.052 GB, free: 8.906 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.171/1.561, allocations: 0.5468 GB / 1.599 GB, free: 15.01 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.1634/1.724, allocations: 116.4 MB / 1.713 GB, free: 10.3 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02511/1.749, allocations: 0.5591 MB / 1.713 GB, free: 9.742 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.04478/1.794, allocations: 20.26 MB / 1.733 GB, free: 5.43 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.05662/1.851, allocations: 18.21 MB / 1.751 GB, free: 3.16 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.8488/2.7, allocations: 13.61 MB / 1.764 GB, free: 75.08 MB / 1.342 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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:1088:9-1088: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.1187/2.818, allocations: 79.09 MB / 1.841 GB, free: 74.91 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04292/2.861, allocations: 15.83 MB / 1.857 GB, free: 72.65 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05077/2.912, allocations: 15.12 MB / 1.871 GB, free: 71.84 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03812/2.95, allocations: 13.18 MB / 1.884 GB, free: 69.47 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.0124/2.963, allocations: 0.9172 MB / 1.885 GB, free: 69.47 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0372/3, allocations: 6.683 MB / 1.892 GB, free: 69.46 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01433/3.015, allocations: 4.226 MB / 1.896 GB, free: 68.75 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.03756/3.052, allocations: 9.752 MB / 1.905 GB, free: 65.2 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.06768/3.12, allocations: 34.32 MB / 1.939 GB, free: 40.23 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/3.12, allocations: 2.062 kB / 1.939 GB, free: 40.23 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.024e-06/3.12, allocations: 0 / 1.939 GB, free: 40.23 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001563/3.122, allocations: 0 / 1.939 GB, free: 40.23 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.07417/3.196, allocations: 20.55 MB / 1.959 GB, free: 23.28 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/3.196, allocations: 12.03 kB / 1.959 GB, free: 23.27 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01914/3.215, allocations: 2.518 MB / 1.961 GB, free: 20.73 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05328/3.268, allocations: 20.38 MB / 1.981 GB, free: 8.504 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001405/3.27, allocations: 0.8894 MB / 1.982 GB, free: 7.988 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005933/3.276, allocations: 1.159 MB / 1.983 GB, free: 7.207 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04983/3.326, allocations: 14.26 MB / 1.997 GB, free: 13.46 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008523/3.326, allocations: 24 kB / 1.997 GB, free: 13.45 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005816/3.332, allocations: 468.8 kB / 1.998 GB, free: 13.34 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006985/3.333, allocations: 436.4 kB / 1.998 GB, free: 12.92 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03576/3.369, allocations: 10.92 MB / 2.009 GB, free: 2.742 MB / 1.357 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.1298/3.499, allocations: 72.55 MB / 2.08 GB, free: 6.641 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01481/3.513, allocations: 6.229 MB / 2.086 GB, free: 356 kB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01039/3.524, allocations: 3.889 MB / 2.09 GB, free: 12.42 MB / 1.451 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.04633/3.57, allocations: 17.28 MB / 2.106 GB, free: 10.63 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01084/3.581, allocations: 4.114 MB / 2.11 GB, free: 6.391 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01075/3.592, allocations: 0.9651 MB / 2.111 GB, free: 5.422 MB / 1.467 GB Notification: Performance of pre-optimization done (n=557): time 3.246e-05/3.592, allocations: 0 / 2.111 GB, free: 5.422 MB / 1.467 GB Notification: Performance of matching and sorting (n=557): time 0.04309/3.635, allocations: 12.19 MB / 2.123 GB, free: 9.109 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003892/3.636, allocations: 0.6201 MB / 2.124 GB, free: 8.359 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0393/3.675, allocations: 14.06 MB / 2.138 GB, free: 10.36 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.002181/3.677, allocations: 209.7 kB / 2.138 GB, free: 10.15 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.01247/3.69, allocations: 7.888 MB / 2.146 GB, free: 2.293 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.003923/3.694, allocations: 1.844 MB / 2.147 GB, free: 480 kB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01019/3.704, allocations: 2.051 MB / 2.149 GB, free: 14.41 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/3.704, allocations: 311.6 kB / 2.15 GB, free: 14.11 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01193/3.716, allocations: 4.417 MB / 2.154 GB, free: 9.68 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0147/3.731, allocations: 7.442 MB / 2.161 GB, free: 0.9844 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02221/3.753, allocations: 11.46 MB / 2.172 GB, free: 4.719 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001114/3.753, allocations: 20 kB / 2.172 GB, free: 4.699 MB / 1.529 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.03807/3.791, allocations: 13.68 MB / 2.186 GB, free: 7.422 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002122/3.791, allocations: 131.6 kB / 2.186 GB, free: 7.277 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000152/3.792, allocations: 76.88 kB / 2.186 GB, free: 7.203 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003592/3.795, allocations: 1.162 MB / 2.187 GB, free: 6.035 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008255/3.803, allocations: 1.733 MB / 2.189 GB, free: 4.43 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006194/3.81, allocations: 4.753 MB / 2.193 GB, free: 15.55 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01442/3.824, allocations: 1.082 MB / 2.194 GB, free: 14.46 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/3.827, allocations: 479.9 kB / 2.195 GB, free: 14 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01957/3.846, allocations: 7.807 MB / 2.203 GB, free: 6.184 MB / 1.561 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.01181/3.858, allocations: 7.079 MB / 2.209 GB, free: 13.85 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01878/3.877, allocations: 10.73 MB / 2.22 GB, free: 2.305 MB / 1.576 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001102/3.877, allocations: 20 kB / 2.22 GB, free: 2.285 MB / 1.576 GB Notification: Performance of matching and sorting (n=1219) (initialization_lambda0): time 0.0333/3.91, allocations: 13.03 MB / 2.233 GB, free: 5.668 MB / 1.592 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001818/3.911, allocations: 133.1 kB / 2.233 GB, free: 5.52 MB / 1.592 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/3.911, allocations: 76 kB / 2.233 GB, free: 5.445 MB / 1.592 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002628/3.913, allocations: 0.9473 MB / 2.234 GB, free: 4.496 MB / 1.592 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008024/3.921, allocations: 1.736 MB / 2.236 GB, free: 2.887 MB / 1.592 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01685/3.938, allocations: 10.16 MB / 2.245 GB, free: 8.445 MB / 1.607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01727/3.956, allocations: 1.028 MB / 2.246 GB, free: 7.418 MB / 1.607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002792/3.958, allocations: 459.9 kB / 2.247 GB, free: 6.969 MB / 1.607 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.004736/3.963, allocations: 0.9416 MB / 2.248 GB, free: 6.121 MB / 1.607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005873/3.969, allocations: 1.373 MB / 2.249 GB, free: 4.73 MB / 1.607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02394/3.993, allocations: 8.45 MB / 2.257 GB, free: 12.24 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.234e-05/3.993, allocations: 64 kB / 2.257 GB, free: 12.18 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.6e-05/3.993, allocations: 4 kB / 2.257 GB, free: 12.17 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01442/4.008, allocations: 6.65 MB / 2.264 GB, free: 5.367 MB / 1.623 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.058/4.066, allocations: 22.41 MB / 2.286 GB, free: 14.65 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.469e-05/4.066, allocations: 4 kB / 2.286 GB, free: 14.65 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004863/4.071, allocations: 0.9283 MB / 2.287 GB, free: 13.77 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001974/4.073, allocations: 0.7374 MB / 2.287 GB, free: 13.03 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001001/4.074, allocations: 179.9 kB / 2.288 GB, free: 12.86 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004686/4.078, allocations: 4.512 MB / 2.292 GB, free: 8.184 MB / 1.654 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/4.078, allocations: 10.14 kB / 2.292 GB, free: 8.176 MB / 1.654 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02616/4.104, allocations: 12.25 MB / 2.304 GB, free: 11.71 MB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008239/4.113, allocations: 2.393 MB / 2.306 GB, free: 9.285 MB / 1.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004452/4.117, allocations: 156 kB / 2.307 GB, free: 9.133 MB / 1.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01094/4.128, allocations: 0.8694 MB / 2.307 GB, free: 8.266 MB / 1.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001597/4.13, allocations: 443.2 kB / 2.308 GB, free: 7.832 MB / 1.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00141/4.131, allocations: 283.8 kB / 2.308 GB, free: 7.555 MB / 1.67 GB Notification: Performance of sorting global known variables: time 0.02366/4.155, allocations: 9.424 MB / 2.317 GB, free: 14.19 MB / 1.686 GB Notification: Performance of sort global known variables: time 8.31e-07/4.155, allocations: 0 / 2.317 GB, free: 14.19 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.03871/4.194, allocations: 8.111 MB / 2.325 GB, free: 6.059 MB / 1.686 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 (533): * Single equations (assignments): 491 * 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.008312/4.202, allocations: 2.908 MB / 2.328 GB, free: 3.578 MB / 1.686 GB Notification: Performance of simCode: created initialization part: time 0.03457/4.237, allocations: 16.36 MB / 2.344 GB, free: 3.633 MB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.761e-05/4.237, allocations: 5.875 kB / 2.344 GB, free: 3.629 MB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.6201/4.857, allocations: 3.983 MB / 2.348 GB, free: 0.803 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0418/4.899, allocations: 7.125 MB / 2.355 GB, free: 0.8028 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08802/4.987, allocations: 33.91 MB / 2.388 GB, free: 0.7884 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0202/5.007, allocations: 7.773 MB / 2.396 GB, free: 0.7874 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.02757/5.034, allocations: 3.633 MB / 2.399 GB, free: 0.7869 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006954/5.041, allocations: 1.027 MB / 2.4 GB, free: 0.7869 GB / 1.701 GB Notification: Performance of SimCode: time 1.984e-06/5.041, allocations: 0 / 2.4 GB, free: 0.7869 GB / 1.701 GB Notification: Performance of Templates: time 0.4293/5.471, allocations: 272 MB / 2.666 GB, free: 0.5579 GB / 1.701 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:161:6: error: redefinition of 'residualFunc686' void residualFunc686(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:106:6: note: previous definition is here void residualFunc686(RESIDUAL_USERDATA* userData, const double* xloc, double* res, const int* iflag) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:187:6: error: redefinition of 'initializeSparsePatternNLS686' void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:132:6: note: previous definition is here void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:194:6: error: redefinition of 'initializeStaticDataNLS686' void initializeStaticDataNLS686(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:139:6: note: previous definition is here void initializeStaticDataNLS686(DATA* data, threadData_t *threadData, NONLINEAR_SYSTEM_DATA *sysData, modelica_boolean initSparsePattern) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:208:6: error: redefinition of 'getIterationVarsNLS686' void getIterationVarsNLS686(DATA* data, double *array) ^ Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:153:6: note: previous definition is here void getIterationVarsNLS686(DATA* data, double *array) ^ 4 errors generated. make: *** [: Buildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o] Error 1