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 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.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.001527/0.001527, allocations: 104.1 kB / 15.98 MB, free: 6.355 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.00152/0.00152, allocations: 192.6 kB / 16.91 MB, free: 6.188 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.393/1.393, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.759/2.759, allocations: 482.4 MB / 0.755 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 72.39 kB / 0.924 GB, free: 364 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9248/0.9271, allocations: 162.2 MB / 1.082 GB, free: 1.641 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 3.105/4.033, allocations: 1.149 GB / 2.231 GB, free: 74.08 MB / 1.529 GB Notification: Performance of NFInst.instExpressions: time 0.2984/4.331, allocations: 194.1 MB / 2.421 GB, free: 44.56 MB / 1.529 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.07292/4.404, allocations: 0.9439 MB / 2.422 GB, free: 44.56 MB / 1.529 GB Notification: Performance of NFTyping.typeComponents: time 0.05761/4.462, allocations: 25.76 MB / 2.447 GB, free: 30.97 MB / 1.529 GB Notification: Performance of NFTyping.typeBindings: time 0.09768/4.559, allocations: 29.49 MB / 2.476 GB, free: 7.406 MB / 1.529 GB Notification: Performance of NFTyping.typeClassSections: time 0.06624/4.626, allocations: 19.1 MB / 2.494 GB, free: 6.027 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.004758783046143437, 0.009517566092286874, 0.01296358140156316}[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.004941813163302818, 0.009883626326605636, 0.01346218068623871}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1229/4.748, allocations: 74.99 MB / 2.568 GB, free: 13.37 MB / 1.623 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05404/4.803, allocations: 22.77 MB / 2.59 GB, free: 6.723 MB / 1.639 GB Notification: Performance of NFEvalConstants.evaluate: time 0.07032/4.873, allocations: 24.3 MB / 2.613 GB, free: 15.68 MB / 1.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04024/4.913, allocations: 17.14 MB / 2.63 GB, free: 15.58 MB / 1.686 GB Notification: Performance of NFPackage.collectConstants: time 0.01719/4.93, allocations: 3.297 MB / 2.633 GB, free: 12.29 MB / 1.686 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05802/4.989, allocations: 20.39 MB / 2.653 GB, free: 9.598 MB / 1.701 GB Notification: Performance of NFScalarize.scalarize: time 0.0166/5.005, allocations: 7.713 MB / 2.661 GB, free: 1.98 MB / 1.701 GB Notification: Performance of NFVerifyModel.verify: time 0.04143/5.047, allocations: 14.81 MB / 2.675 GB, free: 3.223 MB / 1.717 GB Notification: Performance of NFConvertDAE.convert: time 0.07295/5.12, allocations: 44.27 MB / 2.719 GB, free: 8.176 MB / 1.764 GB Notification: Performance of FrontEnd - DAE generated: time 8.105e-06/5.12, allocations: 0 / 2.719 GB, free: 8.176 MB / 1.764 GB Notification: Performance of FrontEnd: time 1.724e-06/5.12, allocations: 0 / 2.719 GB, free: 8.176 MB / 1.764 GB Notification: Performance of Transformations before backend: time 0.001524/5.121, 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.09474/5.216, allocations: 26.51 MB / 2.744 GB, free: 13.6 MB / 1.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.586e-05/5.216, allocations: 12.03 kB / 2.744 GB, free: 13.59 MB / 1.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07069/5.287, allocations: 9.289 MB / 2.754 GB, free: 4.285 MB / 1.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07128/5.358, allocations: 25.56 MB / 2.779 GB, free: 11.09 MB / 1.826 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002276/5.36, allocations: 1.226 MB / 2.78 GB, free: 9.844 MB / 1.826 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007985/5.368, allocations: 1.462 MB / 2.781 GB, free: 8.387 MB / 1.826 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.8039/6.172, allocations: 20.32 MB / 2.801 GB, free: 0.8974 GB / 1.826 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005311/6.173, allocations: 24.27 kB / 2.801 GB, free: 0.8974 GB / 1.826 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004843/6.178, allocations: 0.567 MB / 2.802 GB, free: 0.897 GB / 1.826 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007171/6.179, allocations: 0.5205 MB / 2.802 GB, free: 0.8969 GB / 1.826 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07014/6.249, allocations: 20.58 MB / 2.822 GB, free: 0.8894 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.1702/6.419, allocations: 95.56 MB / 2.915 GB, free: 0.8204 GB / 1.826 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02964/6.449, allocations: 13.94 MB / 2.929 GB, free: 0.8129 GB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01937/6.468, allocations: 8.171 MB / 2.937 GB, free: 0.8089 GB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08363/6.552, allocations: 39.91 MB / 2.976 GB, free: 0.7773 GB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02286/6.575, allocations: 8.109 MB / 2.984 GB, free: 0.7728 GB / 1.826 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01258/6.587, allocations: 1.029 MB / 2.985 GB, free: 0.7721 GB / 1.826 GB Notification: Performance of pre-optimization done (n=883): time 3.156e-05/6.587, allocations: 0 / 2.985 GB, free: 0.7721 GB / 1.826 GB Notification: Performance of matching and sorting (n=907): time 0.1516/6.739, allocations: 41.99 MB / 3.026 GB, free: 0.737 GB / 1.826 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/6.739, allocations: 0.5351 MB / 3.026 GB, free: 0.7364 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.04146/6.781, allocations: 18.92 MB / 3.045 GB, free: 0.7181 GB / 1.826 GB Notification: Performance of collectPreVariables (initialization): time 0.003423/6.784, allocations: 253.5 kB / 3.045 GB, free: 0.7178 GB / 1.826 GB Notification: Performance of collectInitialEqns (initialization): time 0.01095/6.795, allocations: 9.571 MB / 3.055 GB, free: 0.7085 GB / 1.826 GB Notification: Performance of collectInitialBindings (initialization): time 0.005047/6.8, allocations: 3.1 MB / 3.058 GB, free: 0.7055 GB / 1.826 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.008808/6.809, allocations: 3.003 MB / 3.061 GB, free: 0.7025 GB / 1.826 GB Notification: Performance of setup shared object (initialization): time 5.221e-05/6.809, allocations: 301.1 kB / 3.061 GB, free: 0.7023 GB / 1.826 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02106/6.83, allocations: 8.859 MB / 3.069 GB, free: 0.6937 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02676/6.857, allocations: 12.09 MB / 3.081 GB, free: 0.6809 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.2361/7.093, allocations: 71.84 MB / 3.151 GB, free: 0.6097 GB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/7.093, allocations: 20 kB / 3.151 GB, free: 0.6096 GB / 1.826 GB Notification: Performance of matching and sorting (n=1726) (initialization): time 0.08111/7.174, allocations: 24.62 MB / 3.175 GB, free: 0.5855 GB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001975/7.175, allocations: 271.3 kB / 3.176 GB, free: 0.5852 GB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001365/7.175, allocations: 68 kB / 3.176 GB, free: 0.5851 GB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007655/7.182, allocations: 2.592 MB / 3.178 GB, free: 0.5825 GB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02134/7.204, allocations: 3.716 MB / 3.182 GB, free: 0.5789 GB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/7.225, allocations: 26.35 MB / 3.208 GB, free: 0.5516 GB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03455/7.26, allocations: 2.292 MB / 3.21 GB, free: 0.5494 GB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00566/7.266, allocations: 0.7143 MB / 3.211 GB, free: 0.5487 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.03622/7.302, allocations: 13.09 MB / 3.223 GB, free: 0.5359 GB / 1.826 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02586/7.328, allocations: 11.76 MB / 3.235 GB, free: 0.5232 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.233/7.561, allocations: 70.07 MB / 3.303 GB, free: 464.5 MB / 1.826 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001249/7.561, allocations: 20 kB / 3.303 GB, free: 464.5 MB / 1.826 GB Notification: Performance of matching and sorting (n=1726) (initialization_lambda0): time 0.07574/7.637, allocations: 24.09 MB / 3.327 GB, free: 440.3 MB / 1.826 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002033/7.637, allocations: 275.3 kB / 3.327 GB, free: 440 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000143/7.637, allocations: 64 kB / 3.327 GB, free: 439.9 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007478/7.645, allocations: 2.573 MB / 3.33 GB, free: 437.3 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02175/7.667, allocations: 3.678 MB / 3.333 GB, free: 433.6 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03361/7.7, allocations: 33.51 MB / 3.366 GB, free: 398.3 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03034/7.731, allocations: 2.307 MB / 3.368 GB, free: 396 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004303/7.735, allocations: 0.6987 MB / 3.369 GB, free: 395.3 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: 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 (1554): * Single equations (assignments): 1514 * 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.007711/7.743, allocations: 1.206 MB / 3.37 GB, free: 394.1 MB / 1.826 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008957/7.752, allocations: 1.84 MB / 3.372 GB, free: 392.2 MB / 1.826 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06336/7.815, allocations: 17.83 MB / 3.389 GB, free: 374.4 MB / 1.826 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001533/7.815, allocations: 99.98 kB / 3.389 GB, free: 374.3 MB / 1.826 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.141e-05/7.815, allocations: 0 / 3.389 GB, free: 374.3 MB / 1.826 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04668/7.862, allocations: 14.56 MB / 3.404 GB, free: 359.6 MB / 1.826 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1058/7.968, allocations: 45.69 MB / 3.448 GB, free: 313.6 MB / 1.826 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001463/7.968, allocations: 27.94 kB / 3.448 GB, free: 313.5 MB / 1.826 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01373/7.982, allocations: 2.177 MB / 3.45 GB, free: 311.3 MB / 1.826 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/7.985, allocations: 1.072 MB / 3.451 GB, free: 310.3 MB / 1.826 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003746/7.989, allocations: 323.8 kB / 3.452 GB, free: 309.9 MB / 1.826 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008242/7.998, allocations: 9.982 MB / 3.462 GB, free: 299.2 MB / 1.826 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-05/7.998, allocations: 31.88 kB / 3.462 GB, free: 299.2 MB / 1.826 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07073/8.068, allocations: 26.65 MB / 3.488 GB, free: 272.1 MB / 1.826 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01244/8.081, allocations: 4.202 MB / 3.492 GB, free: 267.8 MB / 1.826 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007537/8.088, allocations: 232 kB / 3.492 GB, free: 267.6 MB / 1.826 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02119/8.11, allocations: 1.551 MB / 3.493 GB, free: 266.1 MB / 1.826 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002481/8.112, allocations: 0.646 MB / 3.494 GB, free: 265.4 MB / 1.826 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002794/8.115, allocations: 0.4956 MB / 3.495 GB, free: 264.9 MB / 1.826 GB Notification: Performance of sorting global known variables: time 0.02903/8.144, allocations: 12.78 MB / 3.507 GB, free: 252.2 MB / 1.826 GB Notification: Performance of sort global known variables: time 9.92e-07/8.144, allocations: 0 / 3.507 GB, free: 252.2 MB / 1.826 GB Notification: Performance of remove unused functions: time 0.05302/8.197, allocations: 9.08 MB / 3.516 GB, free: 243.3 MB / 1.826 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * 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 (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 (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,1), (1,1), (1,1), (1,1), (1,2), (1,2), (5,32), (1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009131/8.206, allocations: 3.464 MB / 3.519 GB, free: 240.4 MB / 1.826 GB Notification: Performance of simCode: created initialization part: time 0.177/8.383, allocations: 41.72 MB / 3.56 GB, free: 198.3 MB / 1.826 GB Notification: Performance of simCode: created event and clocks part: time 2.84e-05/8.383, allocations: 10.66 kB / 3.56 GB, free: 198.3 MB / 1.826 GB Notification: Performance of simCode: created simulation system equations: time 0.02135/8.405, allocations: 8.913 MB / 3.569 GB, free: 189.2 MB / 1.826 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05591/8.461, allocations: 10.53 MB / 3.579 GB, free: 179.2 MB / 1.826 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09039/8.551, allocations: 48.33 MB / 3.626 GB, free: 130.6 MB / 1.826 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01444/8.566, allocations: 9.026 MB / 3.635 GB, free: 121.5 MB / 1.826 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008706/8.574, allocations: 1.588 MB / 3.637 GB, free: 119.9 MB / 1.826 GB Notification: Performance of SimCode: time 1.072e-06/8.574, allocations: 0 / 3.637 GB, free: 119.9 MB / 1.826 GB Notification: Performance of Templates: time 4.171/12.75, allocations: 1.939 GB / 5.576 GB, free: 0.7799 GB / 1.826 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:12284: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:12286: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:12288: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:12290: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:12292: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:12294: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