Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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.InjectionTwoWayVariable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001581/0.001581, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 199.7 kB / 16.79 MB, free: 6.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 240.5 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.614/2.614, allocations: 437 MB / 0.7106 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 67.89 kB / 0.8692 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9524/0.9541, allocations: 151.6 MB / 1.017 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable): time 4.663/5.617, allocations: 1.637 GB / 2.654 GB, free: 140.4 MB / 1.576 GB Notification: Performance of NFInst.instExpressions: time 0.1982/5.816, allocations: 159.6 MB / 2.81 GB, free: 75.34 MB / 1.576 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0447/5.86, allocations: 0.7339 MB / 2.811 GB, free: 74.61 MB / 1.576 GB Notification: Performance of NFTyping.typeComponents: time 0.0462/5.907, allocations: 20.86 MB / 2.831 GB, free: 53.7 MB / 1.576 GB Notification: Performance of NFTyping.typeBindings: time 0.07965/5.986, allocations: 25.6 MB / 2.856 GB, free: 28.01 MB / 1.576 GB Notification: Performance of NFTyping.typeClassSections: time 0.03805/6.024, allocations: 15.86 MB / 2.872 GB, free: 12.22 MB / 1.576 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.1022/6.127, allocations: 77.86 MB / 2.948 GB, free: 14.19 MB / 1.654 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03875/6.165, allocations: 15.99 MB / 2.963 GB, free: 14.04 MB / 1.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.04491/6.21, allocations: 15.69 MB / 2.979 GB, free: 14.32 MB / 1.686 GB Notification: Performance of NFSimplifyModel.simplify: time 0.02897/6.239, allocations: 14.01 MB / 2.992 GB, free: 280 kB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 2.078/8.318, allocations: 0.9713 MB / 2.993 GB, free: 128.9 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05312/8.371, allocations: 17.52 MB / 3.01 GB, free: 128.9 MB / 1.686 GB Notification: Performance of NFScalarize.scalarize: time 0.01283/8.384, allocations: 5.081 MB / 3.015 GB, free: 128.9 MB / 1.686 GB Notification: Performance of NFVerifyModel.verify: time 0.03816/8.422, allocations: 11.08 MB / 3.026 GB, free: 128.9 MB / 1.686 GB Notification: Performance of NFConvertDAE.convert: time 0.06383/8.486, allocations: 39.08 MB / 3.064 GB, free: 128 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/8.486, allocations: 0.625 kB / 3.064 GB, free: 128 MB / 1.686 GB Notification: Performance of FrontEnd: time 2.134e-06/8.486, allocations: 3.875 kB / 3.064 GB, free: 128 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.00178/8.488, allocations: 0 / 3.064 GB, free: 128 MB / 1.686 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3242 * Number of variables: 3242 Notification: Performance of Generate backend data structure: time 0.1101/8.598, allocations: 24.03 MB / 3.088 GB, free: 118.3 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.289e-05/8.598, allocations: 9.188 kB / 3.088 GB, free: 118.3 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07022/8.668, allocations: 9.038 MB / 3.097 GB, free: 117.1 MB / 1.686 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05888/8.727, allocations: 21.98 MB / 3.118 GB, free: 114.1 MB / 1.686 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0019/8.729, allocations: 1.14 MB / 3.119 GB, free: 114 MB / 1.686 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00949/8.738, allocations: 1.345 MB / 3.121 GB, free: 114 MB / 1.686 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07886/8.817, allocations: 18.91 MB / 3.139 GB, free: 112.9 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008443/8.818, allocations: 21.25 kB / 3.139 GB, free: 112.9 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00797/8.826, allocations: 0.5095 MB / 3.14 GB, free: 112.9 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006189/8.827, allocations: 0.4972 MB / 3.14 GB, free: 112.8 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06934/8.896, allocations: 19.57 MB / 3.159 GB, free: 112.5 MB / 1.686 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.1875/9.084, allocations: 85.1 MB / 3.242 GB, free: 83.14 MB / 1.686 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03715/9.121, allocations: 13.7 MB / 3.256 GB, free: 80.31 MB / 1.686 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02235/9.143, allocations: 7.964 MB / 3.263 GB, free: 79.22 MB / 1.686 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09196/9.235, allocations: 38.34 MB / 3.301 GB, free: 61.19 MB / 1.686 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02319/9.259, allocations: 7.969 MB / 3.309 GB, free: 56.62 MB / 1.686 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01371/9.272, allocations: 1.264 MB / 3.31 GB, free: 55.81 MB / 1.686 GB Notification: Performance of pre-optimization done (n=871): time 4.919e-05/9.272, allocations: 4 kB / 3.31 GB, free: 55.8 MB / 1.686 GB Notification: Performance of matching and sorting (n=895): time 0.1599/9.432, allocations: 40.44 MB / 3.349 GB, free: 33.39 MB / 1.686 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002162/9.433, allocations: 0.5786 MB / 3.35 GB, free: 32.78 MB / 1.686 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.05039/9.483, allocations: 17.19 MB / 3.367 GB, free: 17.46 MB / 1.686 GB Notification: Performance of collectPreVariables (initialization): time 0.004545/9.488, allocations: 241.7 kB / 3.367 GB, free: 17.22 MB / 1.686 GB Notification: Performance of collectInitialEqns (initialization): time 0.01529/9.503, allocations: 8.477 MB / 3.375 GB, free: 8.793 MB / 1.686 GB Notification: Performance of collectInitialBindings (initialization): time 0.00734/9.51, allocations: 3.045 MB / 3.378 GB, free: 5.777 MB / 1.686 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01761/9.528, allocations: 2.876 MB / 3.381 GB, free: 2.887 MB / 1.686 GB Notification: Performance of setup shared object (initialization): time 7.128e-05/9.528, allocations: 305.1 kB / 3.381 GB, free: 2.586 MB / 1.686 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02653/9.555, allocations: 8.659 MB / 3.39 GB, free: 9.918 MB / 1.701 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03401/9.589, allocations: 11.63 MB / 3.401 GB, free: 13.27 MB / 1.717 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.276/9.865, allocations: 71.02 MB / 3.47 GB, free: 5.57 MB / 1.779 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.534e-05/9.865, allocations: 18.25 kB / 3.471 GB, free: 5.555 MB / 1.779 GB Notification: Performance of matching and sorting (n=1658) (initialization): time 0.1162/9.981, allocations: 23.82 MB / 3.494 GB, free: 14.11 MB / 1.811 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/9.981, allocations: 305 kB / 3.494 GB, free: 13.75 MB / 1.811 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001919/9.982, allocations: 56 kB / 3.494 GB, free: 13.7 MB / 1.811 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008559/9.99, allocations: 2.473 MB / 3.497 GB, free: 11.2 MB / 1.811 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02492/10.02, allocations: 3.637 MB / 3.5 GB, free: 7.719 MB / 1.811 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02873/10.04, allocations: 24.63 MB / 3.524 GB, free: 13.68 MB / 1.842 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03488/10.08, allocations: 2.158 MB / 3.526 GB, free: 11.54 MB / 1.842 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006445/10.09, allocations: 0.7016 MB / 3.527 GB, free: 10.85 MB / 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.04651/10.13, allocations: 12.37 MB / 3.539 GB, free: 14.47 MB / 1.858 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.03359/10.17, allocations: 11.29 MB / 3.55 GB, free: 2.16 MB / 1.858 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.2757/10.44, allocations: 69.21 MB / 3.618 GB, free: 12.22 MB / 1.936 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001158/10.44, allocations: 20 kB / 3.618 GB, free: 12.2 MB / 1.936 GB Notification: Performance of matching and sorting (n=1658) (initialization_lambda0): time 0.09259/10.53, allocations: 23.27 MB / 3.64 GB, free: 5.18 MB / 1.951 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002918/10.53, allocations: 297.3 kB / 3.641 GB, free: 4.828 MB / 1.951 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001529/10.53, allocations: 60 kB / 3.641 GB, free: 4.77 MB / 1.951 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008581/10.54, allocations: 2.451 MB / 3.643 GB, free: 2.285 MB / 1.951 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02533/10.57, allocations: 3.603 MB / 3.647 GB, free: 14.84 MB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8189/11.39, allocations: 30.34 MB / 3.676 GB, free: 1.028 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0339/11.42, allocations: 2.178 MB / 3.678 GB, free: 1.028 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006158/11.43, allocations: 0.6836 MB / 3.679 GB, free: 1.028 GB / 1.967 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 262 * Number of states: 0 () * Number of discrete variables: 90 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1495): * Single equations (assignments): 1454 * Array equations: 10 * Algorithm blocks: 10 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,2), (1,2), (6,20), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.009013/11.44, allocations: 1.206 MB / 3.68 GB, free: 1.027 GB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.009592/11.45, allocations: 1.677 MB / 3.682 GB, free: 1.027 GB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07114/11.52, allocations: 17.46 MB / 3.699 GB, free: 1.027 GB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002117/11.52, allocations: 101.4 kB / 3.699 GB, free: 1.027 GB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.922e-05/11.52, allocations: 3.047 kB / 3.699 GB, free: 1.027 GB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05001/11.57, allocations: 14.39 MB / 3.713 GB, free: 1.026 GB / 1.967 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.1218/11.69, allocations: 44.09 MB / 3.756 GB, free: 1.006 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001371/11.69, allocations: 22.97 kB / 3.756 GB, free: 1.006 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0156/11.71, allocations: 2.127 MB / 3.758 GB, free: 1.006 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004096/11.71, allocations: 1.01 MB / 3.759 GB, free: 1.006 GB / 1.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003807/11.71, allocations: 325.6 kB / 3.759 GB, free: 1.006 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007807/11.72, allocations: 9.393 MB / 3.769 GB, free: 0.9973 GB / 1.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.899e-05/11.72, allocations: 38.81 kB / 3.769 GB, free: 0.9973 GB / 1.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08354/11.8, allocations: 26.08 MB / 3.794 GB, free: 0.9864 GB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01593/11.82, allocations: 3.96 MB / 3.798 GB, free: 0.9846 GB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01001/11.83, allocations: 243.2 kB / 3.798 GB, free: 0.9845 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0239/11.85, allocations: 1.429 MB / 3.8 GB, free: 0.9843 GB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003393/11.86, allocations: 0.644 MB / 3.8 GB, free: 0.9842 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003021/11.86, allocations: 0.4934 MB / 3.801 GB, free: 0.9841 GB / 1.967 GB Notification: Performance of sorting global known variables: time 0.03834/11.9, allocations: 11.61 MB / 3.812 GB, free: 0.9799 GB / 1.967 GB Notification: Performance of sort global known variables: time 1.072e-06/11.9, allocations: 0 / 3.812 GB, free: 0.9799 GB / 1.967 GB Notification: Performance of remove unused functions: time 0.06386/11.96, allocations: 8.243 MB / 3.82 GB, free: 0.9793 GB / 1.967 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 50 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y) * Number of discrete variables: 51 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y) * Number of discrete states: 7 (fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (929): * Single equations (assignments): 881 * Array equations: 0 * Algorithm blocks: 10 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (5,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01141/11.97, allocations: 3.087 MB / 3.823 GB, free: 0.9788 GB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.09592/12.07, allocations: 32.5 MB / 3.855 GB, free: 0.9532 GB / 1.967 GB Notification: Performance of simCode: created event and clocks part: time 3.281e-05/12.07, allocations: 5.875 kB / 3.855 GB, free: 0.9532 GB / 1.967 GB Notification: Performance of simCode: created simulation system equations: time 0.02332/12.09, allocations: 8.853 MB / 3.864 GB, free: 0.9454 GB / 1.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05594/12.15, allocations: 8.728 MB / 3.872 GB, free: 0.9391 GB / 1.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1018/12.25, allocations: 44.4 MB / 3.915 GB, free: 0.8982 GB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02745/12.28, allocations: 8.288 MB / 3.924 GB, free: 0.8908 GB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01708/12.3, allocations: 1.479 MB / 3.925 GB, free: 0.8893 GB / 1.967 GB Notification: Performance of SimCode: time 2.275e-06/12.3, allocations: 0 / 3.925 GB, free: 0.8893 GB / 1.967 GB Notification: Performance of Templates: time 2.665/14.96, allocations: 1.715 GB / 5.64 GB, free: 262.6 MB / 1.967 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.makefile make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12089:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12091:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12093:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12095:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12097:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariable.cpp:12099:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableCalcHelperMain.o] Error 1