Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource,fileNamePrefix="Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource,fileNamePrefix="Buildings_10_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.001277/0.001277, 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.001262/0.001263, allocations: 193.2 kB / 16.14 MB, free: 6.652 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.261/1.261, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.355/2.355, allocations: 437 MB / 0.7099 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001334, allocations: 67.89 kB / 0.8687 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4778/0.4791, allocations: 151.6 MB / 1.017 GB, free: 2.844 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Experimental.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 0.8303/1.31, allocations: 0.5468 GB / 1.564 GB, free: 10.44 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.1324/1.442, allocations: 116.6 MB / 1.677 GB, free: 5.586 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01831/1.46, allocations: 0.5591 MB / 1.678 GB, free: 5.023 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.03948/1.5, allocations: 20.26 MB / 1.698 GB, free: 0.7109 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.04564/1.545, allocations: 18.21 MB / 1.716 GB, free: 14.45 MB / 1.295 GB Notification: Performance of NFTyping.typeClassSections: time 0.02811/1.574, allocations: 13.64 MB / 1.729 GB, free: 0.9258 MB / 1.295 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.6301/2.204, allocations: 79.06 MB / 1.806 GB, free: 77.36 MB / 1.311 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0203/2.224, allocations: 15.84 MB / 1.822 GB, free: 75.34 MB / 1.311 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02987/2.254, allocations: 15.13 MB / 1.836 GB, free: 74.43 MB / 1.311 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02008/2.274, allocations: 13.18 MB / 1.849 GB, free: 72.07 MB / 1.311 GB Notification: Performance of NFPackage.collectConstants: time 0.00407/2.278, allocations: 0.918 MB / 1.85 GB, free: 72.07 MB / 1.311 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01691/2.295, allocations: 6.685 MB / 1.857 GB, free: 72.06 MB / 1.311 GB Notification: Performance of NFScalarize.scalarize: time 0.004424/2.299, allocations: 4.228 MB / 1.861 GB, free: 71.35 MB / 1.311 GB Notification: Performance of NFVerifyModel.verify: time 0.01404/2.313, allocations: 9.788 MB / 1.87 GB, free: 68.49 MB / 1.311 GB Notification: Performance of NFConvertDAE.convert: time 0.03057/2.344, allocations: 35.48 MB / 1.905 GB, free: 56.77 MB / 1.311 GB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/2.344, allocations: 0 / 1.905 GB, free: 56.77 MB / 1.311 GB Notification: Performance of FrontEnd: time 1.553e-06/2.344, allocations: 0 / 1.905 GB, free: 56.77 MB / 1.311 GB Notification: Performance of Transformations before backend: time 0.0006722/2.345, allocations: 0 / 1.905 GB, free: 56.77 MB / 1.311 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.03337/2.378, allocations: 20.68 MB / 1.925 GB, free: 40.69 MB / 1.311 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/2.378, allocations: 8.031 kB / 1.925 GB, free: 40.68 MB / 1.311 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001907/2.38, allocations: 1.453 MB / 1.927 GB, free: 39.92 MB / 1.311 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007414/2.388, allocations: 2.517 MB / 1.929 GB, free: 37.39 MB / 1.311 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03753/2.425, allocations: 28.63 MB / 1.957 GB, free: 19.24 MB / 1.311 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004752/2.426, allocations: 0.8882 MB / 1.958 GB, free: 18.73 MB / 1.311 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001657/2.427, allocations: 1.158 MB / 1.959 GB, free: 17.94 MB / 1.311 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01993/2.447, allocations: 14.26 MB / 1.973 GB, free: 8.188 MB / 1.311 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001898/2.447, allocations: 24.28 kB / 1.973 GB, free: 8.176 MB / 1.311 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009726/2.448, allocations: 472.7 kB / 1.973 GB, free: 8.062 MB / 1.311 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002125/2.449, allocations: 427.8 kB / 1.974 GB, free: 7.656 MB / 1.311 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/2.465, allocations: 10.92 MB / 1.984 GB, free: 256 kB / 1.311 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.08878/2.553, allocations: 72.61 MB / 2.055 GB, free: 4.102 MB / 1.389 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01109/2.564, allocations: 6.228 MB / 2.061 GB, free: 13.81 MB / 1.404 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005671/2.57, allocations: 3.893 MB / 2.065 GB, free: 9.867 MB / 1.404 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt evalFunc (simulation): time 0.02809/2.598, allocations: 17.31 MB / 2.082 GB, free: 8.043 MB / 1.42 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006559/2.605, allocations: 4.118 MB / 2.086 GB, free: 3.805 MB / 1.42 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.006419/2.611, allocations: 0.962 MB / 2.087 GB, free: 2.836 MB / 1.42 GB Notification: Performance of pre-optimization done (n=557): time 1.059e-05/2.611, allocations: 0 / 2.087 GB, free: 2.836 MB / 1.42 GB Notification: Performance of matching and sorting (n=557): time 0.02961/2.641, allocations: 12.19 MB / 2.099 GB, free: 6.52 MB / 1.436 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003215/2.641, allocations: 0.6144 MB / 2.1 GB, free: 5.777 MB / 1.436 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02075/2.662, allocations: 14.12 MB / 2.113 GB, free: 7.719 MB / 1.451 GB Notification: Performance of collectPreVariables (initialization): time 0.001186/2.663, allocations: 217.7 kB / 2.114 GB, free: 7.5 MB / 1.451 GB Notification: Performance of collectInitialEqns (initialization): time 0.007429/2.671, allocations: 7.918 MB / 2.121 GB, free: 15.62 MB / 1.467 GB Notification: Performance of collectInitialBindings (initialization): time 0.002435/2.673, allocations: 1.845 MB / 2.123 GB, free: 13.8 MB / 1.467 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002932/2.676, allocations: 2.051 MB / 2.125 GB, free: 11.73 MB / 1.467 GB Notification: Performance of setup shared object (initialization): time 0.0001032/2.676, allocations: 305.1 kB / 2.125 GB, free: 11.43 MB / 1.467 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006406/2.683, allocations: 4.423 MB / 2.13 GB, free: 7.008 MB / 1.467 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008481/2.691, allocations: 7.436 MB / 2.137 GB, free: 14.3 MB / 1.482 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/2.706, allocations: 11.46 MB / 2.148 GB, free: 2.043 MB / 1.482 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.944e-05/2.706, allocations: 20 kB / 2.148 GB, free: 2.023 MB / 1.482 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02294/2.729, allocations: 13.68 MB / 2.162 GB, free: 4.746 MB / 1.498 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/2.729, allocations: 133.1 kB / 2.162 GB, free: 4.598 MB / 1.498 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/2.729, allocations: 76 kB / 2.162 GB, free: 4.523 MB / 1.498 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003065/2.732, allocations: 1.171 MB / 2.163 GB, free: 3.355 MB / 1.498 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006664/2.739, allocations: 1.735 MB / 2.165 GB, free: 1.746 MB / 1.498 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/2.744, allocations: 4.75 MB / 2.169 GB, free: 12.86 MB / 1.514 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01223/2.756, allocations: 1.074 MB / 2.17 GB, free: 11.79 MB / 1.514 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/2.757, allocations: 471.9 kB / 2.171 GB, free: 11.33 MB / 1.514 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.01406/2.771, allocations: 7.813 MB / 2.178 GB, free: 3.512 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.008617/2.78, allocations: 7.076 MB / 2.185 GB, free: 11.18 MB / 1.529 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01463/2.795, allocations: 10.73 MB / 2.196 GB, free: 15.64 MB / 1.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.344e-05/2.795, allocations: 28 kB / 2.196 GB, free: 15.61 MB / 1.545 GB Notification: Performance of matching and sorting (n=1219) (initialization_lambda0): time 0.02274/2.817, allocations: 13.03 MB / 2.209 GB, free: 2.988 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/2.818, allocations: 133.1 kB / 2.209 GB, free: 2.84 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.334e-05/2.818, allocations: 76 kB / 2.209 GB, free: 2.766 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002378/2.82, allocations: 0.9386 MB / 2.21 GB, free: 1.82 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005816/2.826, allocations: 1.74 MB / 2.211 GB, free: 212 kB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01454/2.84, allocations: 10.17 MB / 2.221 GB, free: 5.758 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0117/2.852, allocations: 1.032 MB / 2.222 GB, free: 4.723 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001405/2.854, allocations: 447.9 kB / 2.223 GB, free: 4.285 MB / 1.561 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.00219/2.856, allocations: 0.9457 MB / 2.224 GB, free: 3.438 MB / 1.561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004234/2.86, allocations: 1.381 MB / 2.225 GB, free: 2.039 MB / 1.561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01653/2.877, allocations: 8.468 MB / 2.233 GB, free: 9.551 MB / 1.576 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.555e-05/2.877, allocations: 60 kB / 2.233 GB, free: 9.492 MB / 1.576 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/2.877, allocations: 4 kB / 2.233 GB, free: 9.488 MB / 1.576 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01079/2.888, allocations: 6.65 MB / 2.24 GB, free: 2.684 MB / 1.576 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.04242/2.93, allocations: 22.44 MB / 2.262 GB, free: 11.94 MB / 1.607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.972e-05/2.93, allocations: 4 kB / 2.262 GB, free: 11.93 MB / 1.607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004053/2.934, allocations: 0.9313 MB / 2.263 GB, free: 11.05 MB / 1.607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/2.936, allocations: 0.743 MB / 2.263 GB, free: 10.31 MB / 1.607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004691/2.936, allocations: 183.5 kB / 2.264 GB, free: 10.13 MB / 1.607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004475/2.941, allocations: 4.518 MB / 2.268 GB, free: 5.449 MB / 1.607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/2.941, allocations: 4 kB / 2.268 GB, free: 5.445 MB / 1.607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02098/2.962, allocations: 12.27 MB / 2.28 GB, free: 8.957 MB / 1.623 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006736/2.969, allocations: 2.393 MB / 2.282 GB, free: 6.527 MB / 1.623 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002362/2.971, allocations: 159.6 kB / 2.282 GB, free: 6.375 MB / 1.623 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007557/2.979, allocations: 0.8617 MB / 2.283 GB, free: 5.512 MB / 1.623 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008264/2.979, allocations: 443.1 kB / 2.284 GB, free: 5.078 MB / 1.623 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000594/2.98, allocations: 282.5 kB / 2.284 GB, free: 4.805 MB / 1.623 GB Notification: Performance of sorting global known variables: time 0.01789/2.998, allocations: 9.46 MB / 2.293 GB, free: 11.41 MB / 1.639 GB Notification: Performance of sort global known variables: time 4.41e-07/2.998, allocations: 0 / 2.293 GB, free: 11.41 MB / 1.639 GB Notification: Performance of remove unused functions: time 0.03054/3.028, allocations: 8.123 MB / 2.301 GB, free: 3.266 MB / 1.639 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.02728/3.056, allocations: 15.63 MB / 2.316 GB, free: 3.844 MB / 1.654 GB Notification: Performance of simCode: created initialization part: time 0.4601/3.516, allocations: 16.36 MB / 2.332 GB, free: 0.8018 GB / 1.654 GB Notification: Performance of simCode: created event and clocks part: time 1.293e-05/3.516, allocations: 6.75 kB / 2.332 GB, free: 0.8018 GB / 1.654 GB Notification: Performance of simCode: created simulation system equations: time 0.006701/3.523, allocations: 3.988 MB / 2.336 GB, free: 0.801 GB / 1.654 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03168/3.554, allocations: 7.131 MB / 2.343 GB, free: 0.7998 GB / 1.654 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6372/4.192, allocations: 200.5 MB / 2.539 GB, free: 0.6375 GB / 1.654 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/4.199, allocations: 7.775 MB / 2.547 GB, free: 0.6321 GB / 1.654 GB Notification: Performance of simCode: alias equations: time 0.01704/4.216, allocations: 3.65 MB / 2.55 GB, free: 0.6292 GB / 1.654 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01139/4.228, allocations: 7.532 MB / 2.558 GB, free: 0.6218 GB / 1.654 GB Notification: Performance of SimCode: time 1.793e-06/4.228, allocations: 0 / 2.558 GB, free: 0.6218 GB / 1.654 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.437/6.665, allocations: 391.2 MB / 2.94 GB, free: 247.7 MB / 1.654 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/6.665, allocations: 317 kB / 2.94 GB, free: 247.3 MB / 1.654 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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.o Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.c In file included from Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource.c:7: In file included from ./Buildings_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.o Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.c In file included from Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_functions.c:2: In file included from ./Buildings_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_records.o Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_records.c In file included from Buildings_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.o Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.c In file included from Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_01exo.c:2: In file included from ./Buildings_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.o Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c In file included from Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:2: In file included from ./Buildings_10_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_10_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_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:187:6: error: redefinition of 'initializeSparsePatternNLS686' void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:132:6: note: previous definition is here void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_10_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_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.c:208:6: error: redefinition of 'getIterationVarsNLS686' void getIterationVarsNLS686(DATA* data, double *array) ^ Buildings_10_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_10_Buildings_Experimental_DHC_Plants_Cooling_Examples_StoragePlantDualSource_02nls.o] Error 1