Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T2Set.y|con.T2Sup.T|con.T2Ret.T|T1Sup.T|T1Ret.T|con.val.y_actual|pum.m_flow|con.pum.m_flow|con.res3.m_flow|mPum_flow_nominal|con.mPum_flow_nominal|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|dp1SetVal.y|dp1.p_rel|dp2SetVal.y|dp2.p_rel|pum.y_actual|con.pum.y_actual|TSupOpe.T|TRetOpe.T|loaOpe.yLoa_actual",fileNamePrefix="Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 108.3 kB / 15.99 MB, free: 5.91 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.00169/0.001691, allocations: 193.7 kB / 16.91 MB, free: 5.754 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.429/1.429, allocations: 222.9 MB / 240.6 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.756/2.756, allocations: 469.8 MB / 0.7427 GB, free: 3.578 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002414/0.002414, allocations: 60.91 kB / 0.9087 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4118/0.4142, allocations: 159.2 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn): time 5.334/5.749, allocations: 1.875 GB / 2.939 GB, free: 57.54 MB / 1.623 GB Notification: Performance of NFInst.instExpressions: time 0.268/6.017, allocations: 197.1 MB / 3.132 GB, free: 40.63 MB / 1.623 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06164/6.078, allocations: 0.9205 MB / 3.132 GB, free: 40.63 MB / 1.623 GB Notification: Performance of NFTyping.typeComponents: time 0.05728/6.136, allocations: 26.5 MB / 3.158 GB, free: 34.29 MB / 1.623 GB Notification: Performance of NFTyping.typeBindings: time 0.1023/6.238, allocations: 34.49 MB / 3.192 GB, free: 15.52 MB / 1.623 GB Notification: Performance of NFTyping.typeClassSections: time 0.05549/6.294, allocations: 21.17 MB / 3.213 GB, free: 148 kB / 1.623 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.1347/6.428, allocations: 86.64 MB / 3.297 GB, free: 13.51 MB / 1.717 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05577/6.484, allocations: 25.73 MB / 3.322 GB, free: 3.957 MB / 1.732 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07613/6.56, allocations: 26.22 MB / 3.348 GB, free: 11.06 MB / 1.764 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04554/6.606, allocations: 20.03 MB / 3.368 GB, free: 8.238 MB / 1.779 GB Notification: Performance of NFPackage.collectConstants: time 0.01623/6.622, allocations: 3.961 MB / 3.371 GB, free: 4.277 MB / 1.779 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08009/6.702, allocations: 26.13 MB / 3.397 GB, free: 12.45 MB / 1.811 GB Notification: Performance of NFScalarize.scalarize: time 0.02019/6.723, allocations: 9.161 MB / 3.406 GB, free: 3.406 MB / 1.811 GB Notification: Performance of NFVerifyModel.verify: time 0.04606/6.769, allocations: 17.34 MB / 3.423 GB, free: 2.129 MB / 1.826 GB Notification: Performance of NFConvertDAE.convert: time 2.41/9.179, allocations: 52.43 MB / 3.474 GB, free: 150.4 MB / 1.826 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/9.179, allocations: 3.438 kB / 3.474 GB, free: 150.4 MB / 1.826 GB Notification: Performance of FrontEnd: time 4.398e-06/9.179, allocations: 0 / 3.474 GB, free: 150.4 MB / 1.826 GB Notification: Performance of Transformations before backend: time 0.002457/9.182, allocations: 0 / 3.474 GB, free: 150.4 MB / 1.826 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4288 * Number of variables: 4288 Notification: Performance of Generate backend data structure: time 0.1486/9.33, allocations: 31.24 MB / 3.505 GB, free: 138.3 MB / 1.826 GB Notification: Performance of prepare preOptimizeDAE: time 5e-05/9.33, allocations: 11.59 kB / 3.505 GB, free: 138.3 MB / 1.826 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09814/9.429, allocations: 13.12 MB / 3.517 GB, free: 136.6 MB / 1.826 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08539/9.514, allocations: 28.34 MB / 3.545 GB, free: 132.9 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003919/9.518, allocations: 1.586 MB / 3.547 GB, free: 132.6 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01408/9.532, allocations: 1.771 MB / 3.548 GB, free: 132.6 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.115/9.647, allocations: 25.69 MB / 3.573 GB, free: 131.2 MB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001221/9.648, allocations: 26.86 kB / 3.573 GB, free: 131.2 MB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01037/9.659, allocations: 0.6781 MB / 3.574 GB, free: 131.2 MB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008744/9.66, allocations: 0.6474 MB / 3.575 GB, free: 131.2 MB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09984/9.76, allocations: 27.38 MB / 3.601 GB, free: 130.7 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.2532/10.01, allocations: 114.5 MB / 3.713 GB, free: 79.17 MB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04362/10.06, allocations: 18.24 MB / 3.731 GB, free: 73.27 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02857/10.09, allocations: 10.91 MB / 3.742 GB, free: 67.62 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1173/10.2, allocations: 52.54 MB / 3.793 GB, free: 14.42 MB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03318/10.24, allocations: 10.85 MB / 3.804 GB, free: 3.484 MB / 1.826 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01902/10.25, allocations: 1.395 MB / 3.805 GB, free: 2.082 MB / 1.826 GB Notification: Performance of pre-optimization done (n=1143): time 4.177e-05/10.25, allocations: 0 / 3.805 GB, free: 2.082 MB / 1.826 GB Notification: Performance of matching and sorting (n=1177): time 0.2555/10.51, allocations: 59.11 MB / 3.863 GB, free: 6.492 MB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005889/10.51, allocations: 0.7562 MB / 3.863 GB, free: 5.582 MB / 1.889 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loaOpe.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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 11.1.0-maint.11.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.07637/10.59, allocations: 22.51 MB / 3.885 GB, free: 15.21 MB / 1.92 GB Notification: Performance of collectPreVariables (initialization): time 0.006403/10.59, allocations: 317 kB / 3.886 GB, free: 14.9 MB / 1.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.02399/10.62, allocations: 11.12 MB / 3.897 GB, free: 3.844 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.01077/10.63, allocations: 4.006 MB / 3.901 GB, free: 15.88 MB / 1.936 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.02722/10.66, allocations: 3.823 MB / 3.904 GB, free: 12.04 MB / 1.936 GB Notification: Performance of setup shared object (initialization): time 0.000152/10.66, allocations: 310 kB / 3.905 GB, free: 11.74 MB / 1.936 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.04118/10.7, allocations: 11.82 MB / 3.916 GB, free: 15.91 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.04823/10.75, allocations: 15.66 MB / 3.931 GB, free: 14.93 MB / 1.967 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.3639/11.11, allocations: 90.69 MB / 4.02 GB, free: 3.23 MB / 2.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001608/11.11, allocations: 20 kB / 4.02 GB, free: 3.211 MB / 2.045 GB Notification: Performance of matching and sorting (n=2182) (initialization): time 0.1273/11.24, allocations: 32.4 MB / 4.052 GB, free: 3.102 MB / 2.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003458/11.24, allocations: 394.8 kB / 4.052 GB, free: 2.637 MB / 2.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001612/11.24, allocations: 76.88 kB / 4.052 GB, free: 2.562 MB / 2.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01267/11.25, allocations: 3.632 MB / 4.056 GB, free: 14.89 MB / 2.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03419/11.28, allocations: 5.05 MB / 4.061 GB, free: 10.05 MB / 2.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05148/11.34, allocations: 41.72 MB / 4.101 GB, free: 14 MB / 2.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0467/11.38, allocations: 3.055 MB / 4.104 GB, free: 10.95 MB / 2.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007892/11.39, allocations: 0.9357 MB / 4.105 GB, free: 10.02 MB / 2.139 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.06073/11.45, allocations: 16.7 MB / 4.122 GB, free: 9.309 MB / 2.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.04629/11.5, allocations: 15.32 MB / 4.136 GB, free: 8.676 MB / 2.17 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 1.213/12.71, allocations: 88.77 MB / 4.223 GB, free: 1.165 GB / 2.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001096/12.71, allocations: 19.72 kB / 4.223 GB, free: 1.165 GB / 2.186 GB Notification: Performance of matching and sorting (n=2182) (initialization_lambda0): time 0.1026/12.81, allocations: 31.83 MB / 4.254 GB, free: 1.155 GB / 2.186 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002164/12.81, allocations: 383 kB / 4.255 GB, free: 1.155 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001363/12.81, allocations: 74.97 kB / 4.255 GB, free: 1.155 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/12.82, allocations: 3.599 MB / 4.258 GB, free: 1.154 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03173/12.86, allocations: 4.995 MB / 4.263 GB, free: 1.153 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04583/12.9, allocations: 47.47 MB / 4.309 GB, free: 1.115 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04349/12.95, allocations: 3.057 MB / 4.312 GB, free: 1.114 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006506/12.95, allocations: 0.9095 MB / 4.313 GB, free: 1.114 GB / 2.186 GB Warning: The initial conditions are over specified. The following 5 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 $DER.loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 342 * Number of states: 0 () * Number of discrete variables: 113 (loaOpe.loa.ctl.cha.down,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.y,loaOpe.loa.ctl.cha.u,$PRE.loaOpe.loa.ctl.cha.u,$whenCondition14,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.ctlPum2.cha.u,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],ctlPum2.addPar.y,ctlPum2.isDis.y,ctlPum2.cha.down,ctlPum2.cha.up,ctlPum2.cha.y,ctlPum2.cha.u,resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,loaOpe.loa.coi.flowRegime_nominal,loaOpe.loa.coi.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coi.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coi.dryWetCalcs.cfg,loaOpe.loa.coi.flowRegime,loaOpe.loa.coiNom.flowRegime_nominal,loaOpe.loa.coiNom.dryWetCalcs.fullyDry.cfg,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.cfg,loaOpe.loa.coiNom.dryWetCalcs.cfg,loaOpe.loa.coiNom.flowRegime,loaOpe.loa.coiNom.UAFroRated.isFulWet,loaOpe.loa.coiNom.UAFroRated.isFulDry,loaOpe.loa.coi.UAFroRated.isFulWet,loaOpe.loa.coi.UAFroRated.isFulDry,loaOpe.loa.ctl.isDis.y,loaOpe.loa.ctl.addPar.y,loaOpe.loa.addPar.y,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1981): * Single equations (assignments): 1922 * Array equations: 14 * Algorithm blocks: 13 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * Torn equation systems: 23 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 23 systems {(1,2), (1,2), (6,20), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (1,4), (1,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.008963/12.96, allocations: 1.528 MB / 4.315 GB, free: 1.113 GB / 2.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008996/12.97, allocations: 2.197 MB / 4.317 GB, free: 1.113 GB / 2.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08571/13.06, allocations: 24.17 MB / 4.341 GB, free: 1.104 GB / 2.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002225/13.06, allocations: 132.8 kB / 4.341 GB, free: 1.104 GB / 2.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-05/13.06, allocations: 0 / 4.341 GB, free: 1.104 GB / 2.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06818/13.12, allocations: 20.24 MB / 4.36 GB, free: 1.096 GB / 2.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1615/13.29, allocations: 63.54 MB / 4.423 GB, free: 1.046 GB / 2.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001863/13.29, allocations: 28 kB / 4.423 GB, free: 1.046 GB / 2.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01969/13.31, allocations: 2.914 MB / 4.425 GB, free: 1.044 GB / 2.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005348/13.31, allocations: 1.556 MB / 4.427 GB, free: 1.043 GB / 2.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004683/13.32, allocations: 435.9 kB / 4.427 GB, free: 1.042 GB / 2.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01382/13.33, allocations: 17.18 MB / 4.444 GB, free: 1.025 GB / 2.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.971e-05/13.33, allocations: 51.75 kB / 4.444 GB, free: 1.025 GB / 2.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1057/13.44, allocations: 36.51 MB / 4.48 GB, free: 0.9932 GB / 2.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01875/13.45, allocations: 5.365 MB / 4.485 GB, free: 0.9888 GB / 2.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01258/13.47, allocations: 321 kB / 4.485 GB, free: 0.9885 GB / 2.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03053/13.5, allocations: 1.98 MB / 4.487 GB, free: 0.9871 GB / 2.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003961/13.5, allocations: 0.8543 MB / 4.488 GB, free: 0.9864 GB / 2.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.004197/13.51, allocations: 0.6517 MB / 4.489 GB, free: 0.9858 GB / 2.186 GB Notification: Performance of sorting global known variables: time 0.04071/13.55, allocations: 15.27 MB / 4.504 GB, free: 0.971 GB / 2.186 GB Notification: Performance of sort global known variables: time 8.82e-07/13.55, allocations: 0 / 4.504 GB, free: 0.971 GB / 2.186 GB Notification: Performance of remove unused functions: time 0.0702/13.62, allocations: 10.79 MB / 4.514 GB, free: 0.9607 GB / 2.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 136 * Number of states: 60 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEqu.filter.s[1],loa.con.val.valEqu.filter.s[2],loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEqu.filter.s[1],loa1.con.val.valEqu.filter.s[2],resT2.conPID.I.y,ctlPum2.conPID.I.y,loaOpe.loa.TAirLvg.T,loaOpe.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.ctl.conPID.I.y,loaOpe.loa.coiNom.heaCoo.vol.dynBal.U,loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loaOpe.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loaOpe.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loaOpe.loa.TLiqEnt.T,loaOpe.loa.TLiqLvg.T,loaOpe.loa.TAirLvgNom.T) * Number of discrete variables: 56 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,ctlPum2.cha.y,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y,ctlPum2.cha.u,ctlPum2.cha.up,ctlPum2.cha.down,ctlPum2.isDis.y,ctlPum2.addPar.y,loaOpe.loa.ctl.cha.y,$whenCondition14,loaOpe.loa.ctl.cha.u,loaOpe.loa.ctl.cha.up,loaOpe.loa.ctl.cha.down) * Number of discrete states: 8 (loaOpe.loa.ctl.cha.u,fraLoa.tab.nextTimeEvent,ctlPum2.cha.u,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1228): * Single equations (assignments): 1159 * Array equations: 0 * Algorithm blocks: 13 * Record equations: 37 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 14 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 14 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (7,21), (1,4), (1,1), (1,1), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01171/13.63, allocations: 3.84 MB / 4.518 GB, free: 0.9576 GB / 2.186 GB Notification: Performance of simCode: created initialization part: time 0.2304/13.86, allocations: 54.67 MB / 4.571 GB, free: 0.9038 GB / 2.186 GB Notification: Performance of simCode: created event and clocks part: time 3.358e-05/13.86, allocations: 11.97 kB / 4.571 GB, free: 0.9038 GB / 2.186 GB Notification: Performance of simCode: created simulation system equations: time 0.03262/13.89, allocations: 12.48 MB / 4.584 GB, free: 0.8914 GB / 2.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08161/13.97, allocations: 12.17 MB / 4.595 GB, free: 0.8801 GB / 2.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1237/14.1, allocations: 58.67 MB / 4.653 GB, free: 0.8225 GB / 2.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02898/14.13, allocations: 10.5 MB / 4.663 GB, free: 0.8122 GB / 2.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01665/14.14, allocations: 1.955 MB / 4.665 GB, free: 0.8103 GB / 2.186 GB Notification: Performance of SimCode: time 1.382e-06/14.14, allocations: 4 kB / 4.665 GB, free: 0.8103 GB / 2.186 GB Notification: Performance of Templates: time 6.09/20.23, allocations: 3.36 GB / 8.025 GB, free: 1.101 GB / 2.186 GB make -j1 -f Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile make -j1 -f Buildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp In file included from OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.cpp:33: ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16112:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16114:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16116:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16118:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16120:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturn.cpp:16122:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_11_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayVariableReturnCalcHelperMain.o] Error 1