Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: 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_10_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_10_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.001403/0.001403, 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.00163/0.00163, allocations: 196.1 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.395/1.395, allocations: 222.9 MB / 240.5 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.721/2.721, allocations: 437 MB / 0.7106 GB, free: 5.359 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001473, allocations: 59.91 kB / 0.8692 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7259/0.7274, allocations: 151.6 MB / 1.017 GB, free: 2.793 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 4.651/5.378, allocations: 1.886 GB / 2.904 GB, free: 11.41 MB / 1.607 GB Notification: Performance of NFInst.instExpressions: time 1.503/6.881, allocations: 199.2 MB / 3.098 GB, free: 92.55 MB / 1.686 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06428/6.946, allocations: 0.9188 MB / 3.099 GB, free: 92.55 MB / 1.686 GB Notification: Performance of NFTyping.typeComponents: time 0.06599/7.012, allocations: 25.32 MB / 3.124 GB, free: 92.3 MB / 1.686 GB Notification: Performance of NFTyping.typeBindings: time 0.1195/7.131, allocations: 34.14 MB / 3.157 GB, free: 90.94 MB / 1.686 GB Notification: Performance of NFTyping.typeClassSections: time 0.05951/7.191, allocations: 20.88 MB / 3.178 GB, free: 90.47 MB / 1.686 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.1502/7.341, allocations: 98.8 MB / 3.274 GB, free: 79.17 MB / 1.686 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05059/7.391, allocations: 20.59 MB / 3.294 GB, free: 67.73 MB / 1.686 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06513/7.457, allocations: 20.73 MB / 3.314 GB, free: 51.37 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04381/7.5, allocations: 18.21 MB / 3.332 GB, free: 34.45 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.0137/7.514, allocations: 1.266 MB / 3.333 GB, free: 33.18 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07034/7.585, allocations: 24.03 MB / 3.357 GB, free: 11.46 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01626/7.601, allocations: 6.498 MB / 3.363 GB, free: 5.109 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.04561/7.647, allocations: 14.46 MB / 3.377 GB, free: 6.715 MB / 1.701 GB Notification: Performance of NFConvertDAE.convert: time 0.08417/7.731, allocations: 52.03 MB / 3.428 GB, free: 4.16 MB / 1.748 GB Notification: Performance of FrontEnd - DAE generated: time 8.275e-06/7.731, allocations: 3.938 kB / 3.428 GB, free: 4.156 MB / 1.748 GB Notification: Performance of FrontEnd: time 2.114e-06/7.731, allocations: 0 / 3.428 GB, free: 4.156 MB / 1.748 GB Notification: Performance of Transformations before backend: time 0.001947/7.733, allocations: 0 / 3.428 GB, free: 4.156 MB / 1.748 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.1065/7.839, allocations: 31.23 MB / 3.459 GB, free: 4.828 MB / 1.779 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/7.839, allocations: 8.031 kB / 3.459 GB, free: 4.82 MB / 1.779 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09486/7.934, allocations: 13.12 MB / 3.471 GB, free: 7.688 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06444/7.999, allocations: 28.31 MB / 3.499 GB, free: 11.79 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002593/8.001, allocations: 1.599 MB / 3.501 GB, free: 10.16 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009373/8.011, allocations: 1.77 MB / 3.502 GB, free: 8.398 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0907/8.101, allocations: 25.69 MB / 3.527 GB, free: 14.42 MB / 1.857 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000779/8.102, allocations: 19.86 kB / 3.528 GB, free: 14.4 MB / 1.857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007567/8.11, allocations: 0.6777 MB / 3.528 GB, free: 13.73 MB / 1.857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006927/8.111, allocations: 0.6492 MB / 3.529 GB, free: 13.08 MB / 1.857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08823/8.199, allocations: 27.39 MB / 3.556 GB, free: 1.66 MB / 1.873 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.2399/8.439, allocations: 114.5 MB / 3.667 GB, free: 12.52 MB / 1.998 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0493/8.488, allocations: 18.25 MB / 3.685 GB, free: 10.25 MB / 2.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.8486/9.337, allocations: 10.91 MB / 3.696 GB, free: 1.114 GB / 2.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1333/9.47, allocations: 52.54 MB / 3.747 GB, free: 1.087 GB / 2.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03254/9.503, allocations: 10.84 MB / 3.758 GB, free: 1.083 GB / 2.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01749/9.52, allocations: 1.574 MB / 3.759 GB, free: 1.083 GB / 2.014 GB Notification: Performance of pre-optimization done (n=1143): time 6.818e-05/9.52, allocations: 0 / 3.759 GB, free: 1.083 GB / 2.014 GB Notification: Performance of matching and sorting (n=1177): time 0.2275/9.748, allocations: 59.09 MB / 3.817 GB, free: 1.057 GB / 2.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004328/9.748, allocations: 0.7596 MB / 3.818 GB, free: 1.056 GB / 2.014 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 10.1.0-maint.10.0.x/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 10.1.0-maint.10.0.x/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.06029/9.809, allocations: 22.51 MB / 3.84 GB, free: 1.045 GB / 2.014 GB Notification: Performance of collectPreVariables (initialization): time 0.004826/9.814, allocations: 313.2 kB / 3.84 GB, free: 1.045 GB / 2.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.01466/9.828, allocations: 11.13 MB / 3.851 GB, free: 1.035 GB / 2.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.00751/9.836, allocations: 4.014 MB / 3.855 GB, free: 1.032 GB / 2.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02007/9.856, allocations: 3.819 MB / 3.859 GB, free: 1.029 GB / 2.014 GB Notification: Performance of setup shared object (initialization): time 7.242e-05/9.856, allocations: 305.1 kB / 3.859 GB, free: 1.029 GB / 2.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03432/9.89, allocations: 11.82 MB / 3.87 GB, free: 1.023 GB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03826/9.929, allocations: 15.66 MB / 3.886 GB, free: 1.006 GB / 2.014 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.3172/10.25, allocations: 90.44 MB / 3.974 GB, free: 0.9182 GB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001306/10.25, allocations: 20 kB / 3.974 GB, free: 0.9182 GB / 2.014 GB Notification: Performance of matching and sorting (n=2182) (initialization): time 0.1037/10.35, allocations: 32.42 MB / 4.006 GB, free: 0.8864 GB / 2.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000198/10.35, allocations: 387.1 kB / 4.006 GB, free: 0.8859 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001317/10.35, allocations: 76 kB / 4.006 GB, free: 0.8858 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01069/10.36, allocations: 3.617 MB / 4.01 GB, free: 0.8822 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0302/10.39, allocations: 5.043 MB / 4.015 GB, free: 0.8773 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03253/10.42, allocations: 39.27 MB / 4.053 GB, free: 0.8366 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03952/10.46, allocations: 3.063 MB / 4.056 GB, free: 0.8336 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006023/10.47, allocations: 0.9289 MB / 4.057 GB, free: 0.8327 GB / 2.014 GB Warning: The initial conditions are over specified. The following 5 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 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.04803/10.52, allocations: 16.7 MB / 4.073 GB, free: 0.8164 GB / 2.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0365/10.55, allocations: 15.31 MB / 4.088 GB, free: 0.8001 GB / 2.014 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.3056/10.86, allocations: 88.54 MB / 4.175 GB, free: 0.7122 GB / 2.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001421/10.86, allocations: 27.94 kB / 4.175 GB, free: 0.7122 GB / 2.014 GB Notification: Performance of matching and sorting (n=2182) (initialization_lambda0): time 0.1038/10.96, allocations: 31.82 MB / 4.206 GB, free: 0.6809 GB / 2.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002085/10.96, allocations: 382.1 kB / 4.206 GB, free: 0.6805 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001329/10.96, allocations: 76.09 kB / 4.206 GB, free: 0.6804 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01072/10.97, allocations: 3.596 MB / 4.21 GB, free: 0.6768 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02993/11, allocations: 4.992 MB / 4.214 GB, free: 0.672 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04273/11.05, allocations: 44.38 MB / 4.258 GB, free: 0.626 GB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04185/11.09, allocations: 3.056 MB / 4.261 GB, free: 0.6231 GB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006623/11.1, allocations: 0.9055 MB / 4.262 GB, free: 0.6222 GB / 2.014 GB Warning: The initial conditions are over specified. The following 5 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 $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.01285/11.11, allocations: 1.524 MB / 4.263 GB, free: 0.6206 GB / 2.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01269/11.12, allocations: 2.199 MB / 4.265 GB, free: 0.6184 GB / 2.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08912/11.21, allocations: 24.16 MB / 4.289 GB, free: 0.5948 GB / 2.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002462/11.21, allocations: 136 kB / 4.289 GB, free: 0.5947 GB / 2.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.695e-05/11.21, allocations: 4 kB / 4.289 GB, free: 0.5947 GB / 2.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06961/11.28, allocations: 20.25 MB / 4.309 GB, free: 0.5746 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.1564/11.44, allocations: 63.72 MB / 4.371 GB, free: 0.5119 GB / 2.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001882/11.44, allocations: 32 kB / 4.371 GB, free: 0.5118 GB / 2.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01925/11.46, allocations: 2.91 MB / 4.374 GB, free: 0.509 GB / 2.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005994/11.46, allocations: 1.577 MB / 4.375 GB, free: 0.5074 GB / 2.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004282/11.47, allocations: 435.7 kB / 4.376 GB, free: 0.507 GB / 2.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01334/11.48, allocations: 16.38 MB / 4.392 GB, free: 0.4899 GB / 2.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.827e-05/11.48, allocations: 43.81 kB / 4.392 GB, free: 0.4898 GB / 2.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1025/11.58, allocations: 36.5 MB / 4.428 GB, free: 464.1 MB / 2.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01802/11.6, allocations: 5.38 MB / 4.433 GB, free: 458.7 MB / 2.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01176/11.61, allocations: 304 kB / 4.433 GB, free: 458.4 MB / 2.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03256/11.65, allocations: 1.981 MB / 4.435 GB, free: 456.4 MB / 2.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003699/11.65, allocations: 0.8623 MB / 4.436 GB, free: 455.5 MB / 2.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00351/11.65, allocations: 0.6478 MB / 4.436 GB, free: 454.9 MB / 2.014 GB Notification: Performance of sorting global known variables: time 0.03733/11.69, allocations: 15.28 MB / 4.451 GB, free: 439.7 MB / 2.014 GB Notification: Performance of sort global known variables: time 9.11e-07/11.69, allocations: 0 / 4.451 GB, free: 439.7 MB / 2.014 GB Notification: Performance of remove unused functions: time 0.06905/11.76, allocations: 10.78 MB / 4.462 GB, free: 429.1 MB / 2.014 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.01168/11.77, allocations: 3.857 MB / 4.466 GB, free: 425.8 MB / 2.014 GB Notification: Performance of simCode: created initialization part: time 0.1292/11.9, allocations: 44.89 MB / 4.51 GB, free: 380.4 MB / 2.014 GB Notification: Performance of simCode: created event and clocks part: time 4.844e-05/11.9, allocations: 11.97 kB / 4.51 GB, free: 380.4 MB / 2.014 GB Notification: Performance of simCode: created simulation system equations: time 0.03073/11.93, allocations: 12.45 MB / 4.522 GB, free: 367.7 MB / 2.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07622/12.01, allocations: 11.44 MB / 4.533 GB, free: 356.4 MB / 2.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.123/12.13, allocations: 58.63 MB / 4.59 GB, free: 297.4 MB / 2.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02435/12.15, allocations: 10.5 MB / 4.6 GB, free: 286.9 MB / 2.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01404/12.17, allocations: 1.955 MB / 4.602 GB, free: 284.9 MB / 2.014 GB Notification: Performance of SimCode: time 1.362e-06/12.17, allocations: 0 / 4.602 GB, free: 284.9 MB / 2.014 GB Notification: Performance of Templates: time 5.998/18.17, allocations: 3.36 GB / 7.962 GB, free: 102.4 MB / 2.014 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile make -j1 -f Buildings_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp:33: ./OMCppBuildings_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o] Error 1