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.001581/0.001581, allocations: 105.6 kB / 16.27 MB, free: 6.414 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.001666/0.001666, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.33/1.33, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.653/2.653, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 64.52 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7268/0.7287, allocations: 162.2 MB / 1.083 GB, free: 1.879 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.156/1.885, allocations: 0.5507 GB / 1.634 GB, free: 84.93 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.124/2.009, allocations: 116.3 MB / 1.747 GB, free: 68.14 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02392/2.033, allocations: 0.6094 MB / 1.748 GB, free: 68.13 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.03862/2.071, allocations: 22.5 MB / 1.77 GB, free: 55.43 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.04883/2.12, allocations: 19.47 MB / 1.789 GB, free: 39.45 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.02983/2.15, allocations: 14.63 MB / 1.803 GB, free: 26.32 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.07633/2.227, allocations: 64.3 MB / 1.866 GB, free: 12.03 MB / 1.295 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03206/2.259, allocations: 19.51 MB / 1.885 GB, free: 8.617 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04258/2.301, allocations: 19.03 MB / 1.903 GB, free: 6.652 MB / 1.326 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02463/2.326, allocations: 13.14 MB / 1.916 GB, free: 10.4 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.008106/2.334, allocations: 2.23 MB / 1.918 GB, free: 8.172 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02573/2.36, allocations: 8.407 MB / 1.927 GB, free: 144 kB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.01079/2.371, allocations: 5.447 MB / 1.932 GB, free: 10.76 MB / 1.357 GB Notification: Performance of NFVerifyModel.verify: time 0.02638/2.397, allocations: 11.14 MB / 1.943 GB, free: 15.66 MB / 1.373 GB Notification: Performance of NFConvertDAE.convert: time 0.05972/2.457, allocations: 34.88 MB / 1.977 GB, free: 13.65 MB / 1.404 GB Notification: Performance of FrontEnd - DAE generated: time 1.082e-05/2.457, allocations: 0 / 1.977 GB, free: 13.65 MB / 1.404 GB Notification: Performance of FrontEnd: time 2.204e-06/2.457, allocations: 3.938 kB / 1.977 GB, free: 13.65 MB / 1.404 GB Notification: Performance of Transformations before backend: time 0.00111/2.458, allocations: 4 kB / 1.977 GB, free: 13.64 MB / 1.404 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2833 * Number of variables: 2833 Notification: Performance of Generate backend data structure: time 0.05804/2.516, allocations: 20.33 MB / 1.997 GB, free: 9.254 MB / 1.42 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/2.516, allocations: 11.98 kB / 1.997 GB, free: 9.242 MB / 1.42 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0129/2.529, allocations: 2.503 MB / 1.999 GB, free: 6.715 MB / 1.42 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04237/2.571, allocations: 19.79 MB / 2.019 GB, free: 3.215 MB / 1.436 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001045/2.572, allocations: 0.8855 MB / 2.019 GB, free: 2.332 MB / 1.436 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004003/2.577, allocations: 1.146 MB / 2.021 GB, free: 1.191 MB / 1.436 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03629/2.613, allocations: 14.18 MB / 2.034 GB, free: 2.508 MB / 1.451 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002837/2.613, allocations: 39.59 kB / 2.034 GB, free: 2.469 MB / 1.451 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002177/2.615, allocations: 470.2 kB / 2.035 GB, free: 2.012 MB / 1.451 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002924/2.616, allocations: 311.9 kB / 2.035 GB, free: 1.707 MB / 1.451 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02559/2.641, allocations: 10.7 MB / 2.046 GB, free: 6.996 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 removeSimpleEquations (simulation): time 0.664/3.305, allocations: 74.49 MB / 2.118 GB, free: 0.5939 GB / 1.514 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01284/3.318, allocations: 5.955 MB / 2.124 GB, free: 0.5934 GB / 1.514 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007043/3.325, allocations: 3.83 MB / 2.128 GB, free: 0.5922 GB / 1.514 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.03456/3.36, allocations: 16.93 MB / 2.144 GB, free: 0.5821 GB / 1.514 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008002/3.368, allocations: 4.029 MB / 2.148 GB, free: 0.5805 GB / 1.514 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00564/3.374, allocations: 0.5952 MB / 2.149 GB, free: 0.5804 GB / 1.514 GB Notification: Performance of pre-optimization done (n=533): time 3.272e-05/3.374, allocations: 0 / 2.149 GB, free: 0.5804 GB / 1.514 GB Notification: Performance of matching and sorting (n=533): time 0.03802/3.412, allocations: 12.12 MB / 2.161 GB, free: 0.577 GB / 1.514 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/3.412, allocations: 0.6229 MB / 2.161 GB, free: 0.5764 GB / 1.514 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03215/3.444, allocations: 14.12 MB / 2.175 GB, free: 0.5714 GB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.00172/3.446, allocations: 212.4 kB / 2.175 GB, free: 0.5713 GB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.008278/3.454, allocations: 7.85 MB / 2.183 GB, free: 0.5656 GB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.002622/3.457, allocations: 1.757 MB / 2.185 GB, free: 0.5642 GB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003646/3.46, allocations: 2.006 MB / 2.187 GB, free: 0.5631 GB / 1.514 GB Notification: Performance of setup shared object (initialization): time 5.422e-05/3.461, allocations: 313 kB / 2.187 GB, free: 0.5628 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006496/3.467, allocations: 4.364 MB / 2.191 GB, free: 0.5605 GB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009117/3.476, allocations: 7.371 MB / 2.198 GB, free: 0.5546 GB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01591/3.492, allocations: 11.29 MB / 2.209 GB, free: 0.547 GB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.503e-05/3.492, allocations: 21.47 kB / 2.21 GB, free: 0.547 GB / 1.514 GB Notification: Performance of matching and sorting (n=1188) (initialization): time 0.02638/3.519, allocations: 13.5 MB / 2.223 GB, free: 0.5404 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001183/3.519, allocations: 128.8 kB / 2.223 GB, free: 0.5403 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.771e-05/3.519, allocations: 81.67 kB / 2.223 GB, free: 0.5403 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00275/3.522, allocations: 1.154 MB / 2.224 GB, free: 0.5398 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006317/3.528, allocations: 1.671 MB / 2.226 GB, free: 0.5394 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/3.532, allocations: 4.972 MB / 2.231 GB, free: 0.5355 GB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01084/3.543, allocations: 0.5028 MB / 2.231 GB, free: 0.5352 GB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00168/3.545, allocations: 468.4 kB / 2.231 GB, free: 0.5351 GB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01362/3.559, allocations: 7.711 MB / 2.239 GB, free: 0.5308 GB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007326/3.566, allocations: 7.003 MB / 2.246 GB, free: 0.5237 GB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01263/3.579, allocations: 10.58 MB / 2.256 GB, free: 0.5125 GB / 1.514 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.594e-05/3.579, allocations: 20 kB / 2.256 GB, free: 0.5124 GB / 1.514 GB Notification: Performance of matching and sorting (n=1188) (initialization_lambda0): time 0.02173/3.601, allocations: 12.85 MB / 2.269 GB, free: 0.4999 GB / 1.514 GB Notification: Performance of prepare postOptimizeDAE: time 8.715e-05/3.601, allocations: 133.1 kB / 2.269 GB, free: 0.4998 GB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.419e-05/3.601, allocations: 83.41 kB / 2.269 GB, free: 0.4997 GB / 1.514 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/3.603, allocations: 0.9376 MB / 2.27 GB, free: 0.4988 GB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005731/3.609, allocations: 1.68 MB / 2.271 GB, free: 0.4971 GB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01143/3.62, allocations: 11.06 MB / 2.282 GB, free: 497.7 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01152/3.632, allocations: 0.5412 MB / 2.283 GB, free: 497.2 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001724/3.633, allocations: 451.8 kB / 2.283 GB, free: 496.7 MB / 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 (1015): * Single equations (assignments): 1003 * 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.002236/3.636, allocations: 0.9171 MB / 2.284 GB, free: 495.8 MB / 1.514 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004512/3.64, allocations: 1.35 MB / 2.285 GB, free: 494.4 MB / 1.514 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01585/3.656, allocations: 8.289 MB / 2.294 GB, free: 486.1 MB / 1.514 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.977e-05/3.656, allocations: 59.98 kB / 2.294 GB, free: 486.1 MB / 1.514 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.233e-05/3.656, allocations: 4 kB / 2.294 GB, free: 486.1 MB / 1.514 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009413/3.665, allocations: 6.529 MB / 2.3 GB, free: 479.4 MB / 1.514 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04025/3.706, allocations: 21.27 MB / 2.321 GB, free: 458 MB / 1.514 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.241e-05/3.706, allocations: 4 kB / 2.321 GB, free: 458 MB / 1.514 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003865/3.71, allocations: 0.928 MB / 2.322 GB, free: 457 MB / 1.514 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001581/3.711, allocations: 0.7452 MB / 2.322 GB, free: 456.3 MB / 1.514 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006931/3.712, allocations: 163.9 kB / 2.323 GB, free: 456.1 MB / 1.514 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003465/3.715, allocations: 4.721 MB / 2.327 GB, free: 451.3 MB / 1.514 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/3.715, allocations: 4 kB / 2.327 GB, free: 451.2 MB / 1.514 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01973/3.735, allocations: 11.96 MB / 2.339 GB, free: 439.1 MB / 1.514 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006684/3.742, allocations: 2.348 MB / 2.341 GB, free: 436.7 MB / 1.514 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003762/3.746, allocations: 136 kB / 2.341 GB, free: 436.6 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007789/3.753, allocations: 339 kB / 2.342 GB, free: 436.2 MB / 1.514 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001104/3.755, allocations: 435.5 kB / 2.342 GB, free: 435.8 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007109/3.755, allocations: 283.8 kB / 2.342 GB, free: 435.5 MB / 1.514 GB Notification: Performance of sorting global known variables: time 0.01753/3.773, allocations: 9.473 MB / 2.352 GB, free: 426.1 MB / 1.514 GB Notification: Performance of sort global known variables: time 1.072e-06/3.773, allocations: 112 / 2.352 GB, free: 426.1 MB / 1.514 GB Notification: Performance of remove unused functions: time 0.0257/3.799, allocations: 7.834 MB / 2.359 GB, free: 418.4 MB / 1.514 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 29 (pumSup1.vol.dynBal.U,pumSup1.motSpe.y,conPI_pumChi1.I.y,stoPla.pumPri.vol.dynBal.U,stoPla.pumPri.motSpe.y,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.motSpe.y,stoPla.revCon.val.actPos.y,stoPla.revCon.jun1.vol.dynBal.U,stoPla.revCon.jun2.vol.dynBal.U,ideUse1.val.actPos.y,ideUse1.conPI.I.y,ideUse2.val.actPos.y,ideUse2.conPI.I.y,ideUse3.val.actPos.y,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 (509): * Single equations (assignments): 467 * 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.006279/3.805, allocations: 2.996 MB / 2.362 GB, free: 415.9 MB / 1.514 GB Notification: Performance of simCode: created initialization part: time 0.053/3.858, allocations: 20.74 MB / 2.382 GB, free: 395.1 MB / 1.514 GB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/3.858, allocations: 5.875 kB / 2.382 GB, free: 395.1 MB / 1.514 GB Notification: Performance of simCode: created simulation system equations: time 0.006779/3.865, allocations: 3.89 MB / 2.386 GB, free: 391.1 MB / 1.514 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03178/3.897, allocations: 7.355 MB / 2.393 GB, free: 384.2 MB / 1.514 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04386/3.94, allocations: 28.37 MB / 2.421 GB, free: 355.7 MB / 1.514 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008763/3.949, allocations: 7.591 MB / 2.428 GB, free: 348.1 MB / 1.514 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00371/3.953, allocations: 1.081 MB / 2.43 GB, free: 347 MB / 1.514 GB Notification: Performance of SimCode: time 7.71e-07/3.953, allocations: 0 / 2.43 GB, free: 347 MB / 1.514 GB Notification: Performance of Templates: time 1.383/5.336, allocations: 0.5134 GB / 2.943 GB, free: 490.8 MB / 1.514 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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceCalcHelperMain.o OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceCalcHelperMain.cpp:25: In file included from ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgLoopMain.cpp:27: ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:197:28: error: use of undeclared identifier '_algLoopLinearSolver656' double* algloop656Vars = _algLoopLinearSolver656->getVariableWorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:198:45: error: use of undeclared identifier '_algLoopLinearSolver656' bool* conditions0656 = _algLoopLinearSolver656->getConditionsWorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:199:44: error: use of undeclared identifier '_algLoopLinearSolver656' bool* conditions1656 = _algLoopLinearSolver656->getConditions2WorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:200:3: error: use of undeclared identifier '_algLoop656' _algLoop656->getReal(algloop656Vars); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:204:8: error: use of undeclared identifier '_algLoop656' _algLoop656->evaluate(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:205:13: error: use of undeclared identifier '_callType' if( _callType == IContinuous::DISCRETE ) ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:209:14: error: use of undeclared identifier 'getConditions' getConditions(conditions0656); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:210:14: error: use of undeclared identifier '_callType' _callType = IContinuous::CONTINUOUS; ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:212:14: error: use of undeclared identifier '_algLoopNonLinearSolver656' _algLoopNonLinearSolver656->solve(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:214:14: error: use of undeclared identifier '_callType' _callType = IContinuous::DISCRETE; ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:217:16: error: use of undeclared identifier 'getCondition' getCondition(i); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:219:14: error: use of undeclared identifier 'getConditions' getConditions(conditions1656); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:220:40: error: use of undeclared identifier '_conditions1656'; did you mean 'conditions1656'? restart656 = !std::equal (_conditions1656, _conditions1656+_dimZeroFunc,_conditions0656); ^~~~~~~~~~~~~~~ conditions1656 ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:199:27: note: 'conditions1656' declared here bool* conditions1656 = _algLoopLinearSolver656->getConditions2WorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:220:57: error: use of undeclared identifier '_conditions1656'; did you mean 'conditions1656'? restart656 = !std::equal (_conditions1656, _conditions1656+_dimZeroFunc,_conditions0656); ^~~~~~~~~~~~~~~ conditions1656 ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:199:27: note: 'conditions1656' declared here bool* conditions1656 = _algLoopLinearSolver656->getConditions2WorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:220:86: error: use of undeclared identifier '_conditions0656'; did you mean 'conditions0656'? restart656 = !std::equal (_conditions1656, _conditions1656+_dimZeroFunc,_conditions0656); ^~~~~~~~~~~~~~~ conditions0656 ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:198:28: note: 'conditions0656' declared here bool* conditions0656 = _algLoopLinearSolver656->getConditionsWorkArray(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:224:11: error: use of undeclared identifier '_algLoopNonLinearSolver656' _algLoopNonLinearSolver656->solve(); ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:235:50: error: use of undeclared identifier '_callType' IContinuous::UPDATETYPE calltype = _callType; ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:236:14: error: use of undeclared identifier '_callType'; did you mean 'calltype'? _callType = IContinuous::DISCRETE; ^~~~~~~~~ calltype ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:235:39: note: 'calltype' declared here IContinuous::UPDATETYPE calltype = _callType; ^ ./OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceAlgloop676.cpp:237:16: error: use of undeclared identifier '_algLoop656' _algLoop656->setReal(algloop656Vars ); ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 20 errors generated. make: *** [: OMCppBuildings_latest_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSourceCalcHelperMain.o] Error 1