Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007393/0.007393, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 195.8 kB / 16.79 MB, free: 5.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.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.875/2.875, allocations: 461.8 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.66 kB / 0.899 GB, free: 37.05 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 4.772/5.112, allocations: 1.886 GB / 2.939 GB, free: 4.965 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 1.613/6.726, allocations: 199.2 MB / 3.134 GB, free: 91.27 MB / 1.732 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06209/6.788, allocations: 0.9229 MB / 3.134 GB, free: 91.27 MB / 1.732 GB Notification: Performance of NFTyping.typeComponents: time 0.0687/6.856, allocations: 25.33 MB / 3.159 GB, free: 91.07 MB / 1.732 GB Notification: Performance of NFTyping.typeBindings: time 0.1126/6.969, allocations: 34.14 MB / 3.193 GB, free: 89.76 MB / 1.732 GB Notification: Performance of NFTyping.typeClassSections: time 0.05751/7.027, allocations: 20.88 MB / 3.213 GB, free: 89.31 MB / 1.732 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.1401/7.167, allocations: 98.8 MB / 3.309 GB, free: 85.94 MB / 1.732 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05356/7.22, allocations: 20.59 MB / 3.33 GB, free: 78.05 MB / 1.732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07039/7.291, allocations: 20.74 MB / 3.35 GB, free: 69.89 MB / 1.732 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04591/7.337, allocations: 18.2 MB / 3.368 GB, free: 53.14 MB / 1.732 GB Notification: Performance of NFPackage.collectConstants: time 0.01414/7.351, allocations: 1.27 MB / 3.369 GB, free: 51.87 MB / 1.732 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06847/7.419, allocations: 24.04 MB / 3.392 GB, free: 30.15 MB / 1.732 GB Notification: Performance of NFScalarize.scalarize: time 0.01608/7.436, allocations: 6.49 MB / 3.399 GB, free: 23.81 MB / 1.732 GB Notification: Performance of NFVerifyModel.verify: time 0.0432/7.479, allocations: 14.47 MB / 3.413 GB, free: 9.41 MB / 1.732 GB Notification: Performance of NFConvertDAE.convert: time 0.07885/7.558, allocations: 52.02 MB / 3.464 GB, free: 6.859 MB / 1.779 GB Notification: Performance of FrontEnd - DAE generated: time 1.055e-05/7.558, allocations: 3.938 kB / 3.464 GB, free: 6.855 MB / 1.779 GB Notification: Performance of FrontEnd: time 2.285e-06/7.558, allocations: 0 / 3.464 GB, free: 6.855 MB / 1.779 GB Notification: Performance of Transformations before backend: time 0.002191/7.56, allocations: 0 / 3.464 GB, free: 6.855 MB / 1.779 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.1054/7.665, allocations: 31.22 MB / 3.494 GB, free: 7.535 MB / 1.811 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/7.665, allocations: 12.02 kB / 3.494 GB, free: 7.523 MB / 1.811 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09594/7.761, allocations: 13.13 MB / 3.507 GB, free: 10.39 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07363/7.835, allocations: 28.33 MB / 3.535 GB, free: 14.47 MB / 1.857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002836/7.838, allocations: 1.581 MB / 3.536 GB, free: 12.86 MB / 1.857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009309/7.847, allocations: 1.783 MB / 3.538 GB, free: 11.08 MB / 1.857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09248/7.94, allocations: 25.68 MB / 3.563 GB, free: 1.113 MB / 1.873 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009248/7.941, allocations: 19.78 kB / 3.563 GB, free: 1.094 MB / 1.873 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007612/7.948, allocations: 0.6785 MB / 3.564 GB, free: 436 kB / 1.873 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007971/7.949, allocations: 0.657 MB / 3.564 GB, free: 15.76 MB / 1.889 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09148/8.041, allocations: 27.38 MB / 3.591 GB, free: 4.352 MB / 1.904 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.245/8.286, allocations: 114.5 MB / 3.703 GB, free: 15.22 MB / 2.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04961/8.335, allocations: 18.23 MB / 3.721 GB, free: 12.96 MB / 2.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03428/8.37, allocations: 10.91 MB / 3.731 GB, free: 2.027 MB / 2.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.9486/9.318, allocations: 52.55 MB / 3.783 GB, free: 1.132 GB / 2.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03792/9.356, allocations: 10.85 MB / 3.793 GB, free: 1.13 GB / 2.076 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0163/9.373, allocations: 1.572 MB / 3.795 GB, free: 1.13 GB / 2.076 GB Notification: Performance of pre-optimization done (n=1143): time 0.0001225/9.373, allocations: 7.766 kB / 3.795 GB, free: 1.13 GB / 2.076 GB Notification: Performance of matching and sorting (n=1177): time 0.2177/9.591, allocations: 59.08 MB / 3.852 GB, free: 1.106 GB / 2.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002798/9.591, allocations: 0.7598 MB / 3.853 GB, free: 1.105 GB / 2.076 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loaOpe.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05458/9.645, allocations: 22.51 MB / 3.875 GB, free: 1.097 GB / 2.076 GB Notification: Performance of collectPreVariables (initialization): time 0.004965/9.65, allocations: 316.3 kB / 3.875 GB, free: 1.097 GB / 2.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.01519/9.666, allocations: 11.12 MB / 3.886 GB, free: 1.089 GB / 2.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.008366/9.674, allocations: 4.009 MB / 3.89 GB, free: 1.086 GB / 2.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01948/9.694, allocations: 3.823 MB / 3.894 GB, free: 1.084 GB / 2.076 GB Notification: Performance of setup shared object (initialization): time 7.06e-05/9.694, allocations: 307.5 kB / 3.894 GB, free: 1.084 GB / 2.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03397/9.728, allocations: 11.81 MB / 3.906 GB, free: 1.079 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04071/9.768, allocations: 15.67 MB / 3.921 GB, free: 1.069 GB / 2.076 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.324/10.09, allocations: 90.45 MB / 4.009 GB, free: 0.9874 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002367/10.09, allocations: 20 kB / 4.009 GB, free: 0.9873 GB / 2.076 GB Notification: Performance of matching and sorting (n=2182) (initialization): time 0.1216/10.21, allocations: 32.41 MB / 4.041 GB, free: 0.9555 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004444/10.21, allocations: 387.1 kB / 4.041 GB, free: 0.9551 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000299/10.22, allocations: 79.94 kB / 4.041 GB, free: 0.955 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01165/10.23, allocations: 3.622 MB / 4.045 GB, free: 0.9514 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03289/10.26, allocations: 5.043 MB / 4.05 GB, free: 0.9465 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03498/10.29, allocations: 39.29 MB / 4.088 GB, free: 0.9057 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04329/10.34, allocations: 3.042 MB / 4.091 GB, free: 0.9027 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00717/10.35, allocations: 0.9328 MB / 4.092 GB, free: 0.9018 GB / 2.076 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.0593/10.4, allocations: 16.71 MB / 4.109 GB, free: 0.8855 GB / 2.076 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04104/10.45, allocations: 15.31 MB / 4.123 GB, free: 0.8692 GB / 2.076 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.3171/10.76, allocations: 88.53 MB / 4.21 GB, free: 0.7814 GB / 2.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.000153/10.76, allocations: 24 kB / 4.21 GB, free: 0.7813 GB / 2.076 GB Notification: Performance of matching and sorting (n=2182) (initialization_lambda0): time 0.1124/10.88, allocations: 31.81 MB / 4.241 GB, free: 0.7501 GB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003501/10.88, allocations: 387.5 kB / 4.241 GB, free: 0.7496 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002321/10.88, allocations: 80.09 kB / 4.241 GB, free: 0.7495 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/10.89, allocations: 3.598 MB / 4.245 GB, free: 0.746 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0303/10.92, allocations: 4.989 MB / 4.25 GB, free: 0.7411 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04428/10.96, allocations: 44.39 MB / 4.293 GB, free: 0.6952 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0415/11, allocations: 3.065 MB / 4.296 GB, free: 0.6922 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00638/11.01, allocations: 0.9133 MB / 4.297 GB, free: 0.6913 GB / 2.076 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.01164/11.02, allocations: 1.529 MB / 4.299 GB, free: 0.6897 GB / 2.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.01201/11.03, allocations: 2.199 MB / 4.301 GB, free: 0.6875 GB / 2.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.09022/11.12, allocations: 24.15 MB / 4.324 GB, free: 0.6639 GB / 2.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002626/11.12, allocations: 140 kB / 4.324 GB, free: 0.6638 GB / 2.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.876e-05/11.12, allocations: 0 / 4.324 GB, free: 0.6638 GB / 2.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06883/11.19, allocations: 20.24 MB / 4.344 GB, free: 0.6437 GB / 2.076 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.1575/11.35, allocations: 63.72 MB / 4.406 GB, free: 0.581 GB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000254/11.35, allocations: 32 kB / 4.406 GB, free: 0.581 GB / 2.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01958/11.37, allocations: 2.906 MB / 4.409 GB, free: 0.5781 GB / 2.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005891/11.38, allocations: 1.58 MB / 4.411 GB, free: 0.5765 GB / 2.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004669/11.38, allocations: 435.7 kB / 4.411 GB, free: 0.5761 GB / 2.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01361/11.39, allocations: 16.37 MB / 4.427 GB, free: 0.559 GB / 2.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.223e-05/11.39, allocations: 43.81 kB / 4.427 GB, free: 0.5589 GB / 2.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1055/11.5, allocations: 36.5 MB / 4.463 GB, free: 0.5223 GB / 2.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01892/11.52, allocations: 5.365 MB / 4.468 GB, free: 0.5171 GB / 2.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01183/11.53, allocations: 315.9 kB / 4.468 GB, free: 0.5168 GB / 2.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0293/11.56, allocations: 1.992 MB / 4.47 GB, free: 0.5148 GB / 2.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003738/11.56, allocations: 0.8546 MB / 4.471 GB, free: 0.514 GB / 2.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003698/11.57, allocations: 0.6516 MB / 4.472 GB, free: 0.5133 GB / 2.076 GB Notification: Performance of sorting global known variables: time 0.03737/11.61, allocations: 15.28 MB / 4.487 GB, free: 0.4985 GB / 2.076 GB Notification: Performance of sort global known variables: time 7.61e-07/11.61, allocations: 0 / 4.487 GB, free: 0.4985 GB / 2.076 GB Notification: Performance of remove unused functions: time 0.07299/11.68, allocations: 10.78 MB / 4.497 GB, free: 499.9 MB / 2.076 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.01217/11.69, allocations: 3.832 MB / 4.501 GB, free: 496.6 MB / 2.076 GB Notification: Performance of simCode: created initialization part: time 0.1244/11.82, allocations: 44.9 MB / 4.545 GB, free: 451.2 MB / 2.076 GB Notification: Performance of simCode: created event and clocks part: time 4.296e-05/11.82, allocations: 11.97 kB / 4.545 GB, free: 451.1 MB / 2.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0309/11.85, allocations: 12.44 MB / 4.557 GB, free: 438.5 MB / 2.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07566/11.92, allocations: 11.45 MB / 4.568 GB, free: 427.2 MB / 2.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1293/12.05, allocations: 58.64 MB / 4.626 GB, free: 368.2 MB / 2.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0244/12.08, allocations: 10.49 MB / 4.636 GB, free: 357.6 MB / 2.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01396/12.09, allocations: 1.955 MB / 4.638 GB, free: 355.7 MB / 2.076 GB Notification: Performance of SimCode: time 1.302e-06/12.09, allocations: 0 / 4.638 GB, free: 355.7 MB / 2.076 GB Notification: Performance of Templates: time 5.893/17.98, allocations: 3.36 GB / 7.997 GB, free: 358.6 MB / 2.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16112:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16114:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16116:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16118:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16120:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16122:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o] Error 1