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 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.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.001059/0.001059, allocations: 98.88 kB / 16.02 MB, free: 76 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.00134/0.00134, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.414/1.414, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.774/2.774, allocations: 462.7 MB / 0.737 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003431, allocations: 12.62 kB / 0.9034 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3646, allocations: 159.6 MB / 1.059 GB, free: 5.004 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant): time 2.895/3.259, allocations: 1.138 GB / 2.198 GB, free: 6.629 MB / 1.404 GB Notification: Performance of NFInst.instExpressions: time 1.621/4.88, allocations: 194.9 MB / 2.388 GB, free: 29.5 MB / 1.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0599/4.94, allocations: 0.8932 MB / 2.389 GB, free: 29.5 MB / 1.545 GB Notification: Performance of NFTyping.typeComponents: time 0.05766/4.998, allocations: 22 MB / 2.411 GB, free: 29.33 MB / 1.545 GB Notification: Performance of NFTyping.typeBindings: time 0.1049/5.103, allocations: 29.39 MB / 2.439 GB, free: 28.62 MB / 1.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.05596/5.159, allocations: 18.96 MB / 2.458 GB, free: 28.27 MB / 1.545 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.001488049733002956, 0.002976099466005913, 0.004053652720939088}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1313/5.29, allocations: 88.97 MB / 2.545 GB, free: 21.41 MB / 1.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.06044/5.351, allocations: 17.74 MB / 2.562 GB, free: 15.85 MB / 1.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06068/5.411, allocations: 17.49 MB / 2.579 GB, free: 12.18 MB / 1.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04086/5.452, allocations: 15.17 MB / 2.594 GB, free: 4.41 MB / 1.545 GB Notification: Performance of NFPackage.collectConstants: time 0.01098/5.463, allocations: 0.8086 MB / 2.595 GB, free: 3.602 MB / 1.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06108/5.524, allocations: 18.15 MB / 2.612 GB, free: 6.48 MB / 1.561 GB Notification: Performance of NFScalarize.scalarize: time 0.01502/5.54, allocations: 5.126 MB / 2.617 GB, free: 2.574 MB / 1.561 GB Notification: Performance of NFVerifyModel.verify: time 0.03958/5.579, allocations: 11.92 MB / 2.629 GB, free: 10.22 MB / 1.576 GB Notification: Performance of NFConvertDAE.convert: time 0.07656/5.656, allocations: 42.97 MB / 2.671 GB, free: 4.543 MB / 1.607 GB Notification: Performance of FrontEnd - DAE generated: time 8.907e-06/5.656, allocations: 0 / 2.671 GB, free: 4.543 MB / 1.607 GB Notification: Performance of FrontEnd: time 4.829e-06/5.656, allocations: 0 / 2.671 GB, free: 4.543 MB / 1.607 GB Notification: Performance of Transformations before backend: time 0.00163/5.658, allocations: 0 / 2.671 GB, free: 4.543 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.06916/5.727, allocations: 21.41 MB / 2.692 GB, free: 15.07 MB / 1.639 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/5.727, allocations: 8.031 kB / 2.692 GB, free: 15.07 MB / 1.639 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06468/5.791, allocations: 9.598 MB / 2.701 GB, free: 5.457 MB / 1.639 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05951/5.851, allocations: 25.73 MB / 2.726 GB, free: 12.1 MB / 1.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001955/5.853, allocations: 1.232 MB / 2.728 GB, free: 10.85 MB / 1.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007319/5.86, allocations: 1.468 MB / 2.729 GB, free: 9.387 MB / 1.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0745/5.935, allocations: 20.49 MB / 2.749 GB, free: 4.672 MB / 1.686 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007812/5.936, allocations: 19.78 kB / 2.749 GB, free: 4.652 MB / 1.686 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006464/5.942, allocations: 0.5616 MB / 2.75 GB, free: 4.098 MB / 1.686 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006443/5.943, allocations: 0.538 MB / 2.75 GB, free: 3.559 MB / 1.686 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07276/6.016, allocations: 20.89 MB / 2.77 GB, free: 14.66 MB / 1.717 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.2099/6.226, allocations: 95.56 MB / 2.864 GB, free: 12.32 MB / 1.811 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04126/6.267, allocations: 13.94 MB / 2.877 GB, free: 14.39 MB / 1.826 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02585/6.293, allocations: 8.212 MB / 2.885 GB, free: 6.168 MB / 1.826 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09533/6.388, allocations: 34.55 MB / 2.919 GB, free: 2.758 MB / 1.857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02855/6.417, allocations: 8.325 MB / 2.927 GB, free: 10.39 MB / 1.873 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01991/6.437, allocations: 1.143 MB / 2.928 GB, free: 9.246 MB / 1.873 GB Notification: Performance of pre-optimization done (n=893): time 9.978e-05/6.437, allocations: 0 / 2.928 GB, free: 9.246 MB / 1.873 GB Notification: Performance of matching and sorting (n=917): time 0.1855/6.622, allocations: 42.88 MB / 2.97 GB, free: 14.14 MB / 1.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004488/6.623, allocations: 0.5236 MB / 2.971 GB, free: 13.51 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.06286/6.686, allocations: 18.9 MB / 2.989 GB, free: 10.74 MB / 1.936 GB Notification: Performance of collectPreVariables (initialization): time 0.004431/6.69, allocations: 251.6 kB / 2.989 GB, free: 10.49 MB / 1.936 GB Notification: Performance of collectInitialEqns (initialization): time 0.0184/6.709, allocations: 9.604 MB / 2.999 GB, free: 0.9375 MB / 1.936 GB Notification: Performance of collectInitialBindings (initialization): time 0.008785/6.718, allocations: 3.133 MB / 3.002 GB, free: 13.83 MB / 1.951 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006437/6.724, allocations: 1.212 MB / 3.003 GB, free: 12.61 MB / 1.951 GB Notification: Performance of setup shared object (initialization): time 0.0001521/6.724, allocations: 305.1 kB / 3.003 GB, free: 12.31 MB / 1.951 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02792/6.752, allocations: 8.865 MB / 3.012 GB, free: 3.445 MB / 1.951 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03288/6.785, allocations: 12.16 MB / 3.024 GB, free: 6.109 MB / 1.967 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 1.147/7.933, allocations: 73.24 MB / 3.095 GB, free: 1.023 GB / 1.967 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001263/7.933, allocations: 19.16 kB / 3.095 GB, free: 1.023 GB / 1.967 GB Notification: Performance of matching and sorting (n=1731) (initialization): time 0.08223/8.015, allocations: 24.78 MB / 3.12 GB, free: 1.014 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 0.001666/8.017, allocations: 2.399 MB / 3.122 GB, free: 1.011 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001585/8.017, allocations: 65.25 kB / 3.122 GB, free: 1.011 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008077/8.025, allocations: 2.597 MB / 3.125 GB, free: 1.01 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02193/8.047, allocations: 3.759 MB / 3.128 GB, free: 1.01 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02157/8.069, allocations: 24.78 MB / 3.152 GB, free: 0.9884 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03101/8.1, allocations: 2.299 MB / 3.155 GB, free: 0.9882 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004758/8.104, allocations: 0.713 MB / 3.155 GB, free: 0.9881 GB / 1.967 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/8.105, allocations: 4.688 kB / 3.155 GB, free: 0.9881 GB / 1.967 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07178/8.176, allocations: 22.57 MB / 3.177 GB, free: 0.9733 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002835/8.177, allocations: 71.83 kB / 3.178 GB, free: 0.9732 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007743/8.184, allocations: 2.569 MB / 3.18 GB, free: 0.9707 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0219/8.206, allocations: 3.724 MB / 3.184 GB, free: 0.9671 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03153/8.238, allocations: 31.27 MB / 3.214 GB, free: 0.935 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02822/8.266, allocations: 2.117 MB / 3.216 GB, free: 0.933 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004766/8.271, allocations: 0.7002 MB / 3.217 GB, free: 0.9324 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: 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 (1559): * Single equations (assignments): 1519 * 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.01858/8.29, allocations: 5.5 MB / 3.222 GB, free: 0.927 GB / 1.967 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007184/8.297, allocations: 1.856 MB / 3.224 GB, free: 0.9261 GB / 1.967 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.061/8.358, allocations: 18.23 MB / 3.242 GB, free: 0.9084 GB / 1.967 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001432/8.358, allocations: 104 kB / 3.242 GB, free: 0.9083 GB / 1.967 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.175e-05/8.358, allocations: 4 kB / 3.242 GB, free: 0.9083 GB / 1.967 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04808/8.406, allocations: 14.93 MB / 3.257 GB, free: 0.8936 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.1176/8.524, allocations: 46.94 MB / 3.302 GB, free: 0.8475 GB / 1.967 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001135/8.524, allocations: 24 kB / 3.303 GB, free: 0.8475 GB / 1.967 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01367/8.538, allocations: 2.248 MB / 3.305 GB, free: 0.8453 GB / 1.967 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003976/8.542, allocations: 1.099 MB / 3.306 GB, free: 0.8442 GB / 1.967 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002729/8.544, allocations: 331.8 kB / 3.306 GB, free: 0.8439 GB / 1.967 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00714/8.552, allocations: 9.541 MB / 3.315 GB, free: 0.8339 GB / 1.967 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.529e-05/8.552, allocations: 39.75 kB / 3.315 GB, free: 0.8339 GB / 1.967 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1181/8.67, allocations: 27.35 MB / 3.342 GB, free: 0.8077 GB / 1.967 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02204/8.692, allocations: 4.553 MB / 3.347 GB, free: 0.8033 GB / 1.967 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.01122/8.703, allocations: 248 kB / 3.347 GB, free: 0.803 GB / 1.967 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.03755/8.741, allocations: 1.609 MB / 3.348 GB, free: 0.8015 GB / 1.967 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003752/8.745, allocations: 0.6538 MB / 3.349 GB, free: 0.8008 GB / 1.967 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003976/8.749, allocations: 0.4995 MB / 3.35 GB, free: 0.8004 GB / 1.967 GB Notification: Performance of sorting global known variables: time 0.05236/8.801, allocations: 12.75 MB / 3.362 GB, free: 0.788 GB / 1.967 GB Notification: Performance of sort global known variables: time 1.372e-06/8.801, allocations: 4 kB / 3.362 GB, free: 0.788 GB / 1.967 GB Notification: Performance of remove unused functions: time 0.07866/8.88, allocations: 9.074 MB / 3.371 GB, free: 0.7794 GB / 1.967 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 101 * 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 (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 (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,2), (1,2), (1,2), (1,2), (4,33), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01107/8.891, allocations: 3.673 MB / 3.374 GB, free: 0.7763 GB / 1.967 GB Notification: Performance of simCode: created initialization part: time 0.08999/8.981, allocations: 33.4 MB / 3.407 GB, free: 0.7433 GB / 1.967 GB Notification: Performance of simCode: created event and clocks part: time 3.061e-05/8.981, allocations: 10.66 kB / 3.407 GB, free: 0.7433 GB / 1.967 GB Notification: Performance of simCode: created simulation system equations: time 0.02202/9.003, allocations: 9.139 MB / 3.416 GB, free: 0.7342 GB / 1.967 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1387/9.142, allocations: 10.71 MB / 3.426 GB, free: 0.724 GB / 1.967 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1185/9.26, allocations: 49.34 MB / 3.475 GB, free: 0.6755 GB / 1.967 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02378/9.284, allocations: 9.114 MB / 3.484 GB, free: 0.6666 GB / 1.967 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01316/9.297, allocations: 1.721 MB / 3.485 GB, free: 0.6649 GB / 1.967 GB Notification: Performance of SimCode: time 1.142e-06/9.297, allocations: 0 / 3.485 GB, free: 0.6649 GB / 1.967 GB Notification: Performance of Templates: time 4.215/13.51, allocations: 1.945 GB / 5.43 GB, free: 0.8381 GB / 1.967 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:12356: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:12358: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:12360: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:12362: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:12364: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:12366: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