Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InjectionTwoWayConstant,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.InjectionTwoWayConstant") translateModel(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant,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.InjectionTwoWayConstant") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001578/0.001578, allocations: 110.5 kB / 15.99 MB, free: 6.352 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.001717/0.001717, allocations: 194 kB / 16.91 MB, free: 6.184 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.732/2.732, allocations: 482.4 MB / 0.755 GB, free: 7.211 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001925/0.001925, allocations: 71.83 kB / 0.924 GB, free: 348 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8763, allocations: 162.2 MB / 1.082 GB, free: 1.633 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant): time 3.009/3.885, allocations: 1.149 GB / 2.231 GB, free: 74.04 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.2728/4.158, allocations: 194.1 MB / 2.421 GB, free: 44.57 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0618/4.22, allocations: 0.946 MB / 2.422 GB, free: 44.57 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.05597/4.276, allocations: 25.76 MB / 2.447 GB, free: 31.02 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.09354/4.369, allocations: 29.52 MB / 2.476 GB, free: 7.402 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.05066/4.42, allocations: 19.09 MB / 2.494 GB, free: 6.031 MB / 1.545 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.001488049733002956, 0.002976099466005913, 0.004053652720939088}[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.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1093/4.529, allocations: 74.99 MB / 2.567 GB, free: 13.38 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04535/4.575, allocations: 22.77 MB / 2.59 GB, free: 6.734 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06469/4.64, allocations: 24.34 MB / 2.613 GB, free: 15.66 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04077/4.68, allocations: 17.12 MB / 2.63 GB, free: 15.58 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.01328/4.694, allocations: 3.297 MB / 2.633 GB, free: 12.28 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0555/4.749, allocations: 20.39 MB / 2.653 GB, free: 9.594 MB / 1.701 GB Notification: Performance of NFScalarize.scalarize: time 0.0171/4.766, allocations: 7.707 MB / 2.661 GB, free: 1.98 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.03371/4.8, allocations: 14.81 MB / 2.675 GB, free: 3.23 MB / 1.717 GB Notification: Performance of NFConvertDAE.convert: time 0.06526/4.865, allocations: 44.26 MB / 2.719 GB, free: 8.188 MB / 1.764 GB Notification: Performance of FrontEnd - DAE generated: time 1.336e-05/4.865, allocations: 8 kB / 2.719 GB, free: 8.18 MB / 1.764 GB Notification: Performance of FrontEnd: time 2.435e-06/4.865, allocations: 3.938 kB / 2.719 GB, free: 8.176 MB / 1.764 GB Notification: Performance of Transformations before backend: time 0.001358/4.867, allocations: 0 / 2.719 GB, free: 8.176 MB / 1.764 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3528 * Number of variables: 3528 Notification: Performance of Generate backend data structure: time 0.08058/4.947, allocations: 26.49 MB / 2.744 GB, free: 13.62 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.313e-05/4.948, allocations: 12.02 kB / 2.744 GB, free: 13.61 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06801/5.016, allocations: 9.189 MB / 2.753 GB, free: 4.402 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05869/5.074, allocations: 25.55 MB / 2.778 GB, free: 11.21 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001851/5.076, allocations: 1.231 MB / 2.78 GB, free: 9.961 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006584/5.083, allocations: 1.458 MB / 2.781 GB, free: 8.508 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 1.438/6.521, allocations: 20.28 MB / 2.801 GB, free: 0.8934 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000746/6.522, allocations: 21.45 kB / 2.801 GB, free: 0.8933 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00566/6.527, allocations: 0.5629 MB / 2.801 GB, free: 0.8929 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008705/6.528, allocations: 0.5284 MB / 2.802 GB, free: 0.8929 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07431/6.603, allocations: 20.49 MB / 2.822 GB, free: 0.8854 GB / 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.2002/6.803, allocations: 95.78 MB / 2.915 GB, free: 0.8158 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0331/6.836, allocations: 13.8 MB / 2.929 GB, free: 0.8084 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02127/6.857, allocations: 8.1 MB / 2.937 GB, free: 0.8044 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07886/6.936, allocations: 34.22 MB / 2.97 GB, free: 0.7765 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02476/6.961, allocations: 8.194 MB / 2.978 GB, free: 0.772 GB / 1.826 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01414/6.975, allocations: 1.016 MB / 2.979 GB, free: 0.7713 GB / 1.826 GB Notification: Performance of pre-optimization done (n=883): time 4.82e-05/6.975, allocations: 0 / 2.979 GB, free: 0.7713 GB / 1.826 GB Notification: Performance of matching and sorting (n=907): time 0.1572/7.132, allocations: 42.26 MB / 3.02 GB, free: 0.7364 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002248/7.133, allocations: 0.5273 MB / 3.021 GB, free: 0.7358 GB / 1.826 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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 12.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.04903/7.182, allocations: 18.75 MB / 3.039 GB, free: 0.7176 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.003669/7.185, allocations: 257.5 kB / 3.04 GB, free: 0.7173 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.0106/7.196, allocations: 9.544 MB / 3.049 GB, free: 0.708 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.005304/7.201, allocations: 3.093 MB / 3.052 GB, free: 0.705 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007138/7.209, allocations: 2.976 MB / 3.055 GB, free: 0.7021 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/7.209, allocations: 305.1 kB / 3.055 GB, free: 0.7018 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0211/7.23, allocations: 8.808 MB / 3.064 GB, free: 0.6933 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02948/7.259, allocations: 12.03 MB / 3.075 GB, free: 0.6805 GB / 1.826 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.2652/7.525, allocations: 71.16 MB / 3.145 GB, free: 0.6101 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-05/7.525, allocations: 20 kB / 3.145 GB, free: 0.6101 GB / 1.826 GB Notification: Performance of matching and sorting (n=1716) (initialization): time 0.07002/7.595, allocations: 24.48 MB / 3.169 GB, free: 0.586 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001544/7.595, allocations: 273.3 kB / 3.169 GB, free: 0.5857 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.861e-05/7.595, allocations: 64 kB / 3.169 GB, free: 0.5856 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00737/7.602, allocations: 2.603 MB / 3.172 GB, free: 0.5831 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02168/7.624, allocations: 3.678 MB / 3.175 GB, free: 0.5795 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02189/7.646, allocations: 26.3 MB / 3.201 GB, free: 0.5522 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02954/7.676, allocations: 2.203 MB / 3.203 GB, free: 0.5501 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004373/7.68, allocations: 0.7143 MB / 3.204 GB, free: 0.5494 GB / 1.826 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03483/7.715, allocations: 13.05 MB / 3.217 GB, free: 0.5366 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02562/7.741, allocations: 11.69 MB / 3.228 GB, free: 0.5241 GB / 1.826 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2241/7.965, allocations: 69.39 MB / 3.296 GB, free: 466.1 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.905e-05/7.965, allocations: 24 kB / 3.296 GB, free: 466.1 MB / 1.826 GB Notification: Performance of matching and sorting (n=1716) (initialization_lambda0): time 0.07466/8.039, allocations: 23.95 MB / 3.319 GB, free: 442 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001873/8.04, allocations: 275.3 kB / 3.319 GB, free: 441.7 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001406/8.04, allocations: 67.98 kB / 3.32 GB, free: 441.6 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007405/8.047, allocations: 2.565 MB / 3.322 GB, free: 439 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02184/8.069, allocations: 3.651 MB / 3.326 GB, free: 435.3 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03166/8.101, allocations: 33.48 MB / 3.358 GB, free: 400.1 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03048/8.131, allocations: 2.233 MB / 3.36 GB, free: 397.8 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004268/8.136, allocations: 0.6985 MB / 3.361 GB, free: 397.1 MB / 1.826 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 299 * Number of states: 0 () * Number of discrete variables: 82 ($PRE.fraLoa.tab.nextTimeEvent,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$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 (1544): * Single equations (assignments): 1504 * 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,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.006635/8.142, allocations: 1.212 MB / 3.362 GB, free: 395.9 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007902/8.15, allocations: 1.832 MB / 3.364 GB, free: 394 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0618/8.212, allocations: 17.97 MB / 3.382 GB, free: 376 MB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001588/8.212, allocations: 103.9 kB / 3.382 GB, free: 375.9 MB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.293e-05/8.212, allocations: 0 / 3.382 GB, free: 375.9 MB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04711/8.259, allocations: 14.7 MB / 3.396 GB, free: 361.1 MB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1047/8.364, allocations: 46.27 MB / 3.441 GB, free: 314.5 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.845e-05/8.364, allocations: 32.03 kB / 3.441 GB, free: 314.4 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01364/8.378, allocations: 2.2 MB / 3.443 GB, free: 312.2 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003509/8.382, allocations: 1.065 MB / 3.445 GB, free: 311.1 MB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002691/8.384, allocations: 335.7 kB / 3.445 GB, free: 310.8 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007202/8.391, allocations: 9.954 MB / 3.455 GB, free: 300.1 MB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.538e-05/8.391, allocations: 31.88 kB / 3.455 GB, free: 300.1 MB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06741/8.459, allocations: 26.97 MB / 3.481 GB, free: 272.6 MB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01272/8.472, allocations: 4.21 MB / 3.485 GB, free: 268.4 MB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007189/8.479, allocations: 232 kB / 3.485 GB, free: 268.1 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02134/8.5, allocations: 1.549 MB / 3.487 GB, free: 266.6 MB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002447/8.503, allocations: 0.6498 MB / 3.487 GB, free: 265.9 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001953/8.505, allocations: 0.4956 MB / 3.488 GB, free: 265.4 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02655/8.531, allocations: 12.64 MB / 3.5 GB, free: 252.9 MB / 1.826 GB Notification: Performance of sort global known variables: time 1.472e-06/8.531, allocations: 0 / 3.5 GB, free: 252.9 MB / 1.826 GB Notification: Performance of remove unused functions: time 0.05852/8.59, allocations: 9.057 MB / 3.509 GB, free: 244 MB / 1.826 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * Number of states: 48 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.motSpe.y,T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.motSpe.y,con.val.valEqu.actPos.y,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.actPos.y,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.actPos.y,loa1.con.jun.vol.dynBal.U,resT2.conPID.I.y) * Number of discrete variables: 44 (resT2.cha.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,con.ctl.cha.y,isEna.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,fraLoa.tab.nextTimeEventScaled,con.ctl.cha.u,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,resT2.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (929): * Single equations (assignments): 882 * 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,2), (1,2), (4,33), (1,2), (1,2), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009523/8.599, allocations: 3.462 MB / 3.512 GB, free: 241.1 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.1741/8.774, allocations: 41.6 MB / 3.553 GB, free: 199.3 MB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-05/8.774, allocations: 10.66 kB / 3.553 GB, free: 199.3 MB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.02088/8.794, allocations: 9.036 MB / 3.562 GB, free: 190.1 MB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05665/8.851, allocations: 10.52 MB / 3.572 GB, free: 180 MB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08329/8.935, allocations: 48.45 MB / 3.62 GB, free: 131.3 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01316/8.948, allocations: 9.025 MB / 3.628 GB, free: 122.2 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008361/8.956, allocations: 1.584 MB / 3.63 GB, free: 120.6 MB / 1.826 GB Notification: Performance of SimCode: time 9.02e-07/8.956, allocations: 0 / 3.63 GB, free: 120.6 MB / 1.826 GB Notification: Performance of Templates: time 4.204/13.16, allocations: 1.939 GB / 5.569 GB, free: 0.7584 GB / 1.826 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.makefile make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.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.InjectionTwoWayConstantCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.cpp:33: ./OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.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.InjectionTwoWayConstant.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.InjectionTwoWayConstant.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.InjectionTwoWayConstant.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.InjectionTwoWayConstant.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.InjectionTwoWayConstant.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.InjectionTwoWayConstantCalcHelperMain.o] Error 1