Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay,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|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay,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|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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 92.16 kB / 16.02 MB, free: 80 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.001436/0.001436, allocations: 185.8 kB / 16.92 MB, free: 6.926 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.475/1.475, allocations: 223.3 MB / 241 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.875/2.875, allocations: 462.7 MB / 0.7371 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003762/0.0003762, allocations: 9.094 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3589/0.3593, allocations: 159.6 MB / 1.059 GB, free: 4.969 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay): time 3.149/3.508, allocations: 1.24 GB / 2.299 GB, free: 13.66 MB / 1.514 GB Notification: Performance of NFInst.instExpressions: time 1.566/5.074, allocations: 209.1 MB / 2.503 GB, free: 59.04 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06596/5.14, allocations: 0.9666 MB / 2.504 GB, free: 59.04 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.06509/5.205, allocations: 22.38 MB / 2.526 GB, free: 58.65 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.1111/5.316, allocations: 30.62 MB / 2.556 GB, free: 47.72 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.0559/5.372, allocations: 19.92 MB / 2.575 GB, free: 34.12 MB / 1.529 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.0004017734279107983, 0.0008035468558215966, 0.001094486234653554}[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.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1389/5.511, allocations: 91.99 MB / 2.665 GB, free: 4.207 MB / 1.561 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04725/5.558, allocations: 18.06 MB / 2.683 GB, free: 2.676 MB / 1.576 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0677/5.626, allocations: 18.18 MB / 2.7 GB, free: 3.133 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04508/5.671, allocations: 15.72 MB / 2.716 GB, free: 4.648 MB / 1.607 GB Notification: Performance of NFPackage.collectConstants: time 0.01058/5.682, allocations: 0.8281 MB / 2.717 GB, free: 3.82 MB / 1.607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06208/5.744, allocations: 18.38 MB / 2.735 GB, free: 3.164 MB / 1.623 GB Notification: Performance of NFScalarize.scalarize: time 0.01415/5.758, allocations: 5.264 MB / 2.74 GB, free: 14.03 MB / 1.639 GB Notification: Performance of NFVerifyModel.verify: time 0.03876/5.797, allocations: 12.25 MB / 2.752 GB, free: 1.836 MB / 1.639 GB Notification: Performance of NFConvertDAE.convert: time 0.07331/5.87, allocations: 44.1 MB / 2.795 GB, free: 6.969 MB / 1.686 GB Notification: Performance of FrontEnd - DAE generated: time 8.356e-06/5.87, allocations: 0 / 2.795 GB, free: 6.969 MB / 1.686 GB Notification: Performance of FrontEnd: time 3.296e-06/5.87, allocations: 0 / 2.795 GB, free: 6.969 MB / 1.686 GB Notification: Performance of Transformations before backend: time 0.001735/5.872, allocations: 0 / 2.795 GB, free: 6.969 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: 3526 * Number of variables: 3526 Notification: Performance of Generate backend data structure: time 0.07673/5.949, allocations: 21.8 MB / 2.816 GB, free: 1.113 MB / 1.701 GB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/5.949, allocations: 8.031 kB / 2.816 GB, free: 1.105 MB / 1.701 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06677/6.016, allocations: 9.652 MB / 2.825 GB, free: 7.441 MB / 1.717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07122/6.087, allocations: 26.72 MB / 2.852 GB, free: 13.11 MB / 1.748 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002114/6.089, allocations: 1.233 MB / 2.853 GB, free: 11.86 MB / 1.748 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007494/6.097, allocations: 1.471 MB / 2.854 GB, free: 10.4 MB / 1.748 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07649/6.173, allocations: 20.51 MB / 2.874 GB, free: 5.656 MB / 1.764 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009163/6.174, allocations: 19.78 kB / 2.874 GB, free: 5.637 MB / 1.764 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006251/6.18, allocations: 0.5599 MB / 2.875 GB, free: 5.082 MB / 1.764 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006092/6.181, allocations: 0.538 MB / 2.875 GB, free: 4.543 MB / 1.764 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07148/6.252, allocations: 20.91 MB / 2.896 GB, free: 15.62 MB / 1.795 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.2026/6.455, allocations: 97.63 MB / 2.991 GB, free: 10.89 MB / 1.889 GB Notification: Performance of preOpt comSubExp (simulation): time 1.619/8.074, allocations: 13.75 MB / 3.004 GB, free: 0.966 GB / 1.889 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02332/8.097, allocations: 8.121 MB / 3.012 GB, free: 0.966 GB / 1.889 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09162/8.189, allocations: 34.84 MB / 3.046 GB, free: 0.9491 GB / 1.889 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02634/8.215, allocations: 8.233 MB / 3.054 GB, free: 0.9462 GB / 1.889 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01496/8.23, allocations: 1.201 MB / 3.056 GB, free: 0.9461 GB / 1.889 GB Notification: Performance of pre-optimization done (n=872): time 6.311e-05/8.231, allocations: 1.125 kB / 3.056 GB, free: 0.9461 GB / 1.889 GB Notification: Performance of matching and sorting (n=896): time 0.1676/8.398, allocations: 42.59 MB / 3.097 GB, free: 0.9291 GB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00027/8.398, allocations: 461.3 kB / 3.098 GB, free: 0.9287 GB / 1.889 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa1.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter loa.con.dp1_nominal has no value, and is fixed during initialization (fixed=true), using available start value (start=0.0) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Fluid/HydronicConfigurations/Interfaces/PartialHydronicConfiguration.mo:25:3-29:67:writable] Warning: Parameter 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.06033/8.459, allocations: 19.51 MB / 3.117 GB, free: 0.9206 GB / 1.889 GB Notification: Performance of collectPreVariables (initialization): time 0.00407/8.463, allocations: 253.6 kB / 3.117 GB, free: 0.9204 GB / 1.889 GB Notification: Performance of collectInitialEqns (initialization): time 0.01699/8.48, allocations: 9.831 MB / 3.127 GB, free: 0.912 GB / 1.889 GB Notification: Performance of collectInitialBindings (initialization): time 0.007195/8.487, allocations: 3.073 MB / 3.13 GB, free: 0.9094 GB / 1.889 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006522/8.494, allocations: 1.209 MB / 3.131 GB, free: 0.9087 GB / 1.889 GB Notification: Performance of setup shared object (initialization): time 6.458e-05/8.494, allocations: 305.5 kB / 3.131 GB, free: 0.9084 GB / 1.889 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02568/8.52, allocations: 8.865 MB / 3.14 GB, free: 0.904 GB / 1.889 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02962/8.549, allocations: 12.2 MB / 3.152 GB, free: 0.8958 GB / 1.889 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.2508/8.8, allocations: 73.28 MB / 3.223 GB, free: 0.8289 GB / 1.889 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002045/8.8, allocations: 23.84 kB / 3.223 GB, free: 0.8289 GB / 1.889 GB Notification: Performance of matching and sorting (n=1734) (initialization): time 0.086/8.886, allocations: 24.85 MB / 3.247 GB, free: 0.8045 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 0.001862/8.888, allocations: 2.435 MB / 3.25 GB, free: 0.8011 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002466/8.889, allocations: 68 kB / 3.25 GB, free: 0.8011 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0081/8.897, allocations: 2.632 MB / 3.252 GB, free: 0.7985 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02229/8.919, allocations: 3.756 MB / 3.256 GB, free: 0.7948 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02232/8.941, allocations: 24.79 MB / 3.28 GB, free: 0.7691 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0338/8.975, allocations: 2.327 MB / 3.283 GB, free: 0.7668 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005207/8.98, allocations: 0.7117 MB / 3.283 GB, free: 0.7661 GB / 1.889 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/8.981, allocations: 9.188 kB / 3.283 GB, free: 0.7661 GB / 1.889 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.08294/9.063, allocations: 22.67 MB / 3.305 GB, free: 0.7439 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000413/9.064, allocations: 68 kB / 3.306 GB, free: 0.7438 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007724/9.072, allocations: 2.605 MB / 3.308 GB, free: 0.7412 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02168/9.093, allocations: 3.747 MB / 3.312 GB, free: 0.7376 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03435/9.128, allocations: 31.84 MB / 3.343 GB, free: 0.7048 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02994/9.158, allocations: 2.147 MB / 3.345 GB, free: 0.7027 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004803/9.163, allocations: 0.6987 MB / 3.346 GB, free: 0.702 GB / 1.889 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: 309 * Number of states: 0 () * Number of discrete variables: 78 ($PRE.setOff.tab.nextTimeEvent,$whenCondition8,$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.mode.idx,$PRE.mode.y[1],$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,isEna.y,setOff.tab.nextTimeEventScaled,$PRE.setOff.tab.nextTimeEventScaled,setOff.tab.nextTimeEvent,mode.idx,mode.y[1],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,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,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,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,$whenCondition9,$whenCondition10,$whenCondition11,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 (1561): * Single equations (assignments): 1522 * Array equations: 10 * Algorithm blocks: 8 * 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), (4,32), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2), (5,2), (1,10), (1,2), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.02104/9.184, allocations: 5.664 MB / 3.351 GB, free: 0.6964 GB / 1.889 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00919/9.193, allocations: 1.879 MB / 3.353 GB, free: 0.6946 GB / 1.889 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06609/9.259, allocations: 18.07 MB / 3.371 GB, free: 0.6769 GB / 1.889 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001749/9.259, allocations: 99.98 kB / 3.371 GB, free: 0.6768 GB / 1.889 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.433e-05/9.259, allocations: 0 / 3.371 GB, free: 0.6768 GB / 1.889 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04962/9.309, allocations: 14.6 MB / 3.385 GB, free: 0.6625 GB / 1.889 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.1146/9.424, allocations: 47.02 MB / 3.431 GB, free: 0.6162 GB / 1.889 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000163/9.424, allocations: 24 kB / 3.431 GB, free: 0.6162 GB / 1.889 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01412/9.438, allocations: 2.216 MB / 3.433 GB, free: 0.614 GB / 1.889 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004138/9.442, allocations: 1.111 MB / 3.434 GB, free: 0.6129 GB / 1.889 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003042/9.445, allocations: 331.8 kB / 3.434 GB, free: 0.6126 GB / 1.889 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007644/9.453, allocations: 9.545 MB / 3.444 GB, free: 0.6026 GB / 1.889 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.942e-05/9.453, allocations: 35.81 kB / 3.444 GB, free: 0.6026 GB / 1.889 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0772/9.53, allocations: 27.08 MB / 3.47 GB, free: 0.5756 GB / 1.889 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01538/9.546, allocations: 4.626 MB / 3.475 GB, free: 0.571 GB / 1.889 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00936/9.555, allocations: 240 kB / 3.475 GB, free: 0.5708 GB / 1.889 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02378/9.579, allocations: 1.626 MB / 3.477 GB, free: 0.5692 GB / 1.889 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002919/9.582, allocations: 0.6458 MB / 3.477 GB, free: 0.5686 GB / 1.889 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003153/9.585, allocations: 499.5 kB / 3.478 GB, free: 0.5681 GB / 1.889 GB Notification: Performance of sorting global known variables: time 0.03704/9.622, allocations: 13.14 MB / 3.491 GB, free: 0.5554 GB / 1.889 GB Notification: Performance of sort global known variables: time 2.755e-06/9.622, allocations: 0 / 3.491 GB, free: 0.5554 GB / 1.889 GB Notification: Performance of remove unused functions: time 0.06281/9.685, allocations: 9.269 MB / 3.5 GB, free: 0.5465 GB / 1.889 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 52 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.val.valEquLin.vol.dynBal.U,con.val.valEquLin.filter.s[1],con.val.valEquLin.filter.s[2],con.jun.vol.dynBal.U,con.junBypSup.vol.dynBal.U,con.junBypRet.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.T2Sup.T,con.ctl.conPID.I.y,con.T2Ret.T,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.valEquLin.vol.dynBal.U,loa.con.val.valEquLin.filter.s[1],loa.con.val.valEquLin.filter.s[2],loa.con.jun.vol.dynBal.U,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.valEquLin.vol.dynBal.U,loa1.con.val.valEquLin.filter.s[1],loa1.con.val.valEquLin.filter.s[2],loa1.con.jun.vol.dynBal.U) * Number of discrete variables: 39 (con.ctl.cha.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,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,mode.y[1],mode.idx,setOff.tab.nextTimeEvent,setOff.tab.nextTimeEventScaled,isEna.y) * Number of discrete states: 7 (setOff.tab.nextTimeEvent,fraLoa.tab.nextTimeEvent,setOff.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u,fraLoa.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (917): * Single equations (assignments): 869 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 25 * When equations: 6 * 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,2), (1,2), (1,2), (1,2), (4,34), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01009/9.695, allocations: 3.784 MB / 3.503 GB, free: 0.5433 GB / 1.889 GB Notification: Performance of simCode: created initialization part: time 0.0943/9.789, allocations: 33.28 MB / 3.536 GB, free: 0.5105 GB / 1.889 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-05/9.789, allocations: 10.5 kB / 3.536 GB, free: 0.5105 GB / 1.889 GB Notification: Performance of simCode: created simulation system equations: time 0.02435/9.814, allocations: 8.983 MB / 3.545 GB, free: 0.5016 GB / 1.889 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1487/9.963, allocations: 11.15 MB / 3.555 GB, free: 0.4909 GB / 1.889 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/10.06, allocations: 50 MB / 3.604 GB, free: 452.3 MB / 1.889 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01828/10.08, allocations: 9.278 MB / 3.613 GB, free: 443 MB / 1.889 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01286/10.09, allocations: 1.764 MB / 3.615 GB, free: 441.2 MB / 1.889 GB Notification: Performance of SimCode: time 7.91e-07/10.09, allocations: 0 / 3.615 GB, free: 441.2 MB / 1.889 GB Notification: Performance of Templates: time 3.48/13.57, allocations: 2.001 GB / 5.616 GB, free: 385.5 MB / 1.889 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.makefile clang++ -std=c++14 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12128:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12130:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12132:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12134:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12136:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWay.cpp:12138:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionThreeWayCalcHelperMain.o] Error 1