Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InjectionTwoWayCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 105.7 kB / 15.98 MB, free: 6.359 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.00172/0.00172, allocations: 199 kB / 16.91 MB, free: 6.191 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.388/1.388, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.515/2.515, allocations: 437 MB / 0.7107 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 63.88 kB / 0.8694 GB, free: 2.59 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3432/0.3446, allocations: 151.6 MB / 1.017 GB, free: 11.03 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 5.816/6.161, allocations: 1.806 GB / 2.824 GB, free: 126.4 MB / 1.639 GB Notification: Performance of NFInst.instExpressions: time 0.2728/6.433, allocations: 158.5 MB / 2.979 GB, free: 119.3 MB / 1.639 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06312/6.497, allocations: 0.7311 MB / 2.979 GB, free: 119.3 MB / 1.639 GB Notification: Performance of NFTyping.typeComponents: time 0.0596/6.556, allocations: 21.78 MB / 3.001 GB, free: 114.7 MB / 1.639 GB Notification: Performance of NFTyping.typeBindings: time 0.108/6.664, allocations: 26 MB / 3.026 GB, free: 103.7 MB / 1.639 GB Notification: Performance of NFTyping.typeClassSections: time 0.05476/6.719, allocations: 16.15 MB / 3.042 GB, free: 92.04 MB / 1.639 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1089:9-1089: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:1089:9-1089: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.1214/6.84, allocations: 68.36 MB / 3.109 GB, free: 46.86 MB / 1.639 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05072/6.891, allocations: 19.86 MB / 3.128 GB, free: 27.18 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05872/6.95, allocations: 19.84 MB / 3.147 GB, free: 8.348 MB / 1.639 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03567/6.986, allocations: 15.4 MB / 3.162 GB, free: 9.953 MB / 1.654 GB Notification: Performance of NFPackage.collectConstants: time 0.01618/7.002, allocations: 2.966 MB / 3.165 GB, free: 6.988 MB / 1.654 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06739/7.069, allocations: 19.19 MB / 3.184 GB, free: 5.434 MB / 1.67 GB Notification: Performance of NFScalarize.scalarize: time 0.01708/7.087, allocations: 7.073 MB / 3.191 GB, free: 14.5 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.04219/7.129, allocations: 13.25 MB / 3.204 GB, free: 1.297 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.07634/7.205, allocations: 39.48 MB / 3.242 GB, free: 10.94 MB / 1.732 GB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/7.205, allocations: 0 / 3.242 GB, free: 10.94 MB / 1.732 GB Notification: Performance of FrontEnd: time 2.635e-06/7.205, allocations: 0 / 3.242 GB, free: 10.94 MB / 1.732 GB Notification: Performance of Transformations before backend: time 0.001598/7.207, allocations: 0 / 3.242 GB, free: 10.94 MB / 1.732 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3245 * Number of variables: 3245 Notification: Performance of Generate backend data structure: time 0.09202/7.299, allocations: 24.12 MB / 3.266 GB, free: 2.73 MB / 1.748 GB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/7.299, allocations: 12.92 kB / 3.266 GB, free: 2.719 MB / 1.748 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06728/7.366, allocations: 9.041 MB / 3.275 GB, free: 9.664 MB / 1.764 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06072/7.427, allocations: 22.04 MB / 3.296 GB, free: 3.941 MB / 1.779 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002083/7.429, allocations: 1.141 MB / 3.297 GB, free: 2.777 MB / 1.779 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007966/7.437, allocations: 1.345 MB / 3.299 GB, free: 1.438 MB / 1.779 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07435/7.512, allocations: 18.94 MB / 3.317 GB, free: 14.27 MB / 1.811 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008241/7.513, allocations: 7.938 kB / 3.317 GB, free: 14.26 MB / 1.811 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006397/7.519, allocations: 0.5229 MB / 3.318 GB, free: 13.74 MB / 1.811 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006849/7.52, allocations: 0.489 MB / 3.318 GB, free: 13.25 MB / 1.811 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07176/7.591, allocations: 19.59 MB / 3.337 GB, free: 9.641 MB / 1.826 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.9546/8.546, allocations: 85.17 MB / 3.421 GB, free: 0.9299 GB / 1.842 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03725/8.583, allocations: 13.69 MB / 3.434 GB, free: 0.9239 GB / 1.842 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02388/8.607, allocations: 7.987 MB / 3.442 GB, free: 0.9209 GB / 1.842 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09122/8.699, allocations: 38.46 MB / 3.479 GB, free: 0.8944 GB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02488/8.724, allocations: 7.994 MB / 3.487 GB, free: 0.8899 GB / 1.842 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01423/8.738, allocations: 1.104 MB / 3.488 GB, free: 0.8896 GB / 1.842 GB Notification: Performance of pre-optimization done (n=876): time 5.619e-05/8.738, allocations: 0 / 3.488 GB, free: 0.8896 GB / 1.842 GB Notification: Performance of matching and sorting (n=900): time 0.1658/8.904, allocations: 40.99 MB / 3.528 GB, free: 0.868 GB / 1.842 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003016/8.904, allocations: 0.587 MB / 3.529 GB, free: 0.8674 GB / 1.842 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.1-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.04939/8.953, allocations: 17.25 MB / 3.546 GB, free: 0.8586 GB / 1.842 GB Notification: Performance of collectPreVariables (initialization): time 0.004397/8.958, allocations: 249.1 kB / 3.546 GB, free: 0.8585 GB / 1.842 GB Notification: Performance of collectInitialEqns (initialization): time 0.0126/8.971, allocations: 8.496 MB / 3.554 GB, free: 0.8512 GB / 1.842 GB Notification: Performance of collectInitialBindings (initialization): time 0.006294/8.977, allocations: 3.058 MB / 3.557 GB, free: 0.8486 GB / 1.842 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01654/8.993, allocations: 2.896 MB / 3.56 GB, free: 0.847 GB / 1.842 GB Notification: Performance of setup shared object (initialization): time 7.879e-05/8.994, allocations: 301.1 kB / 3.56 GB, free: 0.8467 GB / 1.842 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02451/9.018, allocations: 8.678 MB / 3.569 GB, free: 0.8387 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02811/9.046, allocations: 11.67 MB / 3.58 GB, free: 0.8265 GB / 1.842 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.2607/9.307, allocations: 71.41 MB / 3.65 GB, free: 0.7559 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001208/9.307, allocations: 16 kB / 3.65 GB, free: 0.7559 GB / 1.842 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.08726/9.394, allocations: 23.95 MB / 3.673 GB, free: 0.7324 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.000324/9.395, allocations: 302 kB / 3.674 GB, free: 0.7321 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001681/9.395, allocations: 63.94 kB / 3.674 GB, free: 0.732 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008024/9.403, allocations: 2.549 MB / 3.676 GB, free: 0.7295 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02306/9.426, allocations: 3.65 MB / 3.68 GB, free: 0.7259 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02377/9.45, allocations: 26.22 MB / 3.705 GB, free: 0.6987 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0346/9.485, allocations: 2.157 MB / 3.707 GB, free: 0.6966 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005445/9.49, allocations: 0.7103 MB / 3.708 GB, free: 0.696 GB / 1.842 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.04033/9.531, allocations: 12.41 MB / 3.72 GB, free: 0.6838 GB / 1.842 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0277/9.558, allocations: 11.33 MB / 3.731 GB, free: 0.6717 GB / 1.842 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.237/9.795, allocations: 69.6 MB / 3.799 GB, free: 0.6027 GB / 1.842 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001344/9.795, allocations: 16 kB / 3.799 GB, free: 0.6027 GB / 1.842 GB Notification: Performance of matching and sorting (n=1667) (initialization_lambda0): time 0.08371/9.879, allocations: 23.36 MB / 3.822 GB, free: 0.5798 GB / 1.842 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002012/9.879, allocations: 297 kB / 3.822 GB, free: 0.5794 GB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/9.88, allocations: 56 kB / 3.822 GB, free: 0.5794 GB / 1.842 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007858/9.887, allocations: 2.492 MB / 3.825 GB, free: 0.5769 GB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02164/9.909, allocations: 3.624 MB / 3.828 GB, free: 0.5734 GB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03239/9.942, allocations: 32.67 MB / 3.86 GB, free: 0.5397 GB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03085/9.973, allocations: 2.189 MB / 3.862 GB, free: 0.5376 GB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004763/9.977, allocations: 0.6831 MB / 3.863 GB, free: 0.5369 GB / 1.842 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 262 * Number of states: 0 () * Number of discrete variables: 90 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1499): * Single equations (assignments): 1458 * Array equations: 10 * Algorithm blocks: 10 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,2), (1,2), (5,26), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008775/9.986, allocations: 1.207 MB / 3.864 GB, free: 0.5356 GB / 1.842 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008961/9.995, allocations: 1.686 MB / 3.866 GB, free: 0.534 GB / 1.842 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06266/10.06, allocations: 17.41 MB / 3.883 GB, free: 0.517 GB / 1.842 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001668/10.06, allocations: 104 kB / 3.883 GB, free: 0.5169 GB / 1.842 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.883e-05/10.06, allocations: 7.922 kB / 3.883 GB, free: 0.5169 GB / 1.842 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04659/10.1, allocations: 14.32 MB / 3.897 GB, free: 0.5027 GB / 1.842 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1144/10.22, allocations: 43.97 MB / 3.94 GB, free: 470.5 MB / 1.842 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001702/10.22, allocations: 24 kB / 3.94 GB, free: 470.4 MB / 1.842 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01467/10.23, allocations: 2.13 MB / 3.942 GB, free: 468.3 MB / 1.842 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004044/10.24, allocations: 1.053 MB / 3.943 GB, free: 467.2 MB / 1.842 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003364/10.24, allocations: 327.8 kB / 3.943 GB, free: 466.9 MB / 1.842 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008327/10.25, allocations: 9.895 MB / 3.953 GB, free: 456.3 MB / 1.842 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.968e-05/10.25, allocations: 31.88 kB / 3.953 GB, free: 456.3 MB / 1.842 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07994/10.33, allocations: 26.15 MB / 3.979 GB, free: 429.6 MB / 1.842 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01516/10.35, allocations: 3.974 MB / 3.982 GB, free: 425.6 MB / 1.842 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009341/10.35, allocations: 236 kB / 3.983 GB, free: 425.4 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02306/10.38, allocations: 1.426 MB / 3.984 GB, free: 423.9 MB / 1.842 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002868/10.38, allocations: 0.646 MB / 3.985 GB, free: 423.3 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003066/10.38, allocations: 495.5 kB / 3.985 GB, free: 422.8 MB / 1.842 GB Notification: Performance of sorting global known variables: time 0.02933/10.41, allocations: 11.66 MB / 3.997 GB, free: 411.2 MB / 1.842 GB Notification: Performance of sort global known variables: time 8.72e-07/10.41, allocations: 0 / 3.997 GB, free: 411.2 MB / 1.842 GB Notification: Performance of remove unused functions: time 0.05689/10.47, allocations: 8.284 MB / 4.005 GB, free: 403.1 MB / 1.842 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y) * Number of discrete variables: 51 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y) * Number of discrete states: 7 (fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (929): * Single equations (assignments): 881 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01021/10.48, allocations: 3.115 MB / 4.008 GB, free: 400.5 MB / 1.842 GB Notification: Performance of simCode: created initialization part: time 0.1828/10.66, allocations: 41.42 MB / 4.048 GB, free: 358.8 MB / 1.842 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-05/10.66, allocations: 9.875 kB / 4.048 GB, free: 358.7 MB / 1.842 GB Notification: Performance of simCode: created simulation system equations: time 0.0238/10.69, allocations: 8.898 MB / 4.057 GB, free: 349.7 MB / 1.842 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.06164/10.75, allocations: 9.331 MB / 4.066 GB, free: 340.7 MB / 1.842 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1013/10.85, allocations: 44.56 MB / 4.11 GB, free: 295.8 MB / 1.842 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01773/10.87, allocations: 8.314 MB / 4.118 GB, free: 287.5 MB / 1.842 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01032/10.88, allocations: 1.479 MB / 4.119 GB, free: 286 MB / 1.842 GB Notification: Performance of SimCode: time 1.613e-06/10.88, allocations: 0 / 4.119 GB, free: 286 MB / 1.842 GB Notification: Performance of Templates: time 3.837/14.72, allocations: 1.72 GB / 5.839 GB, free: 0.4914 GB / 1.842 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.makefile make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12089:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12091:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12093:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12095:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12097:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve.cpp:12099:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValveCalcHelperMain.o] Error 1