Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.0008546/0.0008546, allocations: 98.72 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.001327/0.001327, allocations: 180.3 kB / 16.92 MB, free: 6.918 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.467/1.467, 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.742/2.742, allocations: 437.8 MB / 0.7128 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003772/0.0003775, allocations: 12 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8877/0.8881, allocations: 153.8 MB / 1.024 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant): time 2.967/3.855, allocations: 1.139 GB / 2.162 GB, free: 13.94 MB / 1.373 GB Notification: Performance of NFInst.instExpressions: time 1.796/5.651, allocations: 194.9 MB / 2.353 GB, free: 28.34 MB / 1.514 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0638/5.714, allocations: 0.893 MB / 2.353 GB, free: 28.34 MB / 1.514 GB Notification: Performance of NFTyping.typeComponents: time 0.06031/5.775, allocations: 22 MB / 2.375 GB, free: 28.17 MB / 1.514 GB Notification: Performance of NFTyping.typeBindings: time 0.1129/5.888, allocations: 29.39 MB / 2.404 GB, free: 27.55 MB / 1.514 GB Notification: Performance of NFTyping.typeClassSections: time 0.06062/5.948, allocations: 18.96 MB / 2.422 GB, free: 27.19 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.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.1555/6.104, allocations: 88.96 MB / 2.509 GB, free: 20.73 MB / 1.514 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04954/6.153, allocations: 17.74 MB / 2.526 GB, free: 15.17 MB / 1.514 GB Notification: Performance of NFEvalConstants.evaluate: time 0.06511/6.219, allocations: 17.49 MB / 2.543 GB, free: 12.18 MB / 1.514 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04465/6.263, allocations: 15.16 MB / 2.558 GB, free: 4.852 MB / 1.514 GB Notification: Performance of NFPackage.collectConstants: time 0.01181/6.275, allocations: 0.8047 MB / 2.559 GB, free: 4.047 MB / 1.514 GB Notification: Performance of NFFlatten.collectFunctions: time 0.07462/6.35, allocations: 18.15 MB / 2.577 GB, free: 6.926 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01857/6.368, allocations: 5.125 MB / 2.582 GB, free: 3.02 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.04373/6.412, allocations: 11.93 MB / 2.593 GB, free: 10.66 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.08213/6.494, allocations: 42.96 MB / 2.635 GB, free: 6.211 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/6.495, allocations: 4 kB / 2.635 GB, free: 6.207 MB / 1.576 GB Notification: Performance of FrontEnd: time 4.058e-06/6.495, allocations: 0 / 2.635 GB, free: 6.207 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.001767/6.496, allocations: 0 / 2.635 GB, free: 6.207 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.07498/6.571, allocations: 21.41 MB / 2.656 GB, free: 2.023 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/6.571, allocations: 12.03 kB / 2.656 GB, free: 2.012 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06579/6.637, allocations: 9.591 MB / 2.666 GB, free: 8.41 MB / 1.607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07034/6.708, allocations: 25.73 MB / 2.691 GB, free: 15.04 MB / 1.639 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002893/6.711, allocations: 1.227 MB / 2.692 GB, free: 13.8 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009647/6.72, allocations: 1.474 MB / 2.693 GB, free: 12.33 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07962/6.8, allocations: 20.49 MB / 2.713 GB, free: 7.617 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007897/6.801, allocations: 19.78 kB / 2.713 GB, free: 7.598 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006733/6.807, allocations: 0.5611 MB / 2.714 GB, free: 7.043 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006421/6.808, allocations: 0.5342 MB / 2.714 GB, free: 6.508 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07468/6.883, allocations: 20.88 MB / 2.735 GB, free: 1.617 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.2246/7.107, allocations: 95.58 MB / 2.828 GB, free: 15.28 MB / 1.779 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0407/7.148, allocations: 13.93 MB / 2.842 GB, free: 1.352 MB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02562/7.174, allocations: 8.209 MB / 2.85 GB, free: 9.133 MB / 1.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09927/7.273, allocations: 34.55 MB / 2.884 GB, free: 5.723 MB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03055/7.304, allocations: 8.322 MB / 2.892 GB, free: 13.36 MB / 1.842 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01576/7.32, allocations: 1.151 MB / 2.893 GB, free: 12.2 MB / 1.842 GB Notification: Performance of pre-optimization done (n=893): time 7.516e-05/7.32, allocations: 0 / 2.893 GB, free: 12.2 MB / 1.842 GB Notification: Performance of matching and sorting (n=917): time 0.187/7.507, allocations: 42.87 MB / 2.935 GB, free: 1.117 MB / 1.873 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004082/7.507, allocations: 0.5313 MB / 2.935 GB, free: 492 kB / 1.873 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.06445/7.572, allocations: 18.88 MB / 2.954 GB, free: 13.73 MB / 1.904 GB Notification: Performance of collectPreVariables (initialization): time 0.004543/7.576, allocations: 261.7 kB / 2.954 GB, free: 13.46 MB / 1.904 GB Notification: Performance of collectInitialEqns (initialization): time 0.01986/7.596, allocations: 9.604 MB / 2.963 GB, free: 3.906 MB / 1.904 GB Notification: Performance of collectInitialBindings (initialization): time 0.008228/7.604, allocations: 3.136 MB / 2.966 GB, free: 0.7969 MB / 1.904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.007222/7.612, allocations: 1.206 MB / 2.967 GB, free: 15.58 MB / 1.92 GB Notification: Performance of setup shared object (initialization): time 0.0001303/7.612, allocations: 305.1 kB / 2.968 GB, free: 15.28 MB / 1.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03062/7.643, allocations: 8.871 MB / 2.976 GB, free: 6.41 MB / 1.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.935/8.578, allocations: 12.15 MB / 2.988 GB, free: 1.025 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: Performance of analyzeInitialSystem (initialization): time 0.2937/8.871, allocations: 73.24 MB / 3.06 GB, free: 1.009 GB / 1.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002963/8.872, allocations: 18.41 kB / 3.06 GB, free: 1.009 GB / 1.92 GB Notification: Performance of matching and sorting (n=1731) (initialization): time 0.09226/8.964, allocations: 24.78 MB / 3.084 GB, free: 0.9997 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 0.00227/8.966, allocations: 2.398 MB / 3.086 GB, free: 0.9967 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002782/8.967, allocations: 64.47 kB / 3.086 GB, free: 0.9967 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009104/8.976, allocations: 2.604 MB / 3.089 GB, free: 0.9958 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02407/9, allocations: 3.754 MB / 3.093 GB, free: 0.9955 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02257/9.023, allocations: 24.8 MB / 3.117 GB, free: 0.9709 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02939/9.052, allocations: 2.293 MB / 3.119 GB, free: 0.9687 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004557/9.057, allocations: 0.7159 MB / 3.12 GB, free: 0.968 GB / 1.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/9.057, allocations: 6.031 kB / 3.12 GB, free: 0.968 GB / 1.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06977/9.126, allocations: 22.57 MB / 3.142 GB, free: 0.9459 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002751/9.127, allocations: 64 kB / 3.142 GB, free: 0.9458 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007604/9.134, allocations: 2.574 MB / 3.144 GB, free: 0.9433 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02163/9.156, allocations: 3.712 MB / 3.148 GB, free: 0.9397 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03324/9.189, allocations: 31.29 MB / 3.179 GB, free: 0.9076 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02794/9.217, allocations: 2.11 MB / 3.181 GB, free: 0.9056 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004548/9.222, allocations: 0.7037 MB / 3.181 GB, free: 0.9049 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: 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.0192/9.241, allocations: 5.504 MB / 3.187 GB, free: 0.8995 GB / 1.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007754/9.249, allocations: 1.853 MB / 3.189 GB, free: 0.8987 GB / 1.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06598/9.315, allocations: 18.22 MB / 3.206 GB, free: 0.8809 GB / 1.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/9.315, allocations: 99.98 kB / 3.206 GB, free: 0.8809 GB / 1.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-05/9.315, allocations: 4 kB / 3.206 GB, free: 0.8808 GB / 1.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04829/9.363, allocations: 14.95 MB / 3.221 GB, free: 0.8661 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.1154/9.479, allocations: 46.92 MB / 3.267 GB, free: 0.8201 GB / 1.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001679/9.479, allocations: 24.19 kB / 3.267 GB, free: 0.8201 GB / 1.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01433/9.493, allocations: 2.259 MB / 3.269 GB, free: 0.8179 GB / 1.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004104/9.497, allocations: 1.098 MB / 3.27 GB, free: 0.8168 GB / 1.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003131/9.501, allocations: 331.8 kB / 3.27 GB, free: 0.8164 GB / 1.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/9.509, allocations: 9.537 MB / 3.28 GB, free: 0.8065 GB / 1.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-05/9.509, allocations: 35.86 kB / 3.28 GB, free: 0.8065 GB / 1.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08995/9.599, allocations: 27.36 MB / 3.307 GB, free: 0.7803 GB / 1.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01685/9.616, allocations: 4.544 MB / 3.311 GB, free: 0.7758 GB / 1.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009433/9.625, allocations: 244 kB / 3.311 GB, free: 0.7756 GB / 1.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02522/9.65, allocations: 1.614 MB / 3.313 GB, free: 0.774 GB / 1.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002922/9.653, allocations: 0.6499 MB / 3.313 GB, free: 0.7734 GB / 1.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00316/9.656, allocations: 0.5034 MB / 3.314 GB, free: 0.7729 GB / 1.92 GB Notification: Performance of sorting global known variables: time 0.03491/9.691, allocations: 12.75 MB / 3.326 GB, free: 0.7606 GB / 1.92 GB Notification: Performance of sort global known variables: time 5.1e-07/9.691, allocations: 0 / 3.326 GB, free: 0.7606 GB / 1.92 GB Notification: Performance of remove unused functions: time 0.06252/9.754, allocations: 9.082 MB / 3.335 GB, free: 0.7519 GB / 1.92 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.01113/9.765, allocations: 3.678 MB / 3.339 GB, free: 0.7488 GB / 1.92 GB Notification: Performance of simCode: created initialization part: time 0.09931/9.864, allocations: 33.4 MB / 3.371 GB, free: 0.7159 GB / 1.92 GB Notification: Performance of simCode: created event and clocks part: time 4.076e-05/9.865, allocations: 10.66 kB / 3.371 GB, free: 0.7159 GB / 1.92 GB Notification: Performance of simCode: created simulation system equations: time 0.02501/9.89, allocations: 9.136 MB / 3.38 GB, free: 0.7068 GB / 1.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1505/10.04, allocations: 10.71 MB / 3.391 GB, free: 0.6966 GB / 1.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1135/10.15, allocations: 49.34 MB / 3.439 GB, free: 0.6481 GB / 1.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03006/10.18, allocations: 9.118 MB / 3.448 GB, free: 0.6391 GB / 1.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01713/10.2, allocations: 1.721 MB / 3.45 GB, free: 0.6374 GB / 1.92 GB Notification: Performance of SimCode: time 2.425e-06/10.2, allocations: 0 / 3.45 GB, free: 0.6374 GB / 1.92 GB Notification: Performance of Templates: time 4.224/14.42, allocations: 1.945 GB / 5.394 GB, free: 0.778 GB / 1.92 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstant.makefile make -j1 -f Buildings_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.cpp:33: ./OMCppBuildings_10_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_10_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_10_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_10_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_10_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_10_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_10_Buildings.Fluid.HydronicConfigurations.ActiveNetworks.Examples.InjectionTwoWayConstantCalcHelperMain.o] Error 1