Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn,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",fileNamePrefix="Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009429/0.000943, allocations: 91.92 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.001137/0.001137, allocations: 179.5 kB / 16.92 MB, free: 6.652 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.511/1.511, allocations: 223.3 MB / 241 MB, free: 5.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.905/2.905, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 10.53 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4014/0.4019, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 2.98/3.382, allocations: 1.139 GB / 2.198 GB, free: 4.348 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 1.478/4.86, allocations: 194.9 MB / 2.388 GB, free: 33.17 MB / 1.561 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06029/4.921, allocations: 0.8918 MB / 2.389 GB, free: 33.17 MB / 1.561 GB Notification: Performance of NFTyping.typeComponents: time 0.05562/4.976, allocations: 22 MB / 2.411 GB, free: 33 MB / 1.561 GB Notification: Performance of NFTyping.typeBindings: time 0.09436/5.071, allocations: 29.38 MB / 2.439 GB, free: 32.5 MB / 1.561 GB Notification: Performance of NFTyping.typeClassSections: time 0.05048/5.121, allocations: 18.96 MB / 2.458 GB, free: 32.17 MB / 1.561 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.004758783046143437, 0.009517566092286874, 0.01296358140156316}[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.004941813163302818, 0.009883626326605636, 0.01346218068623871}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1371/5.258, allocations: 88.97 MB / 2.545 GB, free: 27.35 MB / 1.561 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04541/5.304, allocations: 17.74 MB / 2.562 GB, free: 21.8 MB / 1.561 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05976/5.364, allocations: 17.47 MB / 2.579 GB, free: 19.4 MB / 1.561 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03842/5.402, allocations: 15.17 MB / 2.594 GB, free: 14.11 MB / 1.561 GB Notification: Performance of NFPackage.collectConstants: time 0.01013/5.412, allocations: 0.8119 MB / 2.595 GB, free: 14.11 MB / 1.561 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05359/5.466, allocations: 18.15 MB / 2.612 GB, free: 2.488 MB / 1.561 GB Notification: Performance of NFScalarize.scalarize: time 0.01278/5.479, allocations: 5.138 MB / 2.617 GB, free: 14.57 MB / 1.576 GB Notification: Performance of NFVerifyModel.verify: time 0.03917/5.518, allocations: 11.92 MB / 2.629 GB, free: 6.219 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 0.07072/5.589, allocations: 42.96 MB / 2.671 GB, free: 1.746 MB / 1.607 GB Notification: Performance of FrontEnd - DAE generated: time 9.398e-06/5.589, allocations: 0 / 2.671 GB, free: 1.746 MB / 1.607 GB Notification: Performance of FrontEnd: time 5.931e-06/5.589, allocations: 0 / 2.671 GB, free: 1.746 MB / 1.607 GB Notification: Performance of Transformations before backend: time 0.001843/5.591, allocations: 0 / 2.671 GB, free: 1.746 MB / 1.607 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3543 * Number of variables: 3543 Notification: Performance of Generate backend data structure: time 0.07584/5.667, allocations: 21.43 MB / 2.692 GB, free: 14.17 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 5.725e-05/5.667, allocations: 12.03 kB / 2.692 GB, free: 14.16 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06866/5.735, allocations: 9.692 MB / 2.701 GB, free: 4.691 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06407/5.799, allocations: 25.72 MB / 2.727 GB, free: 15.75 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002055/5.802, allocations: 1.244 MB / 2.728 GB, free: 14.49 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007796/5.809, allocations: 1.459 MB / 2.729 GB, free: 13.04 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07587/5.885, allocations: 20.52 MB / 2.749 GB, free: 8.281 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008423/5.886, allocations: 19.78 kB / 2.749 GB, free: 8.262 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006468/5.893, allocations: 0.5726 MB / 2.75 GB, free: 7.695 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006977/5.893, allocations: 0.5419 MB / 2.75 GB, free: 7.152 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07355/5.967, allocations: 20.96 MB / 2.771 GB, free: 2.188 MB / 1.701 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.2172/6.184, allocations: 95.33 MB / 2.864 GB, free: 124 kB / 1.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03826/6.222, allocations: 14.08 MB / 2.878 GB, free: 2.035 MB / 1.811 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02555/6.248, allocations: 8.283 MB / 2.886 GB, free: 9.742 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1074/6.356, allocations: 40.27 MB / 2.925 GB, free: 0.8008 MB / 1.857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02749/6.383, allocations: 8.218 MB / 2.933 GB, free: 8.543 MB / 1.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01434/6.397, allocations: 1.156 MB / 2.934 GB, free: 7.383 MB / 1.873 GB Notification: Performance of pre-optimization done (n=893): time 5.869e-05/6.398, allocations: 0 / 2.934 GB, free: 7.383 MB / 1.873 GB Notification: Performance of matching and sorting (n=917): time 0.1728/6.57, allocations: 42.65 MB / 2.976 GB, free: 12.51 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004443/6.571, allocations: 0.5352 MB / 2.976 GB, free: 11.87 MB / 1.92 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. Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.08754/6.659, allocations: 19.08 MB / 2.995 GB, free: 8.922 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.004954/6.664, allocations: 256.1 kB / 2.995 GB, free: 8.668 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.02331/6.687, allocations: 9.632 MB / 3.005 GB, free: 15.08 MB / 1.951 GB Notification: Performance of collectInitialBindings (initialization): time 0.007044/6.694, allocations: 3.14 MB / 3.008 GB, free: 11.96 MB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006299/6.7, allocations: 1.212 MB / 3.009 GB, free: 10.75 MB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.0001201/6.7, allocations: 305.1 kB / 3.009 GB, free: 10.45 MB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02831/6.729, allocations: 8.904 MB / 3.018 GB, free: 1.535 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03351/6.762, allocations: 12.24 MB / 3.03 GB, free: 4.102 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: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 1.12/7.882, allocations: 73.85 MB / 3.102 GB, free: 1.022 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001046/7.882, allocations: 19.78 kB / 3.102 GB, free: 1.022 GB / 1.967 GB Notification: Performance of matching and sorting (n=1741) (initialization): time 0.08159/7.964, allocations: 24.92 MB / 3.126 GB, free: 1.013 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.001485/7.966, allocations: 2.422 MB / 3.129 GB, free: 1.01 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001947/7.966, allocations: 68.22 kB / 3.129 GB, free: 1.01 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008982/7.975, allocations: 2.603 MB / 3.131 GB, free: 1.009 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0221/7.997, allocations: 3.788 MB / 3.135 GB, free: 1.009 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02275/8.02, allocations: 24.83 MB / 3.159 GB, free: 0.9877 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03143/8.051, allocations: 2.405 MB / 3.162 GB, free: 0.9874 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004968/8.056, allocations: 0.7171 MB / 3.162 GB, free: 0.9873 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/8.056, allocations: 9.219 kB / 3.162 GB, free: 0.9873 GB / 1.967 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07456/8.131, allocations: 22.7 MB / 3.184 GB, free: 0.9709 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002799/8.131, allocations: 68 kB / 3.185 GB, free: 0.9708 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008158/8.139, allocations: 2.592 MB / 3.187 GB, free: 0.9682 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02201/8.161, allocations: 3.748 MB / 3.191 GB, free: 0.9646 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03255/8.194, allocations: 31.38 MB / 3.221 GB, free: 0.9325 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02764/8.222, allocations: 2.185 MB / 3.223 GB, free: 0.9304 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004212/8.226, allocations: 0.7065 MB / 3.224 GB, free: 0.9297 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 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: 303 * Number of states: 0 () * Number of discrete variables: 82 ($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.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],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,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 (1569): * Single equations (assignments): 1529 * Array equations: 10 * Algorithm blocks: 9 * 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,31), (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.01712/8.243, allocations: 5.519 MB / 3.23 GB, free: 0.9243 GB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006872/8.25, allocations: 1.849 MB / 3.231 GB, free: 0.9234 GB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05955/8.309, allocations: 18.04 MB / 3.249 GB, free: 0.9059 GB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001542/8.31, allocations: 112 kB / 3.249 GB, free: 0.9058 GB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.984e-05/8.31, allocations: 3.938 kB / 3.249 GB, free: 0.9058 GB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04824/8.358, allocations: 14.76 MB / 3.264 GB, free: 0.8912 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.1143/8.472, allocations: 46.31 MB / 3.309 GB, free: 0.8458 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001553/8.473, allocations: 24 kB / 3.309 GB, free: 0.8458 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01379/8.486, allocations: 2.221 MB / 3.311 GB, free: 0.8436 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004222/8.491, allocations: 1.085 MB / 3.312 GB, free: 0.8425 GB / 1.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002883/8.494, allocations: 331.8 kB / 3.312 GB, free: 0.8422 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007696/8.501, allocations: 9.562 MB / 3.322 GB, free: 0.8323 GB / 1.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.742e-05/8.501, allocations: 35.81 kB / 3.322 GB, free: 0.8322 GB / 1.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07815/8.579, allocations: 26.97 MB / 3.348 GB, free: 0.8064 GB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01421/8.594, allocations: 4.558 MB / 3.352 GB, free: 0.802 GB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008734/8.602, allocations: 240 kB / 3.353 GB, free: 0.8018 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02305/8.626, allocations: 1.628 MB / 3.354 GB, free: 0.8002 GB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003105/8.629, allocations: 0.65 MB / 3.355 GB, free: 0.7996 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003191/8.632, allocations: 0.4995 MB / 3.355 GB, free: 0.7991 GB / 1.967 GB Notification: Performance of sorting global known variables: time 0.03438/8.666, allocations: 12.9 MB / 3.368 GB, free: 0.7866 GB / 1.967 GB Notification: Performance of sort global known variables: time 7.52e-07/8.666, allocations: 0 / 3.368 GB, free: 0.7866 GB / 1.967 GB Notification: Performance of remove unused functions: time 0.05468/8.721, allocations: 9.066 MB / 3.377 GB, free: 0.7779 GB / 1.967 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 53 (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.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,resT2.conPID.I.y) * Number of discrete variables: 44 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,$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) * Number of discrete states: 6 (fraLoa.tab.nextTimeEvent,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 (939): * Single equations (assignments): 892 * Array equations: 0 * Algorithm blocks: 9 * 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), (4,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009662/8.731, allocations: 3.678 MB / 3.38 GB, free: 0.7749 GB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.09297/8.824, allocations: 33.45 MB / 3.413 GB, free: 0.7419 GB / 1.967 GB Notification: Performance of simCode: created event and clocks part: time 3.034e-05/8.824, allocations: 10.66 kB / 3.413 GB, free: 0.7419 GB / 1.967 GB Notification: Performance of simCode: created simulation system equations: time 0.02371/8.848, allocations: 9.005 MB / 3.422 GB, free: 0.7329 GB / 1.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1379/8.985, allocations: 10.65 MB / 3.432 GB, free: 0.7227 GB / 1.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1006/9.086, allocations: 49.21 MB / 3.48 GB, free: 0.6744 GB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02098/9.107, allocations: 9.11 MB / 3.489 GB, free: 0.6654 GB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01256/9.12, allocations: 1.721 MB / 3.491 GB, free: 0.6638 GB / 1.967 GB Notification: Performance of SimCode: time 1.002e-06/9.12, allocations: 0 / 3.491 GB, free: 0.6638 GB / 1.967 GB Notification: Performance of Templates: time 4.163/13.28, allocations: 1.945 GB / 5.436 GB, free: 0.8363 GB / 1.967 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.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.InjectionTwoWayConstantReturnCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12320: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.InjectionTwoWayConstantReturn.cpp:12322: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.InjectionTwoWayConstantReturn.cpp:12324: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.InjectionTwoWayConstantReturn.cpp:12326: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.InjectionTwoWayConstantReturn.cpp:12328: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.InjectionTwoWayConstantReturn.cpp:12330: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.InjectionTwoWayConstantReturnCalcHelperMain.o] Error 1