Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001046/0.001046, allocations: 92.23 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 177.7 kB / 16.92 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.462/1.462, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.775/2.775, allocations: 437.8 MB / 0.7128 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000405/0.0004052, allocations: 12 kB / 0.8735 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7735/0.774, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn): time 3.209/3.983, allocations: 1.139 GB / 2.162 GB, free: 13.81 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 1.739/5.723, allocations: 194.9 MB / 2.353 GB, free: 28.47 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06424/5.787, allocations: 0.8907 MB / 2.353 GB, free: 28.47 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.06102/5.848, allocations: 22 MB / 2.375 GB, free: 28.3 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.1139/5.962, allocations: 29.38 MB / 2.404 GB, free: 27.68 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.06194/6.024, allocations: 18.96 MB / 2.422 GB, free: 27.32 MB / 1.514 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.004758783046143437, 0.009517566092286874, 0.01296358140156316}[pressure.n] * 0.0‘ [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.004941813163302818, 0.009883626326605636, 0.01346218068623871}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1425/6.167, allocations: 88.97 MB / 2.509 GB, free: 20.84 MB / 1.514 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05059/6.217, allocations: 17.73 MB / 2.526 GB, free: 15.29 MB / 1.514 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06437/6.282, allocations: 17.47 MB / 2.543 GB, free: 12.3 MB / 1.514 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04228/6.324, allocations: 15.17 MB / 2.558 GB, free: 4.906 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.01116/6.335, allocations: 0.8086 MB / 2.559 GB, free: 4.098 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.05861/6.394, allocations: 18.15 MB / 2.577 GB, free: 6.977 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.0126/6.407, allocations: 5.129 MB / 2.582 GB, free: 3.07 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.03383/6.44, allocations: 11.94 MB / 2.593 GB, free: 10.7 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06242/6.503, allocations: 42.95 MB / 2.635 GB, free: 6.266 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/6.503, allocations: 3.938 kB / 2.635 GB, free: 6.266 MB / 1.576 GB Notification: Performance of FrontEnd: time 2.625e-06/6.503, allocations: 0 / 2.635 GB, free: 6.266 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.001386/6.504, allocations: 0 / 2.635 GB, free: 6.266 MB / 1.576 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.06658/6.571, allocations: 21.44 MB / 2.656 GB, free: 1.914 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.201e-05/6.571, allocations: 8.031 kB / 2.656 GB, free: 1.906 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0672/6.638, allocations: 9.689 MB / 2.666 GB, free: 8.207 MB / 1.607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06603/6.704, allocations: 25.73 MB / 2.691 GB, free: 14.84 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002076/6.706, allocations: 1.237 MB / 2.692 GB, free: 13.58 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007448/6.714, allocations: 1.464 MB / 2.694 GB, free: 12.12 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07461/6.788, allocations: 20.52 MB / 2.714 GB, free: 7.379 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008705/6.789, allocations: 19.78 kB / 2.714 GB, free: 7.359 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006491/6.796, allocations: 0.5659 MB / 2.714 GB, free: 6.801 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006406/6.797, allocations: 0.542 MB / 2.715 GB, free: 6.258 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08352/6.88, allocations: 20.96 MB / 2.735 GB, free: 1.289 MB / 1.67 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.2322/7.112, allocations: 95.32 MB / 2.828 GB, free: 15.21 MB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03959/7.152, allocations: 14.09 MB / 2.842 GB, free: 1.141 MB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02538/7.177, allocations: 8.282 MB / 2.85 GB, free: 8.848 MB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1083/7.286, allocations: 40.28 MB / 2.889 GB, free: 15.88 MB / 1.842 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02818/7.314, allocations: 8.23 MB / 2.897 GB, free: 7.621 MB / 1.842 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01492/7.329, allocations: 1.147 MB / 2.899 GB, free: 6.469 MB / 1.842 GB Notification: Performance of pre-optimization done (n=893): time 7.026e-05/7.329, allocations: 0 / 2.899 GB, free: 6.469 MB / 1.842 GB Notification: Performance of matching and sorting (n=917): time 0.1947/7.524, allocations: 42.65 MB / 2.94 GB, free: 11.61 MB / 1.889 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003631/7.524, allocations: 0.5275 MB / 2.941 GB, free: 10.97 MB / 1.889 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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 10.1.0-maint.10.0.x/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.06829/7.593, allocations: 19.08 MB / 2.959 GB, free: 8.027 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.005762/7.598, allocations: 257.6 kB / 2.96 GB, free: 7.77 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.02096/7.619, allocations: 9.636 MB / 2.969 GB, free: 14.18 MB / 1.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.008507/7.628, allocations: 3.136 MB / 2.972 GB, free: 11.07 MB / 1.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007656/7.636, allocations: 1.214 MB / 2.973 GB, free: 9.844 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001509/7.636, allocations: 305.1 kB / 2.974 GB, free: 9.543 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03863/7.674, allocations: 8.913 MB / 2.982 GB, free: 0.6289 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.9194/8.594, allocations: 12.22 MB / 2.994 GB, free: 1.026 GB / 1.92 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.2708/8.865, allocations: 73.86 MB / 3.066 GB, free: 1.008 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000249/8.865, allocations: 19.38 kB / 3.066 GB, free: 1.008 GB / 1.92 GB Notification: Performance of matching and sorting (n=1741) (initialization): time 0.08992/8.955, allocations: 24.92 MB / 3.091 GB, free: 0.9988 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.002246/8.957, allocations: 2.427 MB / 3.093 GB, free: 0.9957 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003567/8.958, allocations: 64 kB / 3.093 GB, free: 0.9956 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008768/8.966, allocations: 2.609 MB / 3.096 GB, free: 0.9934 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02294/8.989, allocations: 3.785 MB / 3.099 GB, free: 0.99 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02332/9.013, allocations: 24.84 MB / 3.124 GB, free: 0.9644 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0326/9.045, allocations: 2.397 MB / 3.126 GB, free: 0.9622 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00521/9.051, allocations: 0.7119 MB / 3.127 GB, free: 0.9615 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/9.051, allocations: 7.844 kB / 3.127 GB, free: 0.9615 GB / 1.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.07851/9.129, allocations: 22.7 MB / 3.149 GB, free: 0.9392 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003471/9.13, allocations: 71.98 kB / 3.149 GB, free: 0.9391 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008081/9.138, allocations: 2.596 MB / 3.151 GB, free: 0.9366 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02262/9.16, allocations: 3.743 MB / 3.155 GB, free: 0.9329 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0351/9.196, allocations: 31.4 MB / 3.186 GB, free: 0.9007 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02956/9.225, allocations: 2.173 MB / 3.188 GB, free: 0.8987 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005222/9.231, allocations: 0.7005 MB / 3.189 GB, free: 0.898 GB / 1.92 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization sytem: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 303 * Number of states: 0 () * Number of discrete variables: 82 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$PRE.fraLoa.tab.nextTimeEvent,$whenCondition1,con.ctlVar.y,loa.loa.coi.flowRegime_nominal,loa.loa.coi.dryWetCalcs.fullyDry.cfg,loa.loa.coi.dryWetCalcs.fullyWet.cfg,loa.loa.coi.dryWetCalcs.cfg,loa.loa.coi.flowRegime,loa.loa.coiNom.flowRegime_nominal,loa.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa.loa.coiNom.dryWetCalcs.cfg,loa.loa.coiNom.flowRegime,loa1.loa.coi.flowRegime_nominal,loa1.loa.coi.dryWetCalcs.fullyDry.cfg,loa1.loa.coi.dryWetCalcs.fullyWet.cfg,loa1.loa.coi.dryWetCalcs.cfg,loa1.loa.coi.flowRegime,loa1.loa.coiNom.flowRegime_nominal,loa1.loa.coiNom.dryWetCalcs.fullyDry.cfg,loa1.loa.coiNom.dryWetCalcs.fullyWet.cfg,loa1.loa.coiNom.dryWetCalcs.cfg,loa1.loa.coiNom.flowRegime,loa1.loa.coiNom.UAFroRated.isFulWet,loa1.loa.coiNom.UAFroRated.isFulDry,loa1.loa.coi.UAFroRated.isFulWet,loa1.loa.coi.UAFroRated.isFulDry,loa.loa.coiNom.UAFroRated.isFulWet,loa.loa.coiNom.UAFroRated.isFulDry,loa.loa.coi.UAFroRated.isFulWet,loa.loa.coi.UAFroRated.isFulDry,$PRE.resT2.cha.u,$PRE.loa1.loa.ctl.cha.u,$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],resT2.addPar.y,resT2.isDis.y,resT2.cha.down,resT2.cha.up,resT2.cha.y,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,loa1.loa.addPar.y,loa1.loa.ctl.addPar.y,loa1.loa.ctl.isDis.y,loa1.loa.ctl.cha.down,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.y,loa1.loa.ctl.cha.u,loa.loa.addPar.y,loa.loa.ctl.addPar.y,loa.loa.ctl.isDis.y,loa.loa.ctl.cha.down,loa.loa.ctl.cha.up,loa.loa.ctl.cha.y,loa.loa.ctl.cha.u,isEna.y,con.isEna.y,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,mode.idx,mode.y[1],$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,con.ctl.conPID.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1569): * Single equations (assignments): 1529 * Array equations: 10 * Algorithm blocks: 9 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 15 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 15 systems {(1,2), (1,2), (4,31), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2), (5,2), (1,2), (1,10), (1,2), (1,2), (5,2)} Notification: Performance of prepare postOptimizeDAE: time 0.02107/9.252, allocations: 5.517 MB / 3.194 GB, free: 0.8926 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008238/9.26, allocations: 1.853 MB / 3.196 GB, free: 0.8918 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06299/9.323, allocations: 18.05 MB / 3.213 GB, free: 0.8742 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001616/9.323, allocations: 99.98 kB / 3.213 GB, free: 0.8741 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.171e-05/9.323, allocations: 3.938 kB / 3.213 GB, free: 0.8741 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04822/9.371, allocations: 14.77 MB / 3.228 GB, free: 0.8595 GB / 1.92 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.1206/9.492, allocations: 46.32 MB / 3.273 GB, free: 0.8141 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001047/9.492, allocations: 20 kB / 3.273 GB, free: 0.8141 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01407/9.506, allocations: 2.228 MB / 3.275 GB, free: 0.8119 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004115/9.51, allocations: 1.076 MB / 3.276 GB, free: 0.8109 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003211/9.514, allocations: 335.8 kB / 3.277 GB, free: 0.8105 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007974/9.522, allocations: 9.563 MB / 3.286 GB, free: 0.8006 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.602e-05/9.522, allocations: 35.81 kB / 3.286 GB, free: 0.8005 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07789/9.6, allocations: 26.97 MB / 3.312 GB, free: 0.7747 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01547/9.615, allocations: 4.556 MB / 3.317 GB, free: 0.7703 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008966/9.624, allocations: 240 kB / 3.317 GB, free: 0.7701 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02341/9.648, allocations: 1.634 MB / 3.319 GB, free: 0.7685 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003104/9.651, allocations: 0.6461 MB / 3.319 GB, free: 0.7679 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00339/9.654, allocations: 0.4956 MB / 3.32 GB, free: 0.7674 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.03632/9.691, allocations: 12.9 MB / 3.332 GB, free: 0.7549 GB / 1.92 GB Notification: Performance of sort global known variables: time 1.753e-06/9.691, allocations: 0 / 3.332 GB, free: 0.7549 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.05915/9.75, allocations: 9.067 MB / 3.341 GB, free: 0.7462 GB / 1.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 95 * Number of states: 53 (pum.pumSpe.vol.dynBal.U,pum.pumSpe.filter.s[1],pum.pumSpe.filter.s[2],T1Ret.T,T1Sup.T,del1.dynBal.U,con.junSup.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.val.valEqu.filter.s[1],con.val.valEqu.filter.s[2],con.T2Sup.T,con.junRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,ctlPum1.I.y,del2.dynBal.U,loa.loa.TAirLvg.T,loa.loa.coi.heaCoo.vol.dynBal.U,loa.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coi.heaCooHum_u.vol.dynBal.U,loa.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.ctl.conPID.I.y,loa.loa.coiNom.heaCoo.vol.dynBal.U,loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa.loa.TLiqEnt.T,loa.loa.TLiqLvg.T,loa.loa.TAirLvgNom.T,loa.con.val.valEquLin.vol.dynBal.U,loa.con.val.valEquLin.filter.s[1],loa.con.val.valEquLin.filter.s[2],loa.con.jun.vol.dynBal.U,loa1.loa.TAirLvg.T,loa1.loa.coi.heaCoo.vol.dynBal.U,loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coi.heaCooHum_u.vol.dynBal.U,loa1.loa.coi.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.ctl.conPID.I.y,loa1.loa.coiNom.heaCoo.vol.dynBal.U,loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.Xi[1],loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.T,loa1.loa.coiNom.dryWetCalcs.fullyWet.TWatOutEst,loa1.loa.TLiqEnt.T,loa1.loa.TLiqLvg.T,loa1.loa.TAirLvgNom.T,loa1.con.val.valEquLin.vol.dynBal.U,loa1.con.val.valEquLin.filter.s[1],loa1.con.val.valEquLin.filter.s[2],loa1.con.jun.vol.dynBal.U,resT2.conPID.I.y) * Number of discrete variables: 44 (con.ctl.cha.y,isEna.y,loa.loa.ctl.cha.y,loa1.loa.ctl.cha.y,resT2.cha.y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mode.y[1],mode.idx,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.y,con.isEna.y,loa.loa.ctl.cha.u,loa.loa.ctl.cha.up,loa.loa.ctl.cha.down,loa.loa.ctl.isDis.y,loa.loa.ctl.addPar.y,loa.loa.addPar.y,loa1.loa.ctl.cha.u,loa1.loa.ctl.cha.up,loa1.loa.ctl.cha.down,loa1.loa.ctl.isDis.y,loa1.loa.ctl.addPar.y,loa1.loa.addPar.y,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,resT2.cha.u,resT2.cha.up,resT2.cha.down,resT2.isDis.y,resT2.addPar.y) * Number of discrete states: 6 (fraLoa.tab.nextTimeEvent,resT2.cha.u,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,loa.loa.ctl.cha.u,con.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (939): * Single equations (assignments): 892 * Array equations: 0 * Algorithm blocks: 9 * Record equations: 25 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 9 systems {(1,1), (1,1), (1,1), (1,1), (1,2), (1,2), (1,2), (1,2), (4,33)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009429/9.759, allocations: 3.683 MB / 3.345 GB, free: 0.7432 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.09625/9.855, allocations: 33.44 MB / 3.377 GB, free: 0.7102 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 3.413e-05/9.856, allocations: 12.47 kB / 3.378 GB, free: 0.7102 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.02379/9.879, allocations: 9.007 MB / 3.386 GB, free: 0.7012 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1487/10.03, allocations: 10.65 MB / 3.397 GB, free: 0.691 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1092/10.14, allocations: 49.21 MB / 3.445 GB, free: 0.6427 GB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02313/10.16, allocations: 9.122 MB / 3.454 GB, free: 0.6337 GB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01254/10.17, allocations: 1.717 MB / 3.455 GB, free: 0.632 GB / 1.92 GB Notification: Performance of SimCode: time 2.695e-06/10.17, allocations: 0 / 3.455 GB, free: 0.632 GB / 1.92 GB Notification: Performance of Templates: time 4.165/14.34, allocations: 1.945 GB / 5.401 GB, free: 0.7769 GB / 1.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.makefile make -j1 -f Buildings_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12320:53: error: use of undeclared identifier '_mode_P_timeStamps__1' _timeEventData[0] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__1), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12322:53: error: use of undeclared identifier '_mode_P_timeStamps__2' _timeEventData[1] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__2), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12324:53: error: use of undeclared identifier '_mode_P_timeStamps__3' _timeEventData[2] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__3), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12326:53: error: use of undeclared identifier '_mode_P_timeStamps__4' _timeEventData[3] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__4), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12328:53: error: use of undeclared identifier '_mode_P_timeStamps__5' _timeEventData[4] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__5), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturn.cpp:12330:53: error: use of undeclared identifier '_mode_P_timeStamps__6' _timeEventData[5] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__6), _mode_P_period_); ^ 6 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantReturnCalcHelperMain.o] Error 1