Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.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: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001129/0.00113, allocations: 99.42 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001784, allocations: 185.5 kB / 16.92 MB, free: 6.688 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.516/1.516, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.901/2.901, allocations: 462.6 MB / 0.737 GB, free: 15.51 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003921/0.0003918, allocations: 10.72 kB / 0.9034 GB, free: 36.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.339, allocations: 159.6 MB / 1.059 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 4.703/5.042, allocations: 1.861 GB / 2.921 GB, free: 4.246 MB / 1.592 GB Notification: Performance of NFInst.instExpressions: time 1.553/6.595, allocations: 197.5 MB / 3.113 GB, free: 84.2 MB / 1.639 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06024/6.656, allocations: 0.8755 MB / 3.114 GB, free: 84.2 MB / 1.639 GB Notification: Performance of NFTyping.typeComponents: time 0.0617/6.717, allocations: 25.3 MB / 3.139 GB, free: 83.81 MB / 1.639 GB Notification: Performance of NFTyping.typeBindings: time 0.1209/6.838, allocations: 34.13 MB / 3.172 GB, free: 82.45 MB / 1.639 GB Notification: Performance of NFTyping.typeClassSections: time 0.06471/6.903, allocations: 20.93 MB / 3.193 GB, free: 82.01 MB / 1.639 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.005287536717937152, 0.0105750734358743, 0.01440397933507017}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.00549090351478091, 0.01098180702956182, 0.01495797854026524}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1388/7.042, allocations: 98.79 MB / 3.289 GB, free: 52.22 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04986/7.092, allocations: 19.95 MB / 3.309 GB, free: 38.64 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0599/7.152, allocations: 19.98 MB / 3.328 GB, free: 22.14 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0391/7.191, allocations: 17.25 MB / 3.345 GB, free: 6.863 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.011/7.202, allocations: 0.9492 MB / 3.346 GB, free: 5.914 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06976/7.272, allocations: 23.71 MB / 3.369 GB, free: 0.5156 MB / 1.654 GB Notification: Performance of NFScalarize.scalarize: time 0.01581/7.288, allocations: 5.971 MB / 3.375 GB, free: 10.7 MB / 1.67 GB Notification: Performance of NFVerifyModel.verify: time 0.03986/7.328, allocations: 13.83 MB / 3.388 GB, free: 12.94 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.0766/7.404, allocations: 50.65 MB / 3.438 GB, free: 11.75 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 1.312e-05/7.404, allocations: 3.938 kB / 3.438 GB, free: 11.74 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.745e-06/7.404, allocations: 4 kB / 3.438 GB, free: 11.74 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001826/7.406, allocations: 0 / 3.438 GB, free: 11.74 MB / 1.732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4288 * Number of variables: 4288 Notification: Performance of Generate backend data structure: time 0.08025/7.486, allocations: 25.15 MB / 3.462 GB, free: 2.492 MB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/7.486, allocations: 8.031 kB / 3.462 GB, free: 2.484 MB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09479/7.581, allocations: 13.72 MB / 3.476 GB, free: 4.75 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07638/7.658, allocations: 28.32 MB / 3.504 GB, free: 8.824 MB / 1.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003058/7.661, allocations: 1.587 MB / 3.505 GB, free: 7.203 MB / 1.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009103/7.67, allocations: 1.782 MB / 3.507 GB, free: 5.43 MB / 1.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0955/7.766, allocations: 25.93 MB / 3.532 GB, free: 11.21 MB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001059/7.767, allocations: 11.88 kB / 3.532 GB, free: 11.2 MB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008132/7.775, allocations: 0.6811 MB / 3.533 GB, free: 10.52 MB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000818/7.776, allocations: 0.6531 MB / 3.533 GB, free: 9.863 MB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09548/7.871, allocations: 27.84 MB / 3.561 GB, free: 13.99 MB / 1.857 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 1.73/9.602, allocations: 115 MB / 3.673 GB, free: 0.9519 GB / 1.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04832/9.65, allocations: 18.45 MB / 3.691 GB, free: 0.9498 GB / 1.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0308/9.681, allocations: 11.1 MB / 3.702 GB, free: 0.9457 GB / 1.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1195/9.8, allocations: 52.69 MB / 3.753 GB, free: 0.9129 GB / 1.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0321/9.832, allocations: 11 MB / 3.764 GB, free: 0.9069 GB / 1.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0183/9.851, allocations: 1.572 MB / 3.766 GB, free: 0.9064 GB / 1.92 GB Notification: Performance of pre-optimization done (n=1143): time 5.938e-05/9.851, allocations: 7.906 kB / 3.766 GB, free: 0.9063 GB / 1.92 GB Notification: Performance of matching and sorting (n=1177): time 0.2204/10.07, allocations: 59.91 MB / 3.824 GB, free: 0.8743 GB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003497/10.07, allocations: 0.7617 MB / 3.825 GB, free: 0.8735 GB / 1.92 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loaOpe.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05649/10.13, allocations: 22.54 MB / 3.847 GB, free: 0.8595 GB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.00483/10.13, allocations: 313.6 kB / 3.847 GB, free: 0.8592 GB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.01499/10.15, allocations: 11.13 MB / 3.858 GB, free: 0.8483 GB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.007981/10.16, allocations: 4.013 MB / 3.862 GB, free: 0.8444 GB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006554/10.16, allocations: 1.508 MB / 3.863 GB, free: 0.843 GB / 1.92 GB Notification: Performance of setup shared object (initialization): time 6.573e-05/10.16, allocations: 305.1 kB / 3.864 GB, free: 0.8427 GB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03303/10.2, allocations: 11.92 MB / 3.875 GB, free: 0.8312 GB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03758/10.23, allocations: 15.86 MB / 3.891 GB, free: 0.8146 GB / 1.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.3121/10.55, allocations: 93.63 MB / 3.982 GB, free: 0.7224 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001369/10.55, allocations: 24 kB / 3.982 GB, free: 0.7224 GB / 1.92 GB Notification: Performance of matching and sorting (n=2182) (initialization): time 0.1056/10.65, allocations: 32.8 MB / 4.014 GB, free: 0.6902 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.001452/10.65, allocations: 2.805 MB / 4.017 GB, free: 0.6863 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/10.65, allocations: 76 kB / 4.017 GB, free: 0.6863 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.011/10.66, allocations: 3.63 MB / 4.021 GB, free: 0.6827 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02972/10.69, allocations: 5.078 MB / 4.026 GB, free: 0.6777 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0328/10.73, allocations: 39.34 MB / 4.064 GB, free: 0.6369 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0402/10.77, allocations: 3.249 MB / 4.067 GB, free: 0.6337 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006123/10.77, allocations: 0.9323 MB / 4.068 GB, free: 0.6328 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/10.77, allocations: 4 kB / 4.068 GB, free: 0.6328 GB / 1.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.09558/10.87, allocations: 30.23 MB / 4.098 GB, free: 0.6031 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002865/10.87, allocations: 76 kB / 4.098 GB, free: 0.6031 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01065/10.88, allocations: 3.564 MB / 4.101 GB, free: 0.5995 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02975/10.91, allocations: 5.016 MB / 4.106 GB, free: 0.5946 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04216/10.95, allocations: 44.32 MB / 4.149 GB, free: 0.5488 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03936/10.99, allocations: 2.908 MB / 4.152 GB, free: 0.5459 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00656/11, allocations: 0.9055 MB / 4.153 GB, free: 0.5451 GB / 1.92 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization sytem: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 113 (loaOpe.loa.ctl.cha.down,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.y,loaOpe.loa.ctl.cha.u,$PRE.loaOpe.loa.ctl.cha.u,$whenCondition14,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,loaOpe.loa.coi.flowRegime_nominal,loaOpe.loa.coi.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coi.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coi.dryWetCalcs.cfg,loaOpe.loa.coi.flowRegime,loaOpe.loa.coiNom.flowRegime_nominal,loaOpe.loa.coiNom.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coiNom.dryWetCalcs.cfg,loaOpe.loa.coiNom.flowRegime,loaOpe.loa.coiNom.UAFroRated.isFulWet,loaOpe.loa.coiNom.UAFroRated.isFulDry,loaOpe.loa.coi.UAFroRated.isFulWet,loaOpe.loa.coi.UAFroRated.isFulDry,loaOpe.loa.ctl.isDis.y,loaOpe.loa.ctl.addPar.y,loaOpe.loa.addPar.y,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1981): * Single equations (assignments): 1922 * Array equations: 14 * Algorithm blocks: 13 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 23 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(1,2), (1,2), (6,20), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (1,4), (1,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.02515/11.02, allocations: 6.391 MB / 4.159 GB, free: 0.5387 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01078/11.03, allocations: 2.195 MB / 4.161 GB, free: 0.5365 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08517/11.12, allocations: 24.49 MB / 4.185 GB, free: 0.5126 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002291/11.12, allocations: 132 kB / 4.185 GB, free: 0.5125 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.336e-05/11.12, allocations: 4 kB / 4.185 GB, free: 0.5125 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06641/11.19, allocations: 20.55 MB / 4.206 GB, free: 0.4921 GB / 1.92 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.1586/11.34, allocations: 64.1 MB / 4.268 GB, free: 439.3 MB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001726/11.34, allocations: 32 kB / 4.268 GB, free: 439.3 MB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01882/11.36, allocations: 2.981 MB / 4.271 GB, free: 436.3 MB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005944/11.37, allocations: 1.576 MB / 4.273 GB, free: 434.7 MB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004117/11.37, allocations: 435.7 kB / 4.273 GB, free: 434.2 MB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01338/11.39, allocations: 16.43 MB / 4.289 GB, free: 416.6 MB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.281e-05/11.39, allocations: 51.97 kB / 4.289 GB, free: 416.6 MB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1022/11.49, allocations: 36.97 MB / 4.325 GB, free: 378.7 MB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02207/11.51, allocations: 5.708 MB / 4.331 GB, free: 372.9 MB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01088/11.52, allocations: 312 kB / 4.331 GB, free: 372.6 MB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03076/11.55, allocations: 2.098 MB / 4.333 GB, free: 370.5 MB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003678/11.56, allocations: 0.8584 MB / 4.334 GB, free: 369.6 MB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003389/11.56, allocations: 0.6478 MB / 4.335 GB, free: 369 MB / 1.92 GB Notification: Performance of sorting global known variables: time 0.04007/11.6, allocations: 15.32 MB / 4.35 GB, free: 353.8 MB / 1.92 GB Notification: Performance of sort global known variables: time 8.12e-07/11.6, allocations: 0 / 4.35 GB, free: 353.8 MB / 1.92 GB Notification: Performance of remove unused functions: time 0.06951/11.67, allocations: 10.78 MB / 4.36 GB, free: 343.2 MB / 1.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 60 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y,loaOpe.loa.TAirLvg.T,loaOpe.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.ctl.conPID.I.y,loaOpe.loa.coiNom.heaCoo.vol.dynBal.U,loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.TLiqEnt.T,loaOpe.loa.TLiqLvg.T,loaOpe.loa.TAirLvgNom.T) * Number of discrete variables: 56 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y,loaOpe.loa.ctl.cha.y,$whenCondition14,loaOpe.loa.ctl.cha.u,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.down) * Number of discrete states: 8 (loaOpe.loa.ctl.cha.u,fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1228): * Single equations (assignments): 1159 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 37 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 14 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 14 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (6,22), (1,4), (1,1), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01085/11.68, allocations: 4.121 MB / 4.364 GB, free: 339.6 MB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.128/11.81, allocations: 45.29 MB / 4.408 GB, free: 293.7 MB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 4.58e-05/11.81, allocations: 11.97 kB / 4.408 GB, free: 293.7 MB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.03236/11.84, allocations: 12.6 MB / 4.421 GB, free: 280.8 MB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1921/12.03, allocations: 13.05 MB / 4.433 GB, free: 268 MB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.125/12.16, allocations: 59.45 MB / 4.491 GB, free: 208.1 MB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02196/12.18, allocations: 10.52 MB / 4.502 GB, free: 197.5 MB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01716/12.2, allocations: 2.194 MB / 4.504 GB, free: 195.3 MB / 1.92 GB Notification: Performance of SimCode: time 1.582e-06/12.2, allocations: 0 / 4.504 GB, free: 195.3 MB / 1.92 GB Notification: Performance of Templates: time 6.41/18.61, allocations: 3.356 GB / 7.86 GB, free: 0.5663 GB / 1.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16112:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16114:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16116:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16118:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16120:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16122:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o] Error 1