Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001311/0.001311, allocations: 100.1 kB / 15.88 MB, free: 12 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.001419/0.001419, allocations: 200.6 kB / 16.79 MB, free: 6.809 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.383/1.383, allocations: 222.9 MB / 240.5 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.809/2.809, allocations: 461.8 MB / 0.7348 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 69.23 kB / 0.899 GB, free: 37.04 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3291/0.3304, allocations: 157.4 MB / 1.053 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing): time 2.76/3.091, allocations: 1.193 GB / 2.246 GB, free: 7.23 MB / 1.482 GB Notification: Performance of NFInst.instExpressions: time 1.726/4.817, allocations: 190.5 MB / 2.432 GB, free: 50.55 MB / 1.592 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.06134/4.878, allocations: 0.9201 MB / 2.433 GB, free: 50.55 MB / 1.592 GB Notification: Performance of NFTyping.typeComponents: time 0.05497/4.933, allocations: 17.88 MB / 2.451 GB, free: 50.43 MB / 1.592 GB Notification: Performance of NFTyping.typeBindings: time 0.1039/5.037, allocations: 29.54 MB / 2.479 GB, free: 49.39 MB / 1.592 GB Notification: Performance of NFTyping.typeClassSections: time 0.05961/5.097, allocations: 19.05 MB / 2.498 GB, free: 48.95 MB / 1.592 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1088:9-1088: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.1214/5.218, allocations: 83.41 MB / 2.58 GB, free: 43.69 MB / 1.592 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04574/5.264, allocations: 17.94 MB / 2.597 GB, free: 38.03 MB / 1.592 GB Notification: Performance of NFEvalConstants.evaluate: time 0.05841/5.322, allocations: 18.04 MB / 2.615 GB, free: 27.97 MB / 1.592 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03599/5.358, allocations: 15.7 MB / 2.63 GB, free: 13.46 MB / 1.592 GB Notification: Performance of NFPackage.collectConstants: time 0.01054/5.369, allocations: 1.031 MB / 2.631 GB, free: 12.43 MB / 1.592 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0553/5.424, allocations: 18.35 MB / 2.649 GB, free: 11.78 MB / 1.607 GB Notification: Performance of NFScalarize.scalarize: time 0.0135/5.438, allocations: 5.214 MB / 2.654 GB, free: 6.695 MB / 1.607 GB Notification: Performance of NFVerifyModel.verify: time 0.03721/5.475, allocations: 12.07 MB / 2.666 GB, free: 10.68 MB / 1.623 GB Notification: Performance of NFConvertDAE.convert: time 0.06645/5.542, allocations: 43.36 MB / 2.708 GB, free: 0.5273 MB / 1.654 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/5.542, allocations: 3.938 kB / 2.708 GB, free: 0.5234 MB / 1.654 GB Notification: Performance of FrontEnd: time 2.164e-06/5.542, allocations: 0 / 2.708 GB, free: 0.5234 MB / 1.654 GB Notification: Performance of Transformations before backend: time 0.00144/5.543, allocations: 0 / 2.708 GB, free: 0.5234 MB / 1.654 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.09351/5.637, allocations: 25.65 MB / 2.733 GB, free: 6.828 MB / 1.686 GB Notification: Performance of prepare preOptimizeDAE: time 5.976e-05/5.637, allocations: 12.03 kB / 2.733 GB, free: 6.816 MB / 1.686 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06698/5.704, allocations: 9.032 MB / 2.742 GB, free: 13.77 MB / 1.701 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06538/5.769, allocations: 25.02 MB / 2.766 GB, free: 5.094 MB / 1.717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002007/5.771, allocations: 1.196 MB / 2.768 GB, free: 3.879 MB / 1.717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007423/5.779, allocations: 1.412 MB / 2.769 GB, free: 2.473 MB / 1.717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07327/5.852, allocations: 19.53 MB / 2.788 GB, free: 14.73 MB / 1.748 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007333/5.853, allocations: 15.84 kB / 2.788 GB, free: 14.71 MB / 1.748 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006186/5.859, allocations: 0.5495 MB / 2.789 GB, free: 14.17 MB / 1.748 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005727/5.86, allocations: 0.5216 MB / 2.789 GB, free: 13.64 MB / 1.748 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06775/5.927, allocations: 19.79 MB / 2.808 GB, free: 9.844 MB / 1.764 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.1934/6.121, allocations: 92.52 MB / 2.899 GB, free: 10.4 MB / 1.857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03127/6.152, allocations: 11.95 MB / 2.91 GB, free: 14.3 MB / 1.873 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02069/6.173, allocations: 7.347 MB / 2.918 GB, free: 6.953 MB / 1.873 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.08043/6.253, allocations: 32.2 MB / 2.949 GB, free: 5.914 MB / 1.904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02516/6.279, allocations: 7.172 MB / 2.956 GB, free: 14.7 MB / 1.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0148/6.293, allocations: 0.981 MB / 2.957 GB, free: 13.71 MB / 1.92 GB Notification: Performance of pre-optimization done (n=823): time 5.934e-05/6.294, allocations: 0 / 2.957 GB, free: 13.71 MB / 1.92 GB Notification: Performance of matching and sorting (n=847): time 0.1652/6.459, allocations: 38.69 MB / 2.995 GB, free: 6.805 MB / 1.951 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003141/6.459, allocations: 373.4 kB / 2.995 GB, free: 6.371 MB / 1.951 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.05388/6.513, allocations: 17.57 MB / 3.012 GB, free: 4.895 MB / 1.967 GB Notification: Performance of collectPreVariables (initialization): time 0.003767/6.517, allocations: 238.3 kB / 3.013 GB, free: 4.656 MB / 1.967 GB Notification: Performance of collectInitialEqns (initialization): time 0.01693/6.534, allocations: 9.294 MB / 3.022 GB, free: 11.41 MB / 1.982 GB Notification: Performance of collectInitialBindings (initialization): time 0.006924/6.541, allocations: 2.908 MB / 3.024 GB, free: 8.531 MB / 1.982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.01577/6.557, allocations: 2.777 MB / 3.027 GB, free: 5.742 MB / 1.982 GB Notification: Performance of setup shared object (initialization): time 0.0001127/6.557, allocations: 309.1 kB / 3.027 GB, free: 5.438 MB / 1.982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02437/6.581, allocations: 7.531 MB / 3.035 GB, free: 13.89 MB / 1.998 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0305/6.612, allocations: 10.91 MB / 3.045 GB, free: 1.664 MB / 1.998 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.06/7.672, allocations: 60.49 MB / 3.105 GB, free: 1.089 GB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001121/7.672, allocations: 22.44 kB / 3.105 GB, free: 1.089 GB / 2.029 GB Notification: Performance of matching and sorting (n=1604) (initialization): time 0.07581/7.748, allocations: 21.78 MB / 3.126 GB, free: 1.082 GB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.000192/7.748, allocations: 226.7 kB / 3.126 GB, free: 1.082 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001528/7.748, allocations: 79.31 kB / 3.126 GB, free: 1.082 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007197/7.755, allocations: 2.33 MB / 3.128 GB, free: 1.082 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02029/7.776, allocations: 3.489 MB / 3.132 GB, free: 1.081 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02105/7.797, allocations: 24.58 MB / 3.156 GB, free: 1.06 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02678/7.824, allocations: 1.87 MB / 3.158 GB, free: 1.06 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004059/7.828, allocations: 0.6707 MB / 3.158 GB, free: 1.06 GB / 2.029 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.03206/7.86, allocations: 11.77 MB / 3.17 GB, free: 1.054 GB / 2.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.02709/7.887, allocations: 10.7 MB / 3.18 GB, free: 1.048 GB / 2.029 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa.loa.outAir.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start) Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start (loa1.loa.outAir.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.2041/8.091, allocations: 59.37 MB / 3.238 GB, free: 1.023 GB / 2.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 0.0001091/8.091, allocations: 23.98 kB / 3.238 GB, free: 1.023 GB / 2.029 GB Notification: Performance of matching and sorting (n=1604) (initialization_lambda0): time 0.06872/8.16, allocations: 21.38 MB / 3.259 GB, free: 1.003 GB / 2.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001394/8.16, allocations: 231.8 kB / 3.259 GB, free: 1.003 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001226/8.16, allocations: 80 kB / 3.259 GB, free: 1.002 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006728/8.167, allocations: 2.253 MB / 3.262 GB, free: 1 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02023/8.187, allocations: 3.471 MB / 3.265 GB, free: 0.9968 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02702/8.214, allocations: 28.91 MB / 3.293 GB, free: 0.9671 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02722/8.242, allocations: 1.821 MB / 3.295 GB, free: 0.9654 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004123/8.246, allocations: 0.6597 MB / 3.296 GB, free: 0.9647 GB / 2.029 GB Warning: The initial conditions are over specified. The following 4 initial equations are redundant, so they are removed from the initialization_lambda0 system: loa.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0 loa1.loa.coi.heaCooHum_u.vol.dynBal.medium.p = loa1.loa.coi.heaCooHum_u.vol.dynBal.p_start $DER.loa1.loa.coiNom.heaCooHum_u.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 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.006845/8.253, allocations: 1.152 MB / 3.297 GB, free: 0.9636 GB / 2.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007079/8.26, allocations: 1.769 MB / 3.299 GB, free: 0.9628 GB / 2.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05581/8.316, allocations: 16.56 MB / 3.315 GB, free: 0.9466 GB / 2.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001243/8.316, allocations: 91.98 kB / 3.315 GB, free: 0.9465 GB / 2.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/8.316, allocations: 4 kB / 3.315 GB, free: 0.9465 GB / 2.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04604/8.362, allocations: 13.28 MB / 3.328 GB, free: 0.9335 GB / 2.029 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.1126/8.474, allocations: 43.68 MB / 3.37 GB, free: 0.8905 GB / 2.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001927/8.475, allocations: 28.94 kB / 3.37 GB, free: 0.8905 GB / 2.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01358/8.488, allocations: 2.118 MB / 3.373 GB, free: 0.8884 GB / 2.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003785/8.492, allocations: 0.9478 MB / 3.373 GB, free: 0.8875 GB / 2.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002882/8.495, allocations: 323.7 kB / 3.374 GB, free: 0.8871 GB / 2.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00711/8.502, allocations: 9.264 MB / 3.383 GB, free: 0.8775 GB / 2.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.838e-05/8.502, allocations: 43.81 kB / 3.383 GB, free: 0.8774 GB / 2.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06939/8.572, allocations: 25.24 MB / 3.407 GB, free: 0.8523 GB / 2.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01361/8.585, allocations: 4.07 MB / 3.411 GB, free: 0.8483 GB / 2.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008408/8.594, allocations: 236 kB / 3.412 GB, free: 0.8481 GB / 2.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02233/8.616, allocations: 1.369 MB / 3.413 GB, free: 0.8468 GB / 2.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002814/8.619, allocations: 0.6375 MB / 3.414 GB, free: 0.8462 GB / 2.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002252/8.621, allocations: 487.5 kB / 3.414 GB, free: 0.8457 GB / 2.029 GB Notification: Performance of sorting global known variables: time 0.02806/8.649, allocations: 11.8 MB / 3.426 GB, free: 0.8343 GB / 2.029 GB Notification: Performance of sort global known variables: time 5.61e-07/8.649, allocations: 0 / 3.426 GB, free: 0.8343 GB / 2.029 GB Notification: Performance of remove unused functions: time 0.05287/8.702, allocations: 8.588 MB / 3.434 GB, free: 0.8261 GB / 2.029 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.009347/8.712, allocations: 3.499 MB / 3.437 GB, free: 0.8233 GB / 2.029 GB Notification: Performance of simCode: created initialization part: time 0.08276/8.794, allocations: 29.56 MB / 3.466 GB, free: 0.7941 GB / 2.029 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-05/8.795, allocations: 10.56 kB / 3.466 GB, free: 0.7941 GB / 2.029 GB Notification: Performance of simCode: created simulation system equations: time 0.02168/8.816, allocations: 8.723 MB / 3.475 GB, free: 0.7854 GB / 2.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.05911/8.875, allocations: 9.8 MB / 3.484 GB, free: 0.7761 GB / 2.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0989/8.974, allocations: 46.56 MB / 3.53 GB, free: 0.7303 GB / 2.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0219/8.996, allocations: 8.656 MB / 3.538 GB, free: 0.7218 GB / 2.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01042/9.007, allocations: 1.506 MB / 3.54 GB, free: 0.7203 GB / 2.029 GB Notification: Performance of SimCode: time 1.052e-06/9.007, allocations: 3.938 kB / 3.54 GB, free: 0.7203 GB / 2.029 GB Notification: Performance of Templates: time 3.853/12.86, allocations: 1.892 GB / 5.432 GB, free: 1.039 GB / 2.029 GB make -j1 -f Buildings_latest_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixing.makefile make -j1 -f Buildings_latest_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_latest_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.o OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.cpp In file included from OMCppBuildings_latest_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.cpp:33: ./OMCppBuildings_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_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_latest_Buildings.Fluid.HydronicConfigurations.PassiveNetworks.Examples.DualMixingCalcHelperMain.o] Error 1