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.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.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.001/0.001, allocations: 98.88 kB / 16.02 MB, free: 72 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.001598/0.001598, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.449/1.449, allocations: 223.3 MB / 241 MB, free: 5.34 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.735/2.735, allocations: 437.8 MB / 0.7128 GB, free: 6.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003865/0.0003865, allocations: 16 kB / 0.8735 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.844/0.8444, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayCheckValve): time 4.558/5.403, allocations: 1.792 GB / 2.816 GB, free: 8.977 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 1.614/7.017, allocations: 158.7 MB / 2.971 GB, free: 63.02 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.05349/7.071, allocations: 0.701 MB / 2.972 GB, free: 63.02 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.05403/7.125, allocations: 20.84 MB / 2.992 GB, free: 62.7 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.1003/7.225, allocations: 25.72 MB / 3.017 GB, free: 61.66 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.05366/7.279, allocations: 15.98 MB / 3.033 GB, free: 61.3 MB / 1.514 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080: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:1080:9-1080: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.1331/7.412, allocations: 77.99 MB / 3.109 GB, free: 56.3 MB / 1.514 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05986/7.472, allocations: 15.51 MB / 3.124 GB, free: 51.5 MB / 1.514 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06127/7.533, allocations: 15.13 MB / 3.139 GB, free: 46.61 MB / 1.514 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03991/7.573, allocations: 13.32 MB / 3.152 GB, free: 41.58 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.01097/7.584, allocations: 0.728 MB / 3.153 GB, free: 41.58 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0588/7.643, allocations: 17.31 MB / 3.17 GB, free: 27.11 MB / 1.514 GB Notification: Performance of NFScalarize.scalarize: time 0.01435/7.657, allocations: 4.696 MB / 3.174 GB, free: 22.53 MB / 1.514 GB Notification: Performance of NFVerifyModel.verify: time 0.03848/7.696, allocations: 10.62 MB / 3.185 GB, free: 11.96 MB / 1.514 GB Notification: Performance of NFConvertDAE.convert: time 0.07737/7.773, allocations: 38.13 MB / 3.222 GB, free: 6.938 MB / 1.545 GB Notification: Performance of FrontEnd - DAE generated: time 9.968e-06/7.773, allocations: 0 / 3.222 GB, free: 6.938 MB / 1.545 GB Notification: Performance of FrontEnd: time 3.397e-06/7.773, allocations: 0 / 3.222 GB, free: 6.938 MB / 1.545 GB Notification: Performance of Transformations before backend: time 0.001646/7.775, allocations: 0 / 3.222 GB, free: 6.938 MB / 1.545 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.07007/7.845, allocations: 19.47 MB / 3.241 GB, free: 3.371 MB / 1.561 GB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/7.845, allocations: 8.031 kB / 3.241 GB, free: 3.363 MB / 1.561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06784/7.913, allocations: 9.426 MB / 3.25 GB, free: 9.926 MB / 1.576 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06026/7.973, allocations: 22.02 MB / 3.272 GB, free: 4.215 MB / 1.592 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0022/7.976, allocations: 1.151 MB / 3.273 GB, free: 3.043 MB / 1.592 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006902/7.983, allocations: 1.35 MB / 3.274 GB, free: 1.699 MB / 1.592 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06817/8.051, allocations: 19.08 MB / 3.293 GB, free: 14.39 MB / 1.623 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007504/8.052, allocations: 11.94 kB / 3.293 GB, free: 14.38 MB / 1.623 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005342/8.057, allocations: 0.5154 MB / 3.293 GB, free: 13.87 MB / 1.623 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000673/8.058, allocations: 0.4947 MB / 3.294 GB, free: 13.38 MB / 1.623 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0741/8.132, allocations: 19.88 MB / 3.313 GB, free: 9.473 MB / 1.639 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.2044/8.336, allocations: 85.51 MB / 3.397 GB, free: 1.781 MB / 1.717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04022/8.376, allocations: 13.84 MB / 3.41 GB, free: 3.926 MB / 1.732 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0253/8.402, allocations: 8.099 MB / 3.418 GB, free: 11.82 MB / 1.748 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1065/8.508, allocations: 38.57 MB / 3.456 GB, free: 4.656 MB / 1.779 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537/10.05, allocations: 8.08 MB / 3.464 GB, free: 0.9128 GB / 1.779 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01693/10.06, allocations: 1.282 MB / 3.465 GB, free: 0.9128 GB / 1.779 GB Notification: Performance of pre-optimization done (n=876): time 0.0001502/10.06, allocations: 0 / 3.465 GB, free: 0.9128 GB / 1.779 GB Notification: Performance of matching and sorting (n=900): time 0.1714/10.23, allocations: 41.49 MB / 3.505 GB, free: 0.8973 GB / 1.779 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000296/10.23, allocations: 0.5807 MB / 3.506 GB, free: 0.8967 GB / 1.779 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 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.054/10.29, allocations: 17.28 MB / 3.523 GB, free: 0.8904 GB / 1.779 GB Notification: Performance of collectPreVariables (initialization): time 0.004362/10.29, allocations: 251.3 kB / 3.523 GB, free: 0.8902 GB / 1.779 GB Notification: Performance of collectInitialEqns (initialization): time 0.01408/10.31, allocations: 8.492 MB / 3.531 GB, free: 0.8837 GB / 1.779 GB Notification: Performance of collectInitialBindings (initialization): time 0.006877/10.31, allocations: 3.059 MB / 3.534 GB, free: 0.8814 GB / 1.779 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006147/10.32, allocations: 1.165 MB / 3.535 GB, free: 0.8809 GB / 1.779 GB Notification: Performance of setup shared object (initialization): time 7.874e-05/10.32, allocations: 309.1 kB / 3.536 GB, free: 0.8806 GB / 1.779 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02718/10.35, allocations: 8.744 MB / 3.544 GB, free: 0.8774 GB / 1.779 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03142/10.38, allocations: 11.77 MB / 3.556 GB, free: 0.871 GB / 1.779 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.2436/10.62, allocations: 73.46 MB / 3.627 GB, free: 0.8113 GB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.756e-05/10.62, allocations: 16 kB / 3.627 GB, free: 0.8113 GB / 1.779 GB Notification: Performance of matching and sorting (n=1667) (initialization): time 0.0692/10.69, allocations: 24.17 MB / 3.651 GB, free: 0.7875 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 0.001075/10.69, allocations: 2.177 MB / 3.653 GB, free: 0.7845 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.49e-05/10.69, allocations: 56 kB / 3.653 GB, free: 0.7845 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007424/10.7, allocations: 2.559 MB / 3.656 GB, free: 0.782 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02205/10.72, allocations: 3.666 MB / 3.659 GB, free: 0.7784 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01985/10.74, allocations: 24.72 MB / 3.683 GB, free: 0.7527 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02747/10.77, allocations: 2.282 MB / 3.686 GB, free: 0.7505 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004018/10.77, allocations: 0.7026 MB / 3.686 GB, free: 0.7498 GB / 1.779 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/10.77, allocations: 4 kB / 3.686 GB, free: 0.7498 GB / 1.779 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06302/10.84, allocations: 22.07 MB / 3.708 GB, free: 0.7282 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000235/10.84, allocations: 64.03 kB / 3.708 GB, free: 0.7281 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007186/10.84, allocations: 2.497 MB / 3.71 GB, free: 0.7256 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02046/10.86, allocations: 3.619 MB / 3.714 GB, free: 0.7221 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02838/10.89, allocations: 30.44 MB / 3.744 GB, free: 0.6907 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0263/10.92, allocations: 2.06 MB / 3.746 GB, free: 0.6887 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004904/10.92, allocations: 0.6837 MB / 3.746 GB, free: 0.688 GB / 1.779 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: 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.0194/10.94, allocations: 4.962 MB / 3.751 GB, free: 0.6831 GB / 1.779 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007715/10.95, allocations: 1.69 MB / 3.753 GB, free: 0.6814 GB / 1.779 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05726/11.01, allocations: 17.56 MB / 3.77 GB, free: 0.6643 GB / 1.779 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001334/11.01, allocations: 95.98 kB / 3.77 GB, free: 0.6642 GB / 1.779 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.994e-05/11.01, allocations: 0 / 3.77 GB, free: 0.6642 GB / 1.779 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04658/11.06, allocations: 14.5 MB / 3.784 GB, free: 0.6498 GB / 1.779 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.1104/11.17, allocations: 44.39 MB / 3.828 GB, free: 0.6062 GB / 1.779 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001312/11.17, allocations: 20 kB / 3.828 GB, free: 0.6061 GB / 1.779 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01375/11.18, allocations: 2.173 MB / 3.83 GB, free: 0.604 GB / 1.779 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004092/11.18, allocations: 1.077 MB / 3.831 GB, free: 0.6029 GB / 1.779 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00286/11.19, allocations: 331.8 kB / 3.831 GB, free: 0.6026 GB / 1.779 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007905/11.2, allocations: 9.477 MB / 3.84 GB, free: 0.5927 GB / 1.779 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.676e-05/11.2, allocations: 31.88 kB / 3.84 GB, free: 0.5927 GB / 1.779 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07589/11.27, allocations: 26.47 MB / 3.866 GB, free: 0.5663 GB / 1.779 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01527/11.29, allocations: 4.227 MB / 3.87 GB, free: 0.5622 GB / 1.779 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008644/11.29, allocations: 240 kB / 3.871 GB, free: 0.5619 GB / 1.779 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0223/11.32, allocations: 1.513 MB / 3.872 GB, free: 0.5605 GB / 1.779 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003075/11.32, allocations: 0.6498 MB / 3.873 GB, free: 0.5598 GB / 1.779 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003152/11.32, allocations: 491.5 kB / 3.873 GB, free: 0.5594 GB / 1.779 GB Notification: Performance of sorting global known variables: time 0.03337/11.36, allocations: 11.68 MB / 3.885 GB, free: 0.548 GB / 1.779 GB Notification: Performance of sort global known variables: time 1.723e-06/11.36, allocations: 0 / 3.885 GB, free: 0.548 GB / 1.779 GB Notification: Performance of remove unused functions: time 0.05687/11.41, allocations: 8.28 MB / 3.893 GB, free: 0.5401 GB / 1.779 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.01031/11.42, allocations: 3.291 MB / 3.896 GB, free: 0.5373 GB / 1.779 GB Notification: Performance of simCode: created initialization part: time 0.09633/11.52, allocations: 32.84 MB / 3.928 GB, free: 0.5049 GB / 1.779 GB Notification: Performance of simCode: created event and clocks part: time 3.067e-05/11.52, allocations: 10.62 kB / 3.928 GB, free: 0.5049 GB / 1.779 GB Notification: Performance of simCode: created simulation system equations: time 0.02429/11.55, allocations: 8.971 MB / 3.937 GB, free: 0.4959 GB / 1.779 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1387/11.68, allocations: 9.535 MB / 3.946 GB, free: 498.5 MB / 1.779 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.13/11.81, allocations: 45.16 MB / 3.99 GB, free: 453 MB / 1.779 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02424/11.84, allocations: 8.317 MB / 3.998 GB, free: 444.6 MB / 1.779 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01483/11.85, allocations: 1.596 MB / 4 GB, free: 443 MB / 1.779 GB Notification: Performance of SimCode: time 1.934e-06/11.85, allocations: 7.875 kB / 4 GB, free: 443 MB / 1.779 GB Notification: Performance of Templates: time 3.257/15.11, allocations: 1.717 GB / 5.717 GB, free: 0.5433 GB / 1.779 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