Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource,fileNamePrefix="Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, 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.001133/0.001133, allocations: 193.5 kB / 16.13 MB, free: 6.645 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.167/1.167, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.362/2.362, allocations: 461.9 MB / 0.7342 GB, free: 14.26 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 68.91 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2334, allocations: 157.4 MB / 1.052 GB, free: 8.246 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 0.8276/1.061, allocations: 0.5468 GB / 1.599 GB, free: 14.13 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.1237/1.185, allocations: 116.6 MB / 1.713 GB, free: 9.289 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01707/1.202, allocations: 0.5591 MB / 1.713 GB, free: 8.727 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.03691/1.239, allocations: 20.27 MB / 1.733 GB, free: 4.406 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.04191/1.281, allocations: 18.21 MB / 1.751 GB, free: 2.141 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.5639/1.845, allocations: 13.61 MB / 1.764 GB, free: 76.59 MB / 1.342 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001004433569776996, 0.002008867139553991, 0.002736215586633885}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.07168/1.916, allocations: 79.09 MB / 1.842 GB, free: 76.41 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01929/1.936, allocations: 15.84 MB / 1.857 GB, free: 74.13 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02661/1.962, allocations: 15.12 MB / 1.872 GB, free: 73.31 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01742/1.98, allocations: 13.18 MB / 1.885 GB, free: 70.94 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.00308/1.983, allocations: 0.9163 MB / 1.886 GB, free: 70.94 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01538/1.998, allocations: 6.688 MB / 1.892 GB, free: 70.93 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.003819/2.002, allocations: 4.23 MB / 1.896 GB, free: 70.22 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.01348/2.016, allocations: 9.783 MB / 1.906 GB, free: 65.88 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.02704/2.043, allocations: 35.48 MB / 1.94 GB, free: 39.54 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/2.043, allocations: 0 / 1.94 GB, free: 39.54 MB / 1.342 GB Notification: Performance of FrontEnd: time 1.192e-06/2.043, allocations: 0 / 1.94 GB, free: 39.54 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.0005748/2.043, allocations: 0 / 1.94 GB, free: 39.54 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.02944/2.073, allocations: 20.68 MB / 1.961 GB, free: 22.5 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/2.073, allocations: 15.97 kB / 1.961 GB, free: 22.49 MB / 1.342 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001711/2.074, allocations: 1.445 MB / 1.962 GB, free: 21.73 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007174/2.082, allocations: 2.525 MB / 1.965 GB, free: 19.19 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03823/2.12, allocations: 28.62 MB / 1.992 GB, free: 1.062 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005818/2.12, allocations: 0.8958 MB / 1.993 GB, free: 0.543 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002537/2.123, allocations: 1.157 MB / 1.994 GB, free: 15.76 MB / 1.357 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02213/2.145, allocations: 14.25 MB / 2.008 GB, free: 3.332 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001745/2.145, allocations: 32.55 kB / 2.008 GB, free: 3.312 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001002/2.146, allocations: 471.8 kB / 2.009 GB, free: 2.855 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002986/2.147, allocations: 435.1 kB / 2.009 GB, free: 2.434 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01762/2.164, allocations: 10.92 MB / 2.02 GB, free: 7.613 MB / 1.373 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.07347/2.238, allocations: 72.61 MB / 2.091 GB, free: 11.46 MB / 1.451 GB Notification: Performance of preOpt comSubExp (simulation): time 0.009687/2.247, allocations: 6.222 MB / 2.097 GB, free: 5.172 MB / 1.451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006104/2.254, allocations: 3.892 MB / 2.101 GB, free: 1.238 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.02506/2.279, allocations: 17.31 MB / 2.118 GB, free: 15.42 MB / 1.482 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005759/2.284, allocations: 4.112 MB / 2.122 GB, free: 11.18 MB / 1.482 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004953/2.289, allocations: 0.9649 MB / 2.123 GB, free: 10.21 MB / 1.482 GB Notification: Performance of pre-optimization done (n=557): time 7.694e-06/2.289, allocations: 0 / 2.123 GB, free: 10.21 MB / 1.482 GB Notification: Performance of matching and sorting (n=557): time 0.02667/2.316, allocations: 12.19 MB / 2.134 GB, free: 13.9 MB / 1.498 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002232/2.316, allocations: 0.6238 MB / 2.135 GB, free: 13.15 MB / 1.498 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01702/2.333, allocations: 14.12 MB / 2.149 GB, free: 15.09 MB / 1.514 GB Notification: Performance of collectPreVariables (initialization): time 0.000812/2.334, allocations: 213 kB / 2.149 GB, free: 14.88 MB / 1.514 GB Notification: Performance of collectInitialEqns (initialization): time 0.00626/2.34, allocations: 7.927 MB / 2.157 GB, free: 6.996 MB / 1.514 GB Notification: Performance of collectInitialBindings (initialization): time 0.001826/2.342, allocations: 1.849 MB / 2.159 GB, free: 5.168 MB / 1.514 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00254/2.345, allocations: 2.044 MB / 2.161 GB, free: 3.109 MB / 1.514 GB Notification: Performance of setup shared object (initialization): time 7.497e-05/2.345, allocations: 309 kB / 2.161 GB, free: 2.805 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005886/2.351, allocations: 4.411 MB / 2.165 GB, free: 14.38 MB / 1.529 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007621/2.358, allocations: 7.439 MB / 2.173 GB, free: 5.688 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/2.371, allocations: 11.46 MB / 2.184 GB, free: 9.422 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.91e-05/2.372, allocations: 20 kB / 2.184 GB, free: 9.402 MB / 1.545 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.0196/2.391, allocations: 13.67 MB / 2.197 GB, free: 12.12 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 9.098e-05/2.391, allocations: 133.1 kB / 2.197 GB, free: 11.98 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.955e-05/2.391, allocations: 76 kB / 2.197 GB, free: 11.9 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00285/2.394, allocations: 1.174 MB / 2.198 GB, free: 10.73 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005624/2.4, allocations: 1.73 MB / 2.2 GB, free: 9.129 MB / 1.561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004429/2.404, allocations: 4.746 MB / 2.205 GB, free: 4.25 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009319/2.414, allocations: 1.089 MB / 2.206 GB, free: 3.164 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006637/2.414, allocations: 475.9 kB / 2.206 GB, free: 2.699 MB / 1.561 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01116/2.425, allocations: 7.813 MB / 2.214 GB, free: 10.88 MB / 1.576 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00724/2.433, allocations: 7.072 MB / 2.221 GB, free: 2.551 MB / 1.576 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01228/2.445, allocations: 10.74 MB / 2.231 GB, free: 7.004 MB / 1.592 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.85e-05/2.445, allocations: 20 kB / 2.231 GB, free: 6.984 MB / 1.592 GB Notification: Performance of matching and sorting (n=1219) (initialization_lambda0): time 0.01937/2.464, allocations: 13.04 MB / 2.244 GB, free: 10.36 MB / 1.607 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/2.464, allocations: 129.1 kB / 2.244 GB, free: 10.21 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.416e-05/2.465, allocations: 76 kB / 2.244 GB, free: 10.14 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002117/2.467, allocations: 0.9433 MB / 2.245 GB, free: 9.188 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005441/2.472, allocations: 1.733 MB / 2.247 GB, free: 7.582 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01331/2.485, allocations: 10.16 MB / 2.257 GB, free: 13.14 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009234/2.495, allocations: 1.045 MB / 2.258 GB, free: 12.1 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006348/2.495, allocations: 454.6 kB / 2.258 GB, free: 11.66 MB / 1.623 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 171 ($PRE.stoPla.floCon.traChaLoc.enableFire,$PRE.stoPla.floCon.traRes1.enableFire,$PRE.stoPla.floCon.traChaRem.enableFire,$PRE.stoPla.floCon.traRes2.enableFire,$PRE.stoPla.floCon.traProChi.enableFire,$PRE.stoPla.floCon.traRes4.enableFire,$PRE.stoPla.floCon.traProTan.enableFire,$PRE.stoPla.floCon.traRes3.enableFire,$PRE.stoPla.floCon.traPro.enableFire,$PRE.stoPla.floCon.traTanToChi.enableFire,$PRE.stoPla.floCon.traRou.enableFire,$PRE.stoPla.floCon.traChiToTan.enableFire,stoPla.floCon.traChiToTan.t_start,$PRE.stoPla.floCon.traChiToTan.t_start,stoPla.floCon.traRou.t_start,$PRE.stoPla.floCon.traRou.t_start,stoPla.floCon.traTanToChi.t_start,$PRE.stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traPro.t_start,$PRE.stoPla.floCon.traPro.t_start,stoPla.floCon.traRes3.t_start,$PRE.stoPla.floCon.traRes3.t_start,stoPla.floCon.traProTan.t_start,$PRE.stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes4.t_start,$PRE.stoPla.floCon.traRes4.t_start,stoPla.floCon.traProChi.t_start,$PRE.stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes2.t_start,$PRE.stoPla.floCon.traRes2.t_start,stoPla.floCon.traChaRem.t_start,$PRE.stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes1.t_start,$PRE.stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaLoc.t_start,$PRE.stoPla.floCon.traChaLoc.t_start,$PRE.chiEnaSta.combiTimeTable.nextTimeEvent,$whenCondition2,$PRE.com.combiTimeTable.nextTimeEvent,$whenCondition1,stoPla.floCon.traRou.condition,stoPla.floCon.stateGraphRoot.resume,stoPla.floCon.stateGraphRoot.suspend,hys_yVal_actual.y,$PRE.hys_yVal_actual.y,chiEnaSta.combiTimeTable.nextTimeEventScaled,$PRE.chiEnaSta.combiTimeTable.nextTimeEventScaled,chiEnaSta.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEventScaled,$PRE.com.combiTimeTable.nextTimeEventScaled,com.combiTimeTable.nextTimeEvent,com.y,mLoa3_flow.nextEventScaled,mLoa3_flow.nextEvent,$PRE.mLoa3_flow.nextEvent,mLoa3_flow.last,mLoa3_flow.b,mLoa3_flow.a,mLoa2_flow.nextEventScaled,mLoa2_flow.nextEvent,$PRE.mLoa2_flow.nextEvent,mLoa2_flow.last,mLoa2_flow.b,mLoa2_flow.a,mLoa1_flow.nextEventScaled,mLoa1_flow.nextEvent,$PRE.mLoa1_flow.nextEvent,mLoa1_flow.last,mLoa1_flow.b,mLoa1_flow.a,stoPla.chiEnaSta,stoPla.tanSta.hysEmp.y,$PRE.stoPla.tanSta.hysEmp.y,stoPla.tanSta.hysCha.y,$PRE.stoPla.tanSta.hysCha.y,stoPla.floCon.traChiToTan.enableFire,stoPla.floCon.traChiToTan.condition,stoPla.floCon.traRou.enableFire,stoPla.floCon.steRou2.oldActive,$PRE.stoPla.floCon.steRou2.oldActive,stoPla.floCon.steRou2.newActive,$PRE.stoPla.floCon.steRou2.newActive,stoPla.floCon.steRou2.inPort[1].set,stoPla.floCon.steRou2.localActive,$PRE.stoPla.floCon.steRou2.localActive,stoPla.floCon.steRou2.active,stoPla.floCon.steRou1.oldActive,$PRE.stoPla.floCon.steRou1.oldActive,stoPla.floCon.steRou1.newActive,$PRE.stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou1.outPort[1].reset,stoPla.floCon.steRou1.localActive,$PRE.stoPla.floCon.steRou1.localActive,stoPla.floCon.steRou1.active,stoPla.floCon.altTanCha1.split[2].available,stoPla.floCon.traTanToChi.enableFire,stoPla.floCon.traTanToChi.condition,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.condition,stoPla.floCon.stePumSecOn.oldActive,$PRE.stoPla.floCon.stePumSecOn.oldActive,stoPla.floCon.stePumSecOn.newActive,$PRE.stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.stePumSecOn.localActive,$PRE.stoPla.floCon.stePumSecOn.localActive,stoPla.floCon.stePumSecOn.active,stoPla.floCon.alt.split[3].available,stoPla.floCon.alt.split[2].available,stoPla.floCon.expPriPumFlo.y,stoPla.floCon.traRes3.enableFire,stoPla.floCon.steProTan.oldActive,$PRE.stoPla.floCon.steProTan.oldActive,stoPla.floCon.steProTan.newActive,$PRE.stoPla.floCon.steProTan.newActive,stoPla.floCon.steProTan.outPort[2].available,stoPla.floCon.steProTan.inPort[2].occupied,stoPla.floCon.steProTan.localActive,$PRE.stoPla.floCon.steProTan.localActive,stoPla.floCon.steProTan.active,stoPla.floCon.traProTan.enableFire,stoPla.floCon.traRes4.enableFire,stoPla.floCon.steProChi.oldActive,$PRE.stoPla.floCon.steProChi.oldActive,stoPla.floCon.steProChi.newActive,$PRE.stoPla.floCon.steProChi.newActive,stoPla.floCon.steProChi.outPort[2].available,stoPla.floCon.steProChi.inPort[2].occupied,stoPla.floCon.steProChi.localActive,$PRE.stoPla.floCon.steProChi.localActive,stoPla.floCon.steProChi.active,stoPla.floCon.traProChi.enableFire,stoPla.floCon.traRes2.enableFire,stoPla.floCon.traRes2.condition,stoPla.floCon.steChaRem.oldActive,$PRE.stoPla.floCon.steChaRem.oldActive,stoPla.floCon.steChaRem.newActive,$PRE.stoPla.floCon.steChaRem.newActive,stoPla.floCon.steChaRem.localActive,$PRE.stoPla.floCon.steChaRem.localActive,stoPla.floCon.steChaRem.active,stoPla.floCon.traChaRem.enableFire,stoPla.floCon.traRes1.enableFire,stoPla.floCon.traRes1.condition,stoPla.floCon.steChaLoc.oldActive,$PRE.stoPla.floCon.steChaLoc.oldActive,stoPla.floCon.steChaLoc.newActive,$PRE.stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaLoc.localActive,$PRE.stoPla.floCon.steChaLoc.localActive,stoPla.floCon.steChaLoc.active,stoPla.floCon.traChaLoc.enableFire,stoPla.floCon.allOff.oldActive,$PRE.stoPla.floCon.allOff.oldActive,stoPla.floCon.allOff.newActive,$PRE.stoPla.floCon.allOff.newActive,stoPla.floCon.allOff.outPort[1].reset,stoPla.floCon.allOff.inPort[1].set,stoPla.floCon.allOff.localActive,$PRE.stoPla.floCon.allOff.localActive,stoPla.floCon.allOff.active,stoPla.floCon.stateGraphRoot.activeSteps,$whenCondition5,$whenCondition4,$whenCondition3,ideUse3.conPI.I.trigger_internal,ideUse2.conPI.I.trigger_internal,ideUse1.conPI.I.trigger_internal,stoPla.tanSta.gre.y,conPI_pumChi1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1046): * Single equations (assignments): 1034 * Array equations: 3 * Algorithm blocks: 3 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(4,40)} Notification: Performance of prepare postOptimizeDAE: time 0.001617/2.497, allocations: 0.9495 MB / 2.259 GB, free: 10.8 MB / 1.623 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00226/2.499, allocations: 1.385 MB / 2.26 GB, free: 9.402 MB / 1.623 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01412/2.513, allocations: 8.446 MB / 2.269 GB, free: 0.9258 MB / 1.623 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.505e-05/2.513, allocations: 63.98 kB / 2.269 GB, free: 0.8633 MB / 1.623 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/2.513, allocations: 4 kB / 2.269 GB, free: 0.8594 MB / 1.623 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009834/2.523, allocations: 6.659 MB / 2.275 GB, free: 10.05 MB / 1.639 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.03121/2.554, allocations: 22.44 MB / 2.297 GB, free: 3.312 MB / 1.654 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.528e-05/2.555, allocations: 4 kB / 2.297 GB, free: 3.309 MB / 1.654 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003745/2.558, allocations: 0.9274 MB / 2.298 GB, free: 2.426 MB / 1.654 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001593/2.56, allocations: 0.7463 MB / 2.299 GB, free: 1.684 MB / 1.654 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003673/2.56, allocations: 179.9 kB / 2.299 GB, free: 1.508 MB / 1.654 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003835/2.564, allocations: 4.51 MB / 2.303 GB, free: 12.83 MB / 1.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/2.564, allocations: 4 kB / 2.303 GB, free: 12.83 MB / 1.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0181/2.582, allocations: 12.27 MB / 2.315 GB, free: 360 kB / 1.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004683/2.587, allocations: 2.398 MB / 2.318 GB, free: 13.92 MB / 1.686 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001537/2.588, allocations: 148 kB / 2.318 GB, free: 13.77 MB / 1.686 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006099/2.595, allocations: 0.8731 MB / 2.319 GB, free: 12.9 MB / 1.686 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007044/2.595, allocations: 447 kB / 2.319 GB, free: 12.46 MB / 1.686 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004796/2.596, allocations: 283.8 kB / 2.319 GB, free: 12.19 MB / 1.686 GB Notification: Performance of sorting global known variables: time 0.01267/2.608, allocations: 9.452 MB / 2.329 GB, free: 2.797 MB / 1.686 GB Notification: Performance of sort global known variables: time 2.21e-07/2.608, allocations: 4 kB / 2.329 GB, free: 2.793 MB / 1.686 GB Notification: Performance of remove unused functions: time 0.02232/2.631, allocations: 8.12 MB / 2.337 GB, free: 10.65 MB / 1.701 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 36 (pumSup1.vol.dynBal.U,pumSup1.filter.s[1],pumSup1.filter.s[2],conPI_pumChi1.I.y,stoPla.pumPri.vol.dynBal.U,stoPla.pumPri.filter.s[1],stoPla.pumPri.filter.s[2],stoPla.tanBra.tan.vol[1].dynBal.U,stoPla.tanBra.tan.vol[2].dynBal.U,stoPla.tanBra.tan.vol[3].dynBal.U,stoPla.tanBra.tan.vol[4].dynBal.U,stoPla.tanBra.tan.vol[5].dynBal.U,stoPla.tanBra.junSup.vol.dynBal.U,stoPla.tanBra.junRet.vol.dynBal.U,stoPla.revCon.pum.vol.dynBal.U,stoPla.revCon.pum.filter.s[1],stoPla.revCon.pum.filter.s[2],stoPla.revCon.val.filter.s[1],stoPla.revCon.val.filter.s[2],stoPla.revCon.jun1.vol.dynBal.U,stoPla.revCon.jun2.vol.dynBal.U,ideUse1.val.filter.s[1],ideUse1.val.filter.s[2],ideUse1.conPI.I.y,ideUse2.val.filter.s[1],ideUse2.val.filter.s[2],ideUse2.conPI.I.y,ideUse3.val.filter.s[1],ideUse3.val.filter.s[2],ideUse3.conPI.I.y,parJunPla1.jun1.vol.dynBal.U,parJunPla1.jun2.vol.dynBal.U,parJunUse2.jun1.vol.dynBal.U,parJunUse2.jun2.vol.dynBal.U,parJunPla2.jun1.vol.dynBal.U,parJunPla2.jun2.vol.dynBal.U) * Number of discrete variables: 119 (stoPla.floCon.steRou2.localActive,stoPla.floCon.steRou1.localActive,stoPla.floCon.stePumSecOn.localActive,stoPla.floCon.steProTan.localActive,stoPla.floCon.steProChi.localActive,stoPla.floCon.steChaRem.localActive,stoPla.floCon.steChaLoc.localActive,stoPla.floCon.allOff.localActive,$cse37,$cse38,$cse39,$cse40,$cse41,$cse42,$cse43,$cse44,$cse45,$cse46,$cse47,$cse48,$cse49,$cse50,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,stoPla.floCon.stateGraphRoot.activeSteps,stoPla.floCon.allOff.active,stoPla.floCon.allOff.inPort[1].set,stoPla.floCon.allOff.outPort[1].reset,stoPla.floCon.allOff.newActive,stoPla.floCon.allOff.oldActive,stoPla.floCon.traChaLoc.enableFire,stoPla.floCon.steChaLoc.active,stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaLoc.oldActive,stoPla.floCon.traRes1.condition,stoPla.floCon.traRes1.enableFire,stoPla.floCon.traChaRem.enableFire,stoPla.floCon.steChaRem.active,stoPla.floCon.steChaRem.newActive,stoPla.floCon.steChaRem.oldActive,stoPla.floCon.traRes2.condition,stoPla.floCon.traRes2.enableFire,stoPla.floCon.traProChi.enableFire,stoPla.floCon.steProChi.active,stoPla.floCon.steProChi.inPort[2].occupied,stoPla.floCon.steProChi.outPort[2].available,stoPla.floCon.steProChi.newActive,stoPla.floCon.steProChi.oldActive,stoPla.floCon.traRes4.enableFire,stoPla.floCon.traProTan.enableFire,stoPla.floCon.steProTan.active,stoPla.floCon.steProTan.inPort[2].occupied,stoPla.floCon.steProTan.outPort[2].available,stoPla.floCon.steProTan.newActive,stoPla.floCon.steProTan.oldActive,stoPla.floCon.traRes3.enableFire,stoPla.floCon.expPriPumFlo.y,stoPla.floCon.alt.split[2].available,stoPla.floCon.alt.split[3].available,stoPla.floCon.stePumSecOn.active,stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.stePumSecOn.oldActive,stoPla.floCon.traPro.condition,stoPla.floCon.traPro.enableFire,stoPla.floCon.traPro.outPort.occupied,stoPla.floCon.parallel.outPort.available,stoPla.floCon.traTanToChi.condition,stoPla.floCon.traTanToChi.enableFire,stoPla.floCon.altTanCha1.split[2].available,stoPla.floCon.steRou1.active,stoPla.floCon.steRou1.outPort[1].reset,stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou1.oldActive,stoPla.floCon.steRou2.active,stoPla.floCon.steRou2.inPort[1].set,stoPla.floCon.steRou2.newActive,stoPla.floCon.steRou2.oldActive,stoPla.floCon.traRou.enableFire,stoPla.floCon.traChiToTan.condition,stoPla.floCon.traChiToTan.enableFire,stoPla.tanSta.hysCha.y,stoPla.tanSta.hysEmp.y,stoPla.chiEnaSta,mLoa1_flow.a,mLoa1_flow.b,mLoa1_flow.last,mLoa1_flow.nextEvent,mLoa1_flow.nextEventScaled,mLoa2_flow.a,mLoa2_flow.b,mLoa2_flow.last,mLoa2_flow.nextEvent,mLoa2_flow.nextEventScaled,mLoa3_flow.a,mLoa3_flow.b,mLoa3_flow.last,mLoa3_flow.nextEvent,mLoa3_flow.nextEventScaled,com.y,com.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEventScaled,chiEnaSta.combiTimeTable.nextTimeEvent,chiEnaSta.combiTimeTable.nextTimeEventScaled,hys_yVal_actual.y,stoPla.floCon.traChaLoc.t_start,stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes2.t_start,stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes4.t_start,stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes3.t_start,stoPla.floCon.traPro.t_start,stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traRou.t_start,stoPla.floCon.traChiToTan.t_start) * Number of discrete states: 45 (stoPla.floCon.traChiToTan.t_start,stoPla.floCon.traRou.t_start,stoPla.floCon.traTanToChi.t_start,stoPla.floCon.traPro.t_start,stoPla.floCon.traRes3.t_start,stoPla.floCon.traProTan.t_start,stoPla.floCon.traRes4.t_start,stoPla.floCon.traProChi.t_start,stoPla.floCon.traRes2.t_start,stoPla.floCon.traChaRem.t_start,stoPla.floCon.traRes1.t_start,stoPla.floCon.traChaLoc.t_start,chiEnaSta.combiTimeTable.nextTimeEvent,com.combiTimeTable.nextTimeEvent,stoPla.floCon.allOff.newActive,stoPla.floCon.steChaLoc.newActive,stoPla.floCon.steChaRem.newActive,stoPla.floCon.steProChi.newActive,stoPla.floCon.steProTan.newActive,stoPla.floCon.stePumSecOn.newActive,stoPla.floCon.steRou1.newActive,stoPla.floCon.steRou2.newActive,stoPla.tanSta.hysCha.y,stoPla.tanSta.hysEmp.y,mLoa1_flow.nextEvent,mLoa1_flow.last,mLoa1_flow.nextEventScaled,mLoa1_flow.b,mLoa1_flow.a,$whenCondition5,mLoa2_flow.nextEvent,mLoa2_flow.last,mLoa2_flow.nextEventScaled,mLoa2_flow.b,mLoa2_flow.a,$whenCondition4,mLoa3_flow.nextEvent,mLoa3_flow.last,mLoa3_flow.nextEventScaled,mLoa3_flow.b,mLoa3_flow.a,$whenCondition3,hys_yVal_actual.y,chiEnaSta.combiTimeTable.nextTimeEventScaled,com.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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.4326/3.063, allocations: 15.63 MB / 2.352 GB, free: 0.8019 GB / 1.701 GB Notification: Performance of simCode: created initialization part: time 0.02562/3.089, allocations: 16.35 MB / 2.368 GB, free: 0.8005 GB / 1.701 GB Notification: Performance of simCode: created event and clocks part: time 1.059e-05/3.089, allocations: 6.375 kB / 2.368 GB, free: 0.8005 GB / 1.701 GB Notification: Performance of simCode: created simulation system equations: time 0.006002/3.095, allocations: 3.988 MB / 2.372 GB, free: 0.8001 GB / 1.701 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.02711/3.122, allocations: 7.123 MB / 2.379 GB, free: 0.7999 GB / 1.701 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5084/3.631, allocations: 200.5 MB / 2.575 GB, free: 0.6376 GB / 1.701 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007176/3.638, allocations: 7.77 MB / 2.582 GB, free: 0.63 GB / 1.701 GB Notification: Performance of simCode: alias equations: time 0.01352/3.651, allocations: 3.655 MB / 2.586 GB, free: 0.6265 GB / 1.701 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0072/3.659, allocations: 7.528 MB / 2.593 GB, free: 0.6191 GB / 1.701 GB Notification: Performance of SimCode: time 4.51e-07/3.659, allocations: 0 / 2.593 GB, free: 0.6191 GB / 1.701 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.984/8.642, allocations: 391.2 MB / 2.975 GB, free: 245 MB / 1.701 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/8.642, allocations: 322.1 kB / 2.975 GB, free: 244.6 MB / 1.701 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.c In file included from Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.c:7: In file included from ./Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.c In file included from Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.c:2: In file included from ./Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_records.o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_records.c In file included from Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.c In file included from Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.c:2: In file included from ./Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality -I. -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.o Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c In file included from Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:2: In file included from ./Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:161: ./gc/omc_gc.h:223:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:227:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_latest_Buildings_Experimental_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_Experimental_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_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:187:6: error: redefinition of 'initializeSparsePatternNLS686' void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:132:6: note: previous definition is here void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_latest_Buildings_Experimental_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_Experimental_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_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:208:6: error: redefinition of 'getIterationVarsNLS686' void getIterationVarsNLS686(DATA* data, double *array) ^ Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:153:6: note: previous definition is here void getIterationVarsNLS686(DATA* data, double *array) ^ 2 warnings and 4 errors generated. make: *** [: Buildings_latest_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.o] Error 1