Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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.InjectionTwoWayCheckValve,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001618/0.001618, allocations: 100.1 kB / 15.88 MB, free: 12 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.002093/0.002093, allocations: 199.3 kB / 16.79 MB, free: 6.809 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.435/1.435, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.814/2.814, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001267/0.001267, allocations: 65.41 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3529, allocations: 157.4 MB / 1.053 GB, free: 8.289 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 4.492/4.845, allocations: 1.816 GB / 2.869 GB, free: 8.203 MB / 1.545 GB Notification: Performance of NFInst.instExpressions: time 1.508/6.353, allocations: 160.2 MB / 3.025 GB, free: 45.47 MB / 1.639 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05259/6.405, allocations: 0.736 MB / 3.026 GB, free: 45.47 MB / 1.639 GB Notification: Performance of NFTyping.typeComponents: time 0.06122/6.467, allocations: 20.87 MB / 3.047 GB, free: 45.3 MB / 1.639 GB Notification: Performance of NFTyping.typeBindings: time 0.09954/6.566, allocations: 25.72 MB / 3.072 GB, free: 44.67 MB / 1.639 GB Notification: Performance of NFTyping.typeClassSections: time 0.05314/6.619, allocations: 15.93 MB / 3.087 GB, free: 44.35 MB / 1.639 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.005287536717937152, 0.0105750734358743, 0.01440397933507017}[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.00549090351478091, 0.01098180702956182, 0.01495797854026524}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.132/6.751, allocations: 78.01 MB / 3.163 GB, free: 44.09 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05048/6.802, allocations: 16.01 MB / 3.179 GB, free: 42 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0574/6.859, allocations: 15.72 MB / 3.194 GB, free: 41.86 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04346/6.903, allocations: 14.06 MB / 3.208 GB, free: 39.52 MB / 1.639 GB Notification: Performance of NFPackage.collectConstants: time 0.0135/6.917, allocations: 0.9747 MB / 3.209 GB, free: 39.52 MB / 1.639 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06262/6.979, allocations: 17.55 MB / 3.226 GB, free: 39.3 MB / 1.639 GB Notification: Performance of NFScalarize.scalarize: time 0.01634/6.996, allocations: 5.102 MB / 3.231 GB, free: 37.32 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.05122/7.047, allocations: 11.11 MB / 3.242 GB, free: 33.45 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.07314/7.12, allocations: 39.15 MB / 3.28 GB, free: 13.04 MB / 1.639 GB Notification: Performance of FrontEnd - DAE generated: time 1.585e-05/7.12, allocations: 0 / 3.28 GB, free: 13.04 MB / 1.639 GB Notification: Performance of FrontEnd: time 3.857e-06/7.12, allocations: 8 kB / 3.28 GB, free: 13.03 MB / 1.639 GB Notification: Performance of Transformations before backend: time 0.002301/7.123, allocations: 0 / 3.28 GB, free: 13.03 MB / 1.639 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.1047/7.227, allocations: 24.12 MB / 3.304 GB, free: 9.168 MB / 1.654 GB Notification: Performance of prepare preOptimizeDAE: time 6.084e-05/7.227, allocations: 8.031 kB / 3.304 GB, free: 9.16 MB / 1.654 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06675/7.294, allocations: 9.046 MB / 3.313 GB, free: 352 kB / 1.654 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06095/7.355, allocations: 22.02 MB / 3.334 GB, free: 13.52 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002234/7.357, allocations: 1.153 MB / 3.335 GB, free: 12.35 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0097/7.367, allocations: 1.346 MB / 3.337 GB, free: 11.01 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07876/7.446, allocations: 18.93 MB / 3.355 GB, free: 7.875 MB / 1.701 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006738/7.447, allocations: 18.56 kB / 3.355 GB, free: 7.863 MB / 1.701 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008858/7.455, allocations: 0.5108 MB / 3.356 GB, free: 7.355 MB / 1.701 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006906/7.456, allocations: 0.4995 MB / 3.356 GB, free: 6.855 MB / 1.701 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07399/7.53, allocations: 19.6 MB / 3.375 GB, free: 3.301 MB / 1.717 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.193/7.723, allocations: 85.19 MB / 3.458 GB, free: 12.61 MB / 1.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03532/7.759, allocations: 13.69 MB / 3.472 GB, free: 14.91 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02253/7.781, allocations: 7.986 MB / 3.48 GB, free: 6.922 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1025/7.884, allocations: 38.46 MB / 3.517 GB, free: 15.93 MB / 1.873 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02647/7.91, allocations: 7.999 MB / 3.525 GB, free: 7.902 MB / 1.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01471/7.925, allocations: 1.28 MB / 3.526 GB, free: 6.617 MB / 1.873 GB Notification: Performance of pre-optimization done (n=876): time 4.866e-05/7.925, allocations: 0 / 3.526 GB, free: 6.617 MB / 1.873 GB Notification: Performance of matching and sorting (n=900): time 0.1763/8.101, allocations: 40.97 MB / 3.566 GB, free: 13.45 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004173/8.102, allocations: 0.5814 MB / 3.567 GB, free: 12.75 MB / 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 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.06538/8.167, allocations: 17.25 MB / 3.584 GB, free: 11.6 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.004706/8.172, allocations: 253.4 kB / 3.584 GB, free: 11.35 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.01479/8.187, allocations: 8.512 MB / 3.592 GB, free: 2.879 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.007305/8.194, allocations: 3.057 MB / 3.595 GB, free: 15.86 MB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01111/8.205, allocations: 2.892 MB / 3.598 GB, free: 12.95 MB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.0001175/8.205, allocations: 305.1 kB / 3.598 GB, free: 12.65 MB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02442/8.23, allocations: 8.68 MB / 3.607 GB, free: 3.961 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03159/8.261, allocations: 11.65 MB / 3.618 GB, free: 7.281 MB / 1.967 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 1.209/9.471, allocations: 71.21 MB / 3.688 GB, free: 1.049 GB / 1.982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001329/9.471, allocations: 15.88 kB / 3.688 GB, free: 1.049 GB / 1.982 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.08959/9.561, allocations: 23.93 MB / 3.711 GB, free: 1.046 GB / 1.982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002465/9.561, allocations: 300.5 kB / 3.711 GB, free: 1.046 GB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001653/9.561, allocations: 58.25 kB / 3.711 GB, free: 1.046 GB / 1.982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009055/9.57, allocations: 2.544 MB / 3.714 GB, free: 1.045 GB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02491/9.595, allocations: 3.651 MB / 3.717 GB, free: 1.045 GB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02462/9.62, allocations: 24.7 MB / 3.742 GB, free: 1.024 GB / 1.982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03271/9.653, allocations: 2.151 MB / 3.744 GB, free: 1.023 GB / 1.982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00581/9.658, allocations: 0.7061 MB / 3.744 GB, free: 1.023 GB / 1.982 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: 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. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04142/9.7, allocations: 12.41 MB / 3.757 GB, free: 1.018 GB / 1.982 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0307/9.731, allocations: 11.32 MB / 3.768 GB, free: 1.011 GB / 1.982 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_lambda0): time 0.2965/10.03, allocations: 69.39 MB / 3.835 GB, free: 0.9492 GB / 1.982 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0002066/10.03, allocations: 20 kB / 3.835 GB, free: 0.9491 GB / 1.982 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.1121/10.14, allocations: 23.37 MB / 3.858 GB, free: 0.9271 GB / 1.982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003394/10.14, allocations: 305 kB / 3.858 GB, free: 0.9267 GB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002122/10.14, allocations: 56 kB / 3.859 GB, free: 0.9267 GB / 1.982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009964/10.15, allocations: 2.479 MB / 3.861 GB, free: 0.9242 GB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02939/10.18, allocations: 3.627 MB / 3.864 GB, free: 0.9207 GB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0441/10.22, allocations: 30.51 MB / 3.894 GB, free: 0.8894 GB / 1.982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04131/10.27, allocations: 2.174 MB / 3.896 GB, free: 0.8873 GB / 1.982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006681/10.27, allocations: 0.6792 MB / 3.897 GB, free: 0.8866 GB / 1.982 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: 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. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 262 * Number of states: 0 () * Number of discrete variables: 90 ($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,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 (1499): * Single equations (assignments): 1458 * Array equations: 10 * Algorithm blocks: 10 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * 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): 4 systems {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): 15 systems {(1,2), (1,2), (5,26), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.01172/10.28, allocations: 1.216 MB / 3.898 GB, free: 0.8854 GB / 1.982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01237/10.3, allocations: 1.686 MB / 3.9 GB, free: 0.8846 GB / 1.982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08701/10.38, allocations: 17.37 MB / 3.917 GB, free: 0.8677 GB / 1.982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002323/10.38, allocations: 99.98 kB / 3.917 GB, free: 0.8676 GB / 1.982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.884e-05/10.38, allocations: 3.984 kB / 3.917 GB, free: 0.8676 GB / 1.982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06474/10.45, allocations: 14.29 MB / 3.931 GB, free: 0.8535 GB / 1.982 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.1535/10.6, allocations: 44.13 MB / 3.974 GB, free: 0.8102 GB / 1.982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003027/10.6, allocations: 20 kB / 3.974 GB, free: 0.8102 GB / 1.982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01845/10.62, allocations: 2.134 MB / 3.976 GB, free: 0.8081 GB / 1.982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005237/10.63, allocations: 1.073 MB / 3.977 GB, free: 0.807 GB / 1.982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004339/10.63, allocations: 327.7 kB / 3.977 GB, free: 0.8067 GB / 1.982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00995/10.64, allocations: 9.463 MB / 3.987 GB, free: 0.7968 GB / 1.982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.977e-05/10.64, allocations: 35.81 kB / 3.987 GB, free: 0.7968 GB / 1.982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1036/10.74, allocations: 26.17 MB / 4.012 GB, free: 0.7707 GB / 1.982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0195/10.76, allocations: 3.967 MB / 4.016 GB, free: 0.7668 GB / 1.982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01186/10.78, allocations: 243.9 kB / 4.016 GB, free: 0.7666 GB / 1.982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0301/10.81, allocations: 1.437 MB / 4.018 GB, free: 0.7652 GB / 1.982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004233/10.81, allocations: 0.6459 MB / 4.018 GB, free: 0.7646 GB / 1.982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004631/10.81, allocations: 0.4917 MB / 4.019 GB, free: 0.7641 GB / 1.982 GB Notification: Performance of sorting global known variables: time 0.04513/10.86, allocations: 11.65 MB / 4.03 GB, free: 0.7528 GB / 1.982 GB Notification: Performance of sort global known variables: time 8.72e-07/10.86, allocations: 0 / 4.03 GB, free: 0.7528 GB / 1.982 GB Notification: Performance of remove unused functions: time 0.08837/10.95, allocations: 8.278 MB / 4.038 GB, free: 0.7449 GB / 1.982 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (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) * Number of discrete variables: 51 (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) * Number of discrete states: 7 (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 (929): * Single equations (assignments): 881 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 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): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01528/10.96, allocations: 3.118 MB / 4.041 GB, free: 0.7424 GB / 1.982 GB Notification: Performance of simCode: created initialization part: time 0.1241/11.09, allocations: 32.59 MB / 4.073 GB, free: 0.7102 GB / 1.982 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-05/11.09, allocations: 5.875 kB / 4.073 GB, free: 0.7102 GB / 1.982 GB Notification: Performance of simCode: created simulation system equations: time 0.0317/11.12, allocations: 8.88 MB / 4.082 GB, free: 0.7014 GB / 1.982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08824/11.21, allocations: 8.779 MB / 4.091 GB, free: 0.693 GB / 1.982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1405/11.35, allocations: 44.52 MB / 4.134 GB, free: 0.6493 GB / 1.982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02952/11.38, allocations: 8.31 MB / 4.142 GB, free: 0.6411 GB / 1.982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01647/11.39, allocations: 1.479 MB / 4.144 GB, free: 0.6397 GB / 1.982 GB Notification: Performance of SimCode: time 1.863e-06/11.39, allocations: 0 / 4.144 GB, free: 0.6397 GB / 1.982 GB Notification: Performance of Templates: time 4.427/15.82, allocations: 1.72 GB / 5.863 GB, free: 0.9869 GB / 1.983 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.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.InjectionTwoWayCheckValveCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12089: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.InjectionTwoWayCheckValve.cpp:12091: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.InjectionTwoWayCheckValve.cpp:12093: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.InjectionTwoWayCheckValve.cpp:12095: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.InjectionTwoWayCheckValve.cpp:12097: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.InjectionTwoWayCheckValve.cpp:12099: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.InjectionTwoWayCheckValveCalcHelperMain.o] Error 1