Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.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.InjectionTwoWayVariable,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.InjectionTwoWayVariable") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable,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.InjectionTwoWayVariable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001518/0.001518, 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.001795/0.001796, 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.464/1.464, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.865/2.865, allocations: 461.8 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 63.98 kB / 0.899 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3832/0.3845, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable): time 4.88/5.264, allocations: 1.637 GB / 2.69 GB, free: 130.9 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 0.2541/5.518, allocations: 159.6 MB / 2.846 GB, free: 69.06 MB / 1.607 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05618/5.575, allocations: 0.7339 MB / 2.846 GB, free: 68.32 MB / 1.607 GB Notification: Performance of NFTyping.typeComponents: time 0.05305/5.628, allocations: 20.85 MB / 2.867 GB, free: 47.41 MB / 1.607 GB Notification: Performance of NFTyping.typeBindings: time 0.09511/5.723, allocations: 25.61 MB / 2.892 GB, free: 21.72 MB / 1.607 GB Notification: Performance of NFTyping.typeClassSections: time 0.0483/5.771, allocations: 15.84 MB / 2.907 GB, free: 5.941 MB / 1.607 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.1242/5.895, allocations: 77.86 MB / 2.983 GB, free: 7.91 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04907/5.945, allocations: 15.99 MB / 2.999 GB, free: 7.762 MB / 1.701 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05787/6.002, allocations: 15.7 MB / 3.014 GB, free: 8.039 MB / 1.717 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03942/6.042, allocations: 14 MB / 3.028 GB, free: 9.988 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.01275/6.055, allocations: 0.9727 MB / 3.029 GB, free: 9.016 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 2.526/8.58, allocations: 17.53 MB / 3.046 GB, free: 132.5 MB / 1.733 GB Notification: Performance of NFScalarize.scalarize: time 0.01648/8.597, allocations: 5.086 MB / 3.051 GB, free: 132.5 MB / 1.733 GB Notification: Performance of NFVerifyModel.verify: time 0.04385/8.641, allocations: 11.07 MB / 3.062 GB, free: 132.5 MB / 1.733 GB Notification: Performance of NFConvertDAE.convert: time 0.06838/8.709, allocations: 39.08 MB / 3.1 GB, free: 131.7 MB / 1.733 GB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/8.709, allocations: 2.938 kB / 3.1 GB, free: 131.7 MB / 1.733 GB Notification: Performance of FrontEnd: time 2.685e-06/8.709, allocations: 0 / 3.1 GB, free: 131.7 MB / 1.733 GB Notification: Performance of Transformations before backend: time 0.00171/8.711, allocations: 1.438 kB / 3.1 GB, free: 131.7 MB / 1.733 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3242 * Number of variables: 3242 Notification: Performance of Generate backend data structure: time 0.1193/8.83, allocations: 24.03 MB / 3.123 GB, free: 122.2 MB / 1.733 GB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/8.83, allocations: 10.69 kB / 3.123 GB, free: 122.2 MB / 1.733 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07228/8.903, allocations: 9.031 MB / 3.132 GB, free: 121 MB / 1.733 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0647/8.967, allocations: 21.98 MB / 3.154 GB, free: 118 MB / 1.733 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002394/8.97, allocations: 1.138 MB / 3.155 GB, free: 117.8 MB / 1.733 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01131/8.981, allocations: 1.348 MB / 3.156 GB, free: 117.8 MB / 1.733 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08331/9.065, allocations: 18.91 MB / 3.174 GB, free: 116.7 MB / 1.733 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009259/9.066, allocations: 8.219 kB / 3.174 GB, free: 116.7 MB / 1.733 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009079/9.075, allocations: 0.517 MB / 3.175 GB, free: 116.7 MB / 1.733 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006646/9.075, allocations: 0.491 MB / 3.175 GB, free: 116.7 MB / 1.733 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0763/9.152, allocations: 19.58 MB / 3.195 GB, free: 116.4 MB / 1.733 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.2144/9.366, allocations: 85.11 MB / 3.278 GB, free: 90.82 MB / 1.733 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03835/9.405, allocations: 13.69 MB / 3.291 GB, free: 88.02 MB / 1.733 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02371/9.428, allocations: 7.971 MB / 3.299 GB, free: 86.93 MB / 1.733 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/9.529, allocations: 38.34 MB / 3.336 GB, free: 72.57 MB / 1.733 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02322/9.552, allocations: 7.968 MB / 3.344 GB, free: 70.64 MB / 1.733 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01413/9.566, allocations: 1.277 MB / 3.345 GB, free: 69.97 MB / 1.733 GB Notification: Performance of pre-optimization done (n=871): time 6.705e-05/9.566, allocations: 0 / 3.345 GB, free: 69.97 MB / 1.733 GB Notification: Performance of matching and sorting (n=895): time 0.1644/9.731, allocations: 40.44 MB / 3.385 GB, free: 49.2 MB / 1.733 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002691/9.731, allocations: 0.5824 MB / 3.385 GB, free: 48.59 MB / 1.733 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.04936/9.78, allocations: 17.19 MB / 3.402 GB, free: 39.6 MB / 1.733 GB Notification: Performance of collectPreVariables (initialization): time 0.004499/9.785, allocations: 243.6 kB / 3.402 GB, free: 39.42 MB / 1.733 GB Notification: Performance of collectInitialEqns (initialization): time 0.01479/9.8, allocations: 8.486 MB / 3.411 GB, free: 32.04 MB / 1.733 GB Notification: Performance of collectInitialBindings (initialization): time 0.007476/9.807, allocations: 3.039 MB / 3.414 GB, free: 29.41 MB / 1.733 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02249/9.83, allocations: 2.877 MB / 3.416 GB, free: 27.72 MB / 1.733 GB Notification: Performance of setup shared object (initialization): time 6.655e-05/9.83, allocations: 309.1 kB / 3.417 GB, free: 27.42 MB / 1.733 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03447/9.864, allocations: 8.66 MB / 3.425 GB, free: 19.33 MB / 1.733 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03198/9.896, allocations: 11.62 MB / 3.437 GB, free: 6.68 MB / 1.733 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.2716/10.17, allocations: 71.01 MB / 3.506 GB, free: 15 MB / 1.811 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.852e-05/10.17, allocations: 16 kB / 3.506 GB, free: 14.98 MB / 1.811 GB Notification: Performance of matching and sorting (n=1658) (initialization): time 0.08876/10.26, allocations: 23.83 MB / 3.529 GB, free: 7.523 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002638/10.26, allocations: 301 kB / 3.529 GB, free: 7.168 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000135/10.26, allocations: 56 kB / 3.53 GB, free: 7.113 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008431/10.27, allocations: 2.469 MB / 3.532 GB, free: 4.617 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02468/10.29, allocations: 3.655 MB / 3.535 GB, free: 1.129 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0286/10.32, allocations: 24.63 MB / 3.56 GB, free: 7.113 MB / 1.858 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0334/10.35, allocations: 2.164 MB / 3.562 GB, free: 4.965 MB / 1.858 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005796/10.36, allocations: 0.6954 MB / 3.562 GB, free: 4.273 MB / 1.858 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.04292/10.4, allocations: 12.38 MB / 3.574 GB, free: 7.887 MB / 1.873 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03237/10.43, allocations: 11.29 MB / 3.585 GB, free: 11.57 MB / 1.889 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.2587/10.69, allocations: 69.21 MB / 3.653 GB, free: 5.613 MB / 1.951 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.273e-05/10.69, allocations: 16 kB / 3.653 GB, free: 5.598 MB / 1.951 GB Notification: Performance of matching and sorting (n=1658) (initialization_lambda0): time 0.0825/10.78, allocations: 23.27 MB / 3.676 GB, free: 14.59 MB / 1.983 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002162/10.78, allocations: 297 kB / 3.676 GB, free: 14.23 MB / 1.983 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001053/10.78, allocations: 58.06 kB / 3.676 GB, free: 14.18 MB / 1.983 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008296/10.78, allocations: 2.462 MB / 3.679 GB, free: 11.69 MB / 1.983 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02432/10.81, allocations: 3.603 MB / 3.682 GB, free: 8.246 MB / 1.983 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03728/10.85, allocations: 30.33 MB / 3.712 GB, free: 8.352 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03306/10.88, allocations: 2.168 MB / 3.714 GB, free: 6.188 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005546/10.88, allocations: 0.6804 MB / 3.714 GB, free: 5.512 MB / 2.014 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 (1495): * Single equations (assignments): 1454 * 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), (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)} Notification: Performance of prepare postOptimizeDAE: time 0.009749/10.89, allocations: 1.214 MB / 3.716 GB, free: 4.395 MB / 2.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01143/10.91, allocations: 1.674 MB / 3.717 GB, free: 2.699 MB / 2.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.8802/11.79, allocations: 17.45 MB / 3.734 GB, free: 1.042 GB / 2.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002236/11.79, allocations: 101.7 kB / 3.734 GB, free: 1.042 GB / 2.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.96e-05/11.79, allocations: 3.75 kB / 3.734 GB, free: 1.042 GB / 2.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05714/11.84, allocations: 14.4 MB / 3.748 GB, free: 1.041 GB / 2.014 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.1321/11.98, allocations: 44.08 MB / 3.791 GB, free: 1.03 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001483/11.98, allocations: 19.59 kB / 3.792 GB, free: 1.03 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01493/11.99, allocations: 2.133 MB / 3.794 GB, free: 1.03 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00401/11.99, allocations: 1.008 MB / 3.795 GB, free: 1.03 GB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003669/12, allocations: 325.7 kB / 3.795 GB, free: 1.03 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00788/12.01, allocations: 9.388 MB / 3.804 GB, free: 1.021 GB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.347e-05/12.01, allocations: 35.25 kB / 3.804 GB, free: 1.021 GB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08124/12.09, allocations: 26.09 MB / 3.83 GB, free: 1.011 GB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0165/12.1, allocations: 3.951 MB / 3.833 GB, free: 1.009 GB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01031/12.11, allocations: 242.7 kB / 3.834 GB, free: 1.009 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02952/12.14, allocations: 1.436 MB / 3.835 GB, free: 1.009 GB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003955/12.15, allocations: 0.6473 MB / 3.836 GB, free: 1.008 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004089/12.15, allocations: 492.2 kB / 3.836 GB, free: 1.008 GB / 2.014 GB Notification: Performance of sorting global known variables: time 0.03841/12.19, allocations: 11.61 MB / 3.848 GB, free: 1.004 GB / 2.014 GB Notification: Performance of sort global known variables: time 8.52e-07/12.19, allocations: 0 / 3.848 GB, free: 1.004 GB / 2.014 GB Notification: Performance of remove unused functions: time 0.06234/12.25, allocations: 8.24 MB / 3.856 GB, free: 1.003 GB / 2.014 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,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01133/12.26, allocations: 3.105 MB / 3.859 GB, free: 1.003 GB / 2.014 GB Notification: Performance of simCode: created initialization part: time 0.09563/12.36, allocations: 32.5 MB / 3.89 GB, free: 0.9898 GB / 2.014 GB Notification: Performance of simCode: created event and clocks part: time 3.851e-05/12.36, allocations: 9.562 kB / 3.89 GB, free: 0.9898 GB / 2.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0236/12.38, allocations: 8.847 MB / 3.899 GB, free: 0.9843 GB / 2.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06258/12.45, allocations: 8.725 MB / 3.907 GB, free: 0.9783 GB / 2.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1068/12.55, allocations: 44.41 MB / 3.951 GB, free: 0.9376 GB / 2.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02003/12.57, allocations: 8.286 MB / 3.959 GB, free: 0.9318 GB / 2.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01162/12.58, allocations: 1.475 MB / 3.96 GB, free: 0.9305 GB / 2.014 GB Notification: Performance of SimCode: time 2.084e-06/12.58, allocations: 0 / 3.96 GB, free: 0.9305 GB / 2.014 GB Notification: Performance of Templates: time 2.803/15.39, allocations: 1.715 GB / 5.675 GB, free: 298.1 MB / 2.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.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.InjectionTwoWayVariableCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.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.InjectionTwoWayVariable.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.InjectionTwoWayVariable.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.InjectionTwoWayVariable.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.InjectionTwoWayVariable.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.InjectionTwoWayVariable.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.InjectionTwoWayVariableCalcHelperMain.o] Error 1