Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource") translateModel(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.001055/0.001055, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.008899/0.008899, allocations: 170.9 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.913/2.913, allocations: 473.4 MB / 0.7469 GB, free: 6.121 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005096, allocations: 11.73 kB / 0.9158 GB, free: 33.17 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3543/0.3549, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource): time 1.169/1.524, allocations: 0.5391 GB / 1.613 GB, free: 10.41 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.1619/1.686, allocations: 115.3 MB / 1.726 GB, free: 6.82 MB / 1.311 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.02722/1.713, allocations: 0.5357 MB / 1.726 GB, free: 6.281 MB / 1.311 GB Notification: Performance of NFTyping.typeComponents: time 0.04451/1.758, allocations: 20.24 MB / 1.746 GB, free: 1.992 MB / 1.326 GB Notification: Performance of NFTyping.typeBindings: time 0.8767/2.635, allocations: 18.2 MB / 1.764 GB, free: 65.42 MB / 1.342 GB Notification: Performance of NFTyping.typeClassSections: time 0.03663/2.671, allocations: 13.68 MB / 1.777 GB, free: 65.36 MB / 1.342 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.001004433569776996, 0.002008867139553991, 0.002736215586633885}[pressure.n] * 0.0‘ [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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.1031/2.774, allocations: 79.06 MB / 1.854 GB, free: 65.17 MB / 1.342 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02946/2.804, allocations: 15.31 MB / 1.869 GB, free: 62.95 MB / 1.342 GB Notification: Performance of NFEvalConstants.evaluate: time 0.03523/2.839, allocations: 14.53 MB / 1.884 GB, free: 62.92 MB / 1.342 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02459/2.864, allocations: 12.44 MB / 1.896 GB, free: 61.01 MB / 1.342 GB Notification: Performance of NFPackage.collectConstants: time 0.007246/2.871, allocations: 0.6664 MB / 1.896 GB, free: 61.01 MB / 1.342 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02432/2.895, allocations: 6.437 MB / 1.903 GB, free: 61 MB / 1.342 GB Notification: Performance of NFScalarize.scalarize: time 0.009881/2.905, allocations: 3.829 MB / 1.906 GB, free: 59.68 MB / 1.342 GB Notification: Performance of NFVerifyModel.verify: time 0.02976/2.935, allocations: 9.267 MB / 1.915 GB, free: 56.35 MB / 1.342 GB Notification: Performance of NFConvertDAE.convert: time 0.05564/2.991, allocations: 33.36 MB / 1.948 GB, free: 33.01 MB / 1.342 GB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/2.991, allocations: 4 kB / 1.948 GB, free: 33 MB / 1.342 GB Notification: Performance of FrontEnd: time 2.955e-06/2.991, allocations: 4 kB / 1.948 GB, free: 33 MB / 1.342 GB Notification: Performance of Transformations before backend: time 0.001178/2.992, allocations: 0 / 1.948 GB, free: 33 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.03734/3.029, allocations: 16.59 MB / 1.964 GB, free: 17.93 MB / 1.342 GB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/3.029, allocations: 12.03 kB / 1.964 GB, free: 17.92 MB / 1.342 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01119/3.041, allocations: 2.541 MB / 1.967 GB, free: 15.36 MB / 1.342 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04324/3.084, allocations: 20.36 MB / 1.987 GB, free: 3.141 MB / 1.342 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001167/3.085, allocations: 0.8865 MB / 1.987 GB, free: 2.625 MB / 1.342 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005673/3.091, allocations: 1.162 MB / 1.989 GB, free: 1.84 MB / 1.342 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04304/3.134, allocations: 14.26 MB / 2.003 GB, free: 8.086 MB / 1.357 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006947/3.135, allocations: 33.39 kB / 2.003 GB, free: 8.066 MB / 1.357 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003576/3.138, allocations: 469.5 kB / 2.003 GB, free: 7.957 MB / 1.357 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004966/3.139, allocations: 432.8 kB / 2.003 GB, free: 7.547 MB / 1.357 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0298/3.168, allocations: 10.92 MB / 2.014 GB, free: 0.8203 MB / 1.357 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1171/3.286, allocations: 72.68 MB / 2.085 GB, free: 8.945 MB / 1.436 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/3.298, allocations: 6.245 MB / 2.091 GB, free: 2.633 MB / 1.436 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007016/3.305, allocations: 3.898 MB / 2.095 GB, free: 14.7 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.03586/3.341, allocations: 17.29 MB / 2.112 GB, free: 12.9 MB / 1.467 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.008324/3.35, allocations: 4.119 MB / 2.116 GB, free: 8.656 MB / 1.467 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007681/3.357, allocations: 0.9581 MB / 2.117 GB, free: 7.691 MB / 1.467 GB Notification: Performance of pre-optimization done (n=557): time 1.922e-05/3.357, allocations: 0 / 2.117 GB, free: 7.691 MB / 1.467 GB Notification: Performance of matching and sorting (n=557): time 0.0359/3.393, allocations: 12.3 MB / 2.129 GB, free: 11.27 MB / 1.482 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003545/3.394, allocations: 0.6222 MB / 2.129 GB, free: 10.52 MB / 1.482 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03093/3.425, allocations: 14.06 MB / 2.143 GB, free: 12.53 MB / 1.498 GB Notification: Performance of collectPreVariables (initialization): time 0.001819/3.427, allocations: 209.7 kB / 2.143 GB, free: 12.32 MB / 1.498 GB Notification: Performance of collectInitialEqns (initialization): time 0.01/3.437, allocations: 7.892 MB / 2.151 GB, free: 4.465 MB / 1.498 GB Notification: Performance of collectInitialBindings (initialization): time 0.003593/3.44, allocations: 1.848 MB / 2.153 GB, free: 2.637 MB / 1.498 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001954/3.442, allocations: 0.9426 MB / 2.154 GB, free: 1.684 MB / 1.498 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/3.442, allocations: 309 kB / 2.154 GB, free: 1.379 MB / 1.498 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007682/3.45, allocations: 4.373 MB / 2.158 GB, free: 13.01 MB / 1.514 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01015/3.46, allocations: 7.439 MB / 2.166 GB, free: 4.312 MB / 1.514 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01837/3.479, allocations: 11.46 MB / 2.177 GB, free: 8.051 MB / 1.529 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.801e-05/3.479, allocations: 20 kB / 2.177 GB, free: 8.031 MB / 1.529 GB Notification: Performance of matching and sorting (n=1219) (initialization): time 0.02993/3.509, allocations: 13.68 MB / 2.19 GB, free: 10.75 MB / 1.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001903/3.511, allocations: 2.507 MB / 2.193 GB, free: 7.199 MB / 1.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/3.511, allocations: 76 kB / 2.193 GB, free: 7.125 MB / 1.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003297/3.514, allocations: 1.18 MB / 2.194 GB, free: 5.941 MB / 1.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007621/3.522, allocations: 1.727 MB / 2.196 GB, free: 4.34 MB / 1.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005452/3.527, allocations: 4.76 MB / 2.2 GB, free: 15.45 MB / 1.561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01379/3.541, allocations: 1.102 MB / 2.201 GB, free: 14.35 MB / 1.561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001789/3.543, allocations: 474.1 kB / 2.202 GB, free: 13.89 MB / 1.561 GB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/3.543, allocations: 7.938 kB / 2.202 GB, free: 13.88 MB / 1.561 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02244/3.565, allocations: 11.8 MB / 2.213 GB, free: 2.543 MB / 1.561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002041/3.565, allocations: 76.08 kB / 2.213 GB, free: 2.469 MB / 1.561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002534/3.568, allocations: 0.942 MB / 2.214 GB, free: 1.523 MB / 1.561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007594/3.576, allocations: 1.733 MB / 2.216 GB, free: 15.91 MB / 1.576 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01609/3.592, allocations: 10.29 MB / 2.226 GB, free: 5.344 MB / 1.576 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.014/3.606, allocations: 1.079 MB / 2.227 GB, free: 4.266 MB / 1.576 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001928/3.608, allocations: 447.9 kB / 2.227 GB, free: 3.828 MB / 1.576 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.01094/3.619, allocations: 4.477 MB / 2.232 GB, free: 15.46 MB / 1.592 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004203/3.623, allocations: 1.381 MB / 2.233 GB, free: 14.06 MB / 1.592 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01845/3.641, allocations: 8.45 MB / 2.241 GB, free: 5.566 MB / 1.592 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.454e-05/3.641, allocations: 59.94 kB / 2.242 GB, free: 5.508 MB / 1.592 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.849e-05/3.641, allocations: 11.98 kB / 2.242 GB, free: 5.496 MB / 1.592 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01211/3.654, allocations: 6.64 MB / 2.248 GB, free: 14.7 MB / 1.607 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.05015/3.704, allocations: 22.42 MB / 2.27 GB, free: 7.977 MB / 1.623 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/3.704, allocations: 4 kB / 2.27 GB, free: 7.973 MB / 1.623 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004667/3.708, allocations: 0.9316 MB / 2.271 GB, free: 7.086 MB / 1.623 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00224/3.711, allocations: 0.7584 MB / 2.272 GB, free: 6.328 MB / 1.623 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001347/3.712, allocations: 179.9 kB / 2.272 GB, free: 6.152 MB / 1.623 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004693/3.717, allocations: 4.516 MB / 2.276 GB, free: 1.469 MB / 1.623 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.991e-06/3.717, allocations: 7.094 kB / 2.276 GB, free: 1.465 MB / 1.623 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02429/3.741, allocations: 12.27 MB / 2.288 GB, free: 4.984 MB / 1.639 GB Notification: Performance of postOpt removeConstants (simulation): time 0.008892/3.75, allocations: 2.607 MB / 2.291 GB, free: 2.34 MB / 1.639 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004056/3.754, allocations: 151.9 kB / 2.291 GB, free: 2.191 MB / 1.639 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01163/3.766, allocations: 0.8904 MB / 2.292 GB, free: 1.309 MB / 1.639 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001335/3.767, allocations: 443.5 kB / 2.292 GB, free: 0.875 MB / 1.639 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001168/3.768, allocations: 283.7 kB / 2.292 GB, free: 0.6016 MB / 1.639 GB Notification: Performance of sorting global known variables: time 0.0281/3.796, allocations: 9.423 MB / 2.302 GB, free: 7.238 MB / 1.654 GB Notification: Performance of sort global known variables: time 3.2e-07/3.797, allocations: 0 / 2.302 GB, free: 7.238 MB / 1.654 GB Notification: Performance of remove unused functions: time 0.0439/3.84, allocations: 8.114 MB / 2.31 GB, free: 15.1 MB / 1.67 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.008125/3.849, allocations: 3.017 MB / 2.312 GB, free: 12.5 MB / 1.67 GB Notification: Performance of simCode: created initialization part: time 0.03683/3.885, allocations: 16.37 MB / 2.328 GB, free: 12.56 MB / 1.686 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-05/3.886, allocations: 5.875 kB / 2.328 GB, free: 12.55 MB / 1.686 GB Notification: Performance of simCode: created simulation system equations: time 0.009013/3.895, allocations: 3.984 MB / 2.332 GB, free: 8.621 MB / 1.686 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05554/3.95, allocations: 7.134 MB / 2.339 GB, free: 1.625 MB / 1.686 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.278/5.228, allocations: 34.23 MB / 2.373 GB, free: 0.7542 GB / 1.686 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0294/5.258, allocations: 7.773 MB / 2.38 GB, free: 0.7532 GB / 1.686 GB Notification: Performance of simCode: alias equations: time 0.03079/5.288, allocations: 3.634 MB / 2.384 GB, free: 0.753 GB / 1.686 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008206/5.297, allocations: 1.033 MB / 2.385 GB, free: 0.753 GB / 1.686 GB Notification: Performance of SimCode: time 2.635e-06/5.297, allocations: 0 / 2.385 GB, free: 0.753 GB / 1.686 GB Notification: Performance of Templates: time 0.4361/5.733, allocations: 270 MB / 2.649 GB, free: 0.5396 GB / 1.686 GB make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile make -j1 -f Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.makefile clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_functions.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_records.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_01exo.c clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Buildings_1_6_Buildings_DHC_Plants_Cooling_Examples_StoragePlantDualSource -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=5 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:158:6: error: redefinition of 'residualFunc686' void residualFunc686(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:104:6: note: previous definition is here void residualFunc686(void** dataIn, const double* xloc, double* res, const int* iflag) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:182:6: error: redefinition of 'initializeSparsePatternNLS686' void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:128:6: note: previous definition is here void initializeSparsePatternNLS686(NONLINEAR_SYSTEM_DATA* inSysData) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:189:6: error: redefinition of 'initializeStaticDataNLS686' void initializeStaticDataNLS686(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:135:6: note: previous definition is here void initializeStaticDataNLS686(void *inData, threadData_t *threadData, void *inSystemData) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:203:6: error: redefinition of 'getIterationVarsNLS686' void getIterationVarsNLS686(struct DATA *inData, double *array) ^ Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.c:149:6: note: previous definition is here void getIterationVarsNLS686(struct DATA *inData, double *array) ^ 4 errors generated. make: *** [: Buildings_1.6_Buildings.DHC.Plants.Cooling.Examples.StoragePlantDualSource_02nls.o] Error 1