Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.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.PassiveNetworks.Examples.DualMixing,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|con.pum.m_flow|con.mPum_flow_nominal|con.val.m1_flow|con.val.m2_flow|con.val.m3_flow|con.val.m_flow_nominal|con.res3.m_flow|con.res3.m_flow_nominal|mode.y.1.|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|con.dpPum_nominal|con.pum.dpMachine|con.val.dp1|con.val.dpValve_nominal|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing") translateModel(Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing,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|con.pum.m_flow|con.mPum_flow_nominal|con.val.m1_flow|con.val.m2_flow|con.val.m3_flow|con.val.m_flow_nominal|con.res3.m_flow|con.res3.m_flow_nominal|mode.y.1.|fraLoa.y.1.|fraLoa.y.2.|loa.yLoa_actual|loa1.yLoa_actual|loa.con.val.y_actual|loa1.con.val.y_actual|con.dpPum_nominal|con.pum.dpMachine|con.val.dp1|con.val.dpValve_nominal|con.pum.y_actual",fileNamePrefix="Buildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, 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.001643/0.001643, allocations: 181.4 kB / 16.92 MB, free: 6.711 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.527/1.527, allocations: 223.3 MB / 241 MB, free: 5.336 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.82/2.82, allocations: 437.8 MB / 0.7128 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.0003813, allocations: 12 kB / 0.8735 GB, free: 3.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7376/0.738, allocations: 153.8 MB / 1.024 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing): time 2.992/3.73, allocations: 1.178 GB / 2.201 GB, free: 0 / 1.389 GB Notification: Performance of NFInst.instExpressions: time 1.534/5.264, allocations: 188.8 MB / 2.386 GB, free: 41.16 MB / 1.482 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06168/5.326, allocations: 0.8758 MB / 2.386 GB, free: 41.16 MB / 1.482 GB Notification: Performance of NFTyping.typeComponents: time 0.04972/5.376, allocations: 17.85 MB / 2.404 GB, free: 41.01 MB / 1.482 GB Notification: Performance of NFTyping.typeBindings: time 0.1111/5.487, allocations: 29.53 MB / 2.433 GB, free: 39.82 MB / 1.482 GB Notification: Performance of NFTyping.typeClassSections: time 0.06053/5.548, allocations: 19.11 MB / 2.451 GB, free: 39.36 MB / 1.482 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.002008867139553991, 0.004017734279107983, 0.00547243117326777}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.1273/5.675, allocations: 83.39 MB / 2.533 GB, free: 22.56 MB / 1.482 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04336/5.718, allocations: 17.43 MB / 2.55 GB, free: 13.14 MB / 1.482 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05832/5.777, allocations: 17.43 MB / 2.567 GB, free: 14.78 MB / 1.498 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03966/5.816, allocations: 14.95 MB / 2.582 GB, free: 1.16 MB / 1.498 GB Notification: Performance of NFPackage.collectConstants: time 0.009731/5.826, allocations: 0.7812 MB / 2.582 GB, free: 388 kB / 1.498 GB Notification: Performance of NFFlatten.collectFunctions: time 0.06066/5.887, allocations: 18.1 MB / 2.6 GB, free: 15.98 MB / 1.529 GB Notification: Performance of NFScalarize.scalarize: time 0.01416/5.901, allocations: 4.817 MB / 2.605 GB, free: 11.3 MB / 1.529 GB Notification: Performance of NFVerifyModel.verify: time 0.04007/5.941, allocations: 11.56 MB / 2.616 GB, free: 15.8 MB / 1.545 GB Notification: Performance of NFConvertDAE.convert: time 0.06953/6.011, allocations: 42.2 MB / 2.657 GB, free: 6.785 MB / 1.576 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/6.011, allocations: 0 / 2.657 GB, free: 6.785 MB / 1.576 GB Notification: Performance of FrontEnd: time 6.152e-06/6.011, allocations: 0 / 2.657 GB, free: 6.785 MB / 1.576 GB Notification: Performance of Transformations before backend: time 0.001674/6.013, allocations: 3.938 kB / 2.657 GB, free: 6.781 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: 3422 * Number of variables: 3422 Notification: Performance of Generate backend data structure: time 0.07402/6.087, allocations: 20.53 MB / 2.677 GB, free: 2.203 MB / 1.592 GB Notification: Performance of prepare preOptimizeDAE: time 5.337e-05/6.087, allocations: 8.031 kB / 2.677 GB, free: 2.195 MB / 1.592 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0646/6.151, allocations: 9.42 MB / 2.686 GB, free: 8.766 MB / 1.607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06336/6.215, allocations: 25.03 MB / 2.711 GB, free: 80 kB / 1.623 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002036/6.217, allocations: 1.196 MB / 2.712 GB, free: 14.86 MB / 1.639 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00737/6.224, allocations: 1.409 MB / 2.713 GB, free: 13.46 MB / 1.639 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.075/6.299, allocations: 19.65 MB / 2.733 GB, free: 9.586 MB / 1.654 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009884/6.3, allocations: 15.84 kB / 2.733 GB, free: 9.57 MB / 1.654 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006461/6.307, allocations: 0.5494 MB / 2.733 GB, free: 9.027 MB / 1.654 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006971/6.307, allocations: 0.523 MB / 2.734 GB, free: 8.504 MB / 1.654 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07001/6.377, allocations: 20.03 MB / 2.753 GB, free: 4.457 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.1991/6.577, allocations: 92.79 MB / 2.844 GB, free: 4.762 MB / 1.764 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03278/6.609, allocations: 12.06 MB / 2.856 GB, free: 8.562 MB / 1.779 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02287/6.632, allocations: 7.439 MB / 2.863 GB, free: 1.109 MB / 1.779 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 evalFunc (simulation): time 0.08548/6.718, allocations: 32.31 MB / 2.894 GB, free: 15.96 MB / 1.826 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02569/6.744, allocations: 7.255 MB / 2.901 GB, free: 8.672 MB / 1.826 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01363/6.757, allocations: 0.9816 MB / 2.902 GB, free: 7.684 MB / 1.826 GB Notification: Performance of pre-optimization done (n=823): time 4.96e-05/6.757, allocations: 7.938 kB / 2.902 GB, free: 7.676 MB / 1.826 GB Notification: Performance of matching and sorting (n=847): time 0.1565/6.914, allocations: 39.16 MB / 2.941 GB, free: 276 kB / 1.857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.7609/7.675, allocations: 377.6 kB / 2.941 GB, free: 0.9806 GB / 1.857 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.05762/7.733, allocations: 17.57 MB / 2.958 GB, free: 0.9758 GB / 1.857 GB Notification: Performance of collectPreVariables (initialization): time 0.003363/7.736, allocations: 234.1 kB / 2.958 GB, free: 0.9756 GB / 1.857 GB Notification: Performance of collectInitialEqns (initialization): time 0.01432/7.75, allocations: 9.285 MB / 2.968 GB, free: 0.9707 GB / 1.857 GB Notification: Performance of collectInitialBindings (initialization): time 0.005737/7.756, allocations: 2.909 MB / 2.97 GB, free: 0.9701 GB / 1.857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004051/7.76, allocations: 1.097 MB / 2.971 GB, free: 0.9696 GB / 1.857 GB Notification: Performance of setup shared object (initialization): time 6.739e-05/7.76, allocations: 301.1 kB / 2.972 GB, free: 0.9693 GB / 1.857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02389/7.784, allocations: 7.568 MB / 2.979 GB, free: 0.9664 GB / 1.857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02552/7.81, allocations: 11.01 MB / 2.99 GB, free: 0.9598 GB / 1.857 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.2097/8.019, allocations: 61.88 MB / 3.05 GB, free: 0.9379 GB / 1.857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.33e-05/8.02, allocations: 22.69 kB / 3.05 GB, free: 0.9379 GB / 1.857 GB Notification: Performance of matching and sorting (n=1604) (initialization): time 0.0659/8.085, allocations: 21.96 MB / 3.072 GB, free: 0.9204 GB / 1.857 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/8.087, allocations: 2.64 MB / 3.074 GB, free: 0.9169 GB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001123/8.087, allocations: 79.94 kB / 3.074 GB, free: 0.9168 GB / 1.857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007224/8.094, allocations: 2.334 MB / 3.077 GB, free: 0.9145 GB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01968/8.114, allocations: 3.502 MB / 3.08 GB, free: 0.9111 GB / 1.857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01979/8.134, allocations: 24.6 MB / 3.104 GB, free: 0.8856 GB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02662/8.16, allocations: 1.947 MB / 3.106 GB, free: 0.8837 GB / 1.857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003853/8.164, allocations: 0.6753 MB / 3.107 GB, free: 0.8831 GB / 1.857 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/8.164, allocations: 4 kB / 3.107 GB, free: 0.8831 GB / 1.857 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06054/8.225, allocations: 19.95 MB / 3.126 GB, free: 0.8635 GB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002497/8.225, allocations: 76.22 kB / 3.126 GB, free: 0.8634 GB / 1.857 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006905/8.232, allocations: 2.262 MB / 3.128 GB, free: 0.8611 GB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01978/8.252, allocations: 3.462 MB / 3.132 GB, free: 0.8578 GB / 1.857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02689/8.279, allocations: 29.05 MB / 3.16 GB, free: 0.8277 GB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02557/8.304, allocations: 1.878 MB / 3.162 GB, free: 0.8259 GB / 1.857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00391/8.308, allocations: 0.6519 MB / 3.163 GB, free: 0.8252 GB / 1.857 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: 347 * Number of states: 0 () * Number of discrete variables: 73 ($PRE.fraLoa.tab.nextTimeEvent,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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.loa1.loa.ctl.cha.u,$PRE.mode.idx,$PRE.mode.y[1],$PRE.loa.loa.ctl.cha.u,$PRE.con.ctl.cha.u,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,fraLoa.tab.nextTimeEventScaled,$PRE.fraLoa.tab.nextTimeEventScaled,fraLoa.tab.nextTimeEvent,mode.idx,mode.y[1],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,con.ctl.addPar.y,con.ctl.isDis.y,con.ctl.cha.down,con.ctl.cha.up,con.ctl.cha.y,con.ctl.cha.u,con.pum.y1,$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 (1478): * Single equations (assignments): 1442 * Array equations: 9 * Algorithm blocks: 7 * Record equations: 1 * 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), (3,21), (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.01606/8.325, allocations: 5.288 MB / 3.168 GB, free: 0.82 GB / 1.857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006585/8.331, allocations: 1.782 MB / 3.17 GB, free: 0.8183 GB / 1.857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05659/8.388, allocations: 16.74 MB / 3.186 GB, free: 0.8019 GB / 1.857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001367/8.388, allocations: 99.92 kB / 3.186 GB, free: 0.8018 GB / 1.857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/8.388, allocations: 4 kB / 3.186 GB, free: 0.8018 GB / 1.857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04392/8.432, allocations: 13.47 MB / 3.199 GB, free: 0.7886 GB / 1.857 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.1027/8.535, allocations: 43.87 MB / 3.242 GB, free: 0.7453 GB / 1.857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001171/8.535, allocations: 28 kB / 3.242 GB, free: 0.7453 GB / 1.857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01334/8.548, allocations: 2.175 MB / 3.244 GB, free: 0.7431 GB / 1.857 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003742/8.552, allocations: 0.9458 MB / 3.245 GB, free: 0.7422 GB / 1.857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002575/8.555, allocations: 319.8 kB / 3.245 GB, free: 0.7419 GB / 1.857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007074/8.562, allocations: 9.274 MB / 3.254 GB, free: 0.7322 GB / 1.857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.127e-05/8.562, allocations: 43.81 kB / 3.254 GB, free: 0.7321 GB / 1.857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06849/8.63, allocations: 25.52 MB / 3.279 GB, free: 0.7066 GB / 1.857 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01386/8.644, allocations: 4.316 MB / 3.284 GB, free: 0.7023 GB / 1.857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007935/8.652, allocations: 236 kB / 3.284 GB, free: 0.7021 GB / 1.857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02132/8.674, allocations: 1.426 MB / 3.285 GB, free: 0.7007 GB / 1.857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002443/8.676, allocations: 0.6414 MB / 3.286 GB, free: 0.7001 GB / 1.857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00237/8.678, allocations: 479.6 kB / 3.286 GB, free: 0.6996 GB / 1.857 GB Notification: Performance of sorting global known variables: time 0.02819/8.707, allocations: 11.8 MB / 3.298 GB, free: 0.6882 GB / 1.857 GB Notification: Performance of sort global known variables: time 7.62e-07/8.707, allocations: 0 / 3.298 GB, free: 0.6882 GB / 1.857 GB Notification: Performance of remove unused functions: time 0.05077/8.757, allocations: 8.582 MB / 3.306 GB, free: 0.68 GB / 1.857 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 123 * Number of states: 50 (T1Ret.T,T1Sup.T,del1.dynBal.U,con.val.valEquLin.vol.dynBal.U,con.val.valEquLin.filter.s[1],con.val.valEquLin.filter.s[2],con.jun.vol.dynBal.U,con.pum.pumSpe.vol.dynBal.U,con.pum.pumSpe.filter.s[1],con.pum.pumSpe.filter.s[2],con.T2Sup.T,con.junBypSup.vol.dynBal.U,con.junBypRet.vol.dynBal.U,con.T2Ret.T,con.ctl.conPID.I.y,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,del2.dynBal.U) * Number of discrete variables: 37 (loa.loa.ctl.cha.y,con.ctl.cha.y,loa1.loa.ctl.cha.y,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,con.pum.y1,con.ctl.cha.u,con.ctl.cha.up,con.ctl.cha.down,con.ctl.isDis.y,con.ctl.addPar.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,mode.y[1],mode.idx,fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,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) * Number of discrete states: 5 (fraLoa.tab.nextTimeEvent,fraLoa.tab.nextTimeEventScaled,loa1.loa.ctl.cha.u,con.ctl.cha.u,loa.loa.ctl.cha.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (892): * Single equations (assignments): 849 * Array equations: 0 * Algorithm blocks: 7 * Record equations: 23 * 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), (3,22), (1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009431/8.767, allocations: 3.704 MB / 3.31 GB, free: 0.6768 GB / 1.857 GB Notification: Performance of simCode: created initialization part: time 0.08213/8.849, allocations: 29.77 MB / 3.339 GB, free: 0.6474 GB / 1.857 GB Notification: Performance of simCode: created event and clocks part: time 3.469e-05/8.849, allocations: 14.75 kB / 3.339 GB, free: 0.6474 GB / 1.857 GB Notification: Performance of simCode: created simulation system equations: time 0.02201/8.871, allocations: 8.808 MB / 3.348 GB, free: 0.6387 GB / 1.857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1508/9.022, allocations: 10.53 MB / 3.358 GB, free: 0.6286 GB / 1.857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09485/9.117, allocations: 47.28 MB / 3.404 GB, free: 0.582 GB / 1.857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01695/9.134, allocations: 8.671 MB / 3.412 GB, free: 0.5735 GB / 1.857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01003/9.144, allocations: 1.628 MB / 3.414 GB, free: 0.5719 GB / 1.857 GB Notification: Performance of SimCode: time 1.904e-06/9.144, allocations: 8 kB / 3.414 GB, free: 0.5719 GB / 1.857 GB Notification: Performance of Templates: time 3.796/12.94, allocations: 1.889 GB / 5.303 GB, free: 0.6522 GB / 1.858 GB make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.makefile make -j1 -f Buildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.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.PassiveNetworks.Examples.DualMixingCalcHelperMain.o OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.cpp In file included from OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.cpp:33: ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.cpp:11698: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.PassiveNetworks.Examples.DualMixing.cpp:11700: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.PassiveNetworks.Examples.DualMixing.cpp:11702: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.PassiveNetworks.Examples.DualMixing.cpp:11704: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.PassiveNetworks.Examples.DualMixing.cpp:11706: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.PassiveNetworks.Examples.DualMixing.cpp:11708: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_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.cpp:11710:53: error: use of undeclared identifier '_mode_P_timeStamps__7' _timeEventData[6] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__7), _mode_P_period_); ^ ./OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.cpp:11712:53: error: use of undeclared identifier '_mode_P_timeStamps__8' _timeEventData[7] = std::make_pair((_mode_P_t0_ + _mode_P_timeStamps__8), _mode_P_period_); ^ 8 errors generated. make: *** [: OMCppBuildings_10_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.o] Error 1