Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.386/4.386, allocations: 464.6 MB / 476.8 MB, free: 2.199 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 5.962e-05/5.979e-05, allocations: 11.94 kB / 0.5732 GB, free: 5.645 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.248/0.2481, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.191/8.439, allocations: 2.497 GB / 3.175 GB, free: 243.5 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002794/8.439, allocations: 94.52 kB / 3.175 GB, free: 243.5 MB / 0.8855 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings latest/Fluid/Movers/BaseClasses/IdealSource.mo:14:3-22:27:writable] Error: The conditional expression control_m_flow could not be evaluated. Notification: Performance of FrontEnd - DAE generated: time 48.67/57.11, allocations: 9.001 GB / 12.18 GB, free: 42.36 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.155e-06/57.11, allocations: 0 / 12.18 GB, free: 42.36 MB / 1.01 GB Notification: Performance of Transformations before backend: time 0.005868/57.12, allocations: 395.3 kB / 12.18 GB, free: 42.27 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3034 * Number of variables: 3034 Notification: Performance of Generate backend data structure: time 0.07815/57.2, allocations: 15.96 MB / 12.19 GB, free: 36.86 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/57.2, allocations: 8.031 kB / 12.19 GB, free: 36.86 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0108/57.21, allocations: 1.758 MB / 12.19 GB, free: 36.74 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03441/57.24, allocations: 3.588 MB / 12.2 GB, free: 35.76 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09985/57.34, allocations: 28.77 MB / 12.23 GB, free: 33.05 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001601/57.34, allocations: 0.8896 MB / 12.23 GB, free: 33.02 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007972/57.35, allocations: 1.215 MB / 12.23 GB, free: 33 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07771/57.43, allocations: 21.56 MB / 12.25 GB, free: 21.08 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000952/57.43, allocations: 38.59 kB / 12.25 GB, free: 21.05 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007596/57.44, allocations: 496 kB / 12.25 GB, free: 20.56 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008479/57.44, allocations: 0.541 MB / 12.25 GB, free: 20.06 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06466/57.5, allocations: 19.7 MB / 12.27 GB, free: 2.617 MB / 1.01 GB Warning: The model contains alias variables with conflicting start and/or 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 2.503/60.01, allocations: 93.99 MB / 12.36 GB, free: 48.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0356/60.04, allocations: 13.78 MB / 12.37 GB, free: 47.91 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02203/60.06, allocations: 8.573 MB / 12.38 GB, free: 47.82 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002357/60.07, allocations: 0.9885 MB / 12.38 GB, free: 46.88 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02111/60.09, allocations: 7.199 MB / 12.39 GB, free: 46.7 MB / 1.042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.018/60.11, allocations: 1.579 MB / 12.39 GB, free: 46.56 MB / 1.042 GB Notification: Performance of pre-optimization done (n=711): time 3.769e-05/60.11, allocations: 0 / 12.39 GB, free: 46.56 MB / 1.042 GB Notification: Performance of matching and sorting (n=723): time 0.116/60.22, allocations: 29.72 MB / 12.42 GB, free: 43.32 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001434/60.22, allocations: 256.7 kB / 12.42 GB, free: 43.1 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04656/60.27, allocations: 15.6 MB / 12.44 GB, free: 42.48 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 0.003173/60.27, allocations: 188 kB / 12.44 GB, free: 42.45 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 0.01647/60.29, allocations: 7.202 MB / 12.44 GB, free: 40.98 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 0.006516/60.3, allocations: 2.61 MB / 12.45 GB, free: 39.71 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002135/60.3, allocations: 152.6 kB / 12.45 GB, free: 39.71 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 0.001087/60.3, allocations: 0.6688 MB / 12.45 GB, free: 39.39 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01643/60.31, allocations: 6.235 MB / 12.45 GB, free: 39.37 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02009/60.34, allocations: 8.58 MB / 12.46 GB, free: 37.32 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02099/60.36, allocations: 8.181 MB / 12.47 GB, free: 37.17 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.945e-05/60.36, allocations: 11.09 kB / 12.47 GB, free: 37.17 MB / 1.042 GB Notification: Performance of matching and sorting (n=950) (initialization): time 0.05087/60.41, allocations: 15.94 MB / 12.48 GB, free: 36.32 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.01174/60.42, allocations: 20.77 MB / 12.51 GB, free: 46.91 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001928/60.42, allocations: 36.41 kB / 12.51 GB, free: 46.91 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/60.42, allocations: 491.9 kB / 12.51 GB, free: 46.91 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01779/60.44, allocations: 1.99 MB / 12.51 GB, free: 46.91 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/60.45, allocations: 6.217 MB / 12.51 GB, free: 44.93 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03063/60.48, allocations: 2.163 MB / 12.52 GB, free: 44.83 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003011/60.48, allocations: 297.9 kB / 12.52 GB, free: 44.83 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/60.48, allocations: 5.812 kB / 12.52 GB, free: 44.83 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04512/60.53, allocations: 14.92 MB / 12.53 GB, free: 44.6 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000175/60.53, allocations: 35.81 kB / 12.53 GB, free: 44.6 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00201/60.53, allocations: 489.1 kB / 12.53 GB, free: 44.59 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01806/60.55, allocations: 1.981 MB / 12.53 GB, free: 44.59 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0112/60.56, allocations: 5.631 MB / 12.54 GB, free: 43.21 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03028/60.59, allocations: 2.123 MB / 12.54 GB, free: 43.12 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003089/60.59, allocations: 300.5 kB / 12.54 GB, free: 43.12 MB / 1.073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,$PRE.mot.uppHys.y,mot.uppHys.y,$PRE.mot.lowHys.y,mot.lowHys.y,mot.int.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (921): * Single equations (assignments): 918 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006304/60.6, allocations: 0.5821 MB / 12.54 GB, free: 42.96 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007184/60.61, allocations: 1.174 MB / 12.54 GB, free: 42.36 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05106/60.66, allocations: 15.08 MB / 12.56 GB, free: 41.93 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-05/60.66, allocations: 74.59 kB / 12.56 GB, free: 41.93 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.389e-05/60.66, allocations: 3.688 kB / 12.56 GB, free: 41.93 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03666/60.7, allocations: 12.47 MB / 12.57 GB, free: 41.34 MB / 1.073 GB Warning: The model contains alias variables with conflicting start and/or 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.1231/60.82, allocations: 37.93 MB / 12.61 GB, free: 39.78 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.14e-05/60.82, allocations: 11.22 kB / 12.61 GB, free: 39.78 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0193/60.84, allocations: 2.143 MB / 12.61 GB, free: 39.78 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001871/60.84, allocations: 442.9 kB / 12.61 GB, free: 39.77 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002588/60.84, allocations: 245.5 kB / 12.61 GB, free: 39.77 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01108/60.85, allocations: 6.148 MB / 12.62 GB, free: 37.36 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.727e-06/60.85, allocations: 6.594 kB / 12.62 GB, free: 37.36 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06132/60.92, allocations: 24.76 MB / 12.64 GB, free: 17.6 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01942/60.94, allocations: 4.162 MB / 12.64 GB, free: 13.77 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007419/60.94, allocations: 225.2 kB / 12.64 GB, free: 13.57 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02641/60.97, allocations: 1.777 MB / 12.65 GB, free: 12.49 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002981/60.97, allocations: 447 kB / 12.65 GB, free: 12.22 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002687/60.98, allocations: 263.7 kB / 12.65 GB, free: 12 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.03543/61.01, allocations: 12.36 MB / 12.66 GB, free: 1.508 MB / 1.073 GB Notification: Performance of sort global known variables: time 9.51e-07/61.01, allocations: 0 / 12.66 GB, free: 1.508 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.06676/61.08, allocations: 8.751 MB / 12.67 GB, free: 9.004 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 24 * Number of states: 51 (temSen.T,hex.hexReg[1].ele[1,1].vol1.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.U,hex.hexReg[1].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,1].mas.T,hex.hexReg[1].ele[1,2].vol1.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.U,hex.hexReg[1].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,2].mas.T,hex.hexReg[1].ele[1,3].vol1.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.U,hex.hexReg[1].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[1].ele[1,3].mas.T,hex.hexReg[2].ele[1,1].vol1.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.U,hex.hexReg[2].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,1].mas.T,hex.hexReg[2].ele[1,2].vol1.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.U,hex.hexReg[2].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,2].mas.T,hex.hexReg[2].ele[1,3].vol1.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.U,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T,hex.hexReg[3].ele[1,1].vol1.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.U,hex.hexReg[3].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,1].mas.T,hex.hexReg[3].ele[1,2].vol1.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.U,hex.hexReg[3].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,2].mas.T,hex.hexReg[3].ele[1,3].vol1.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.U,hex.hexReg[3].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[3].ele[1,3].mas.T,hex.hexReg[4].ele[1,1].vol1.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.U,hex.hexReg[4].ele[1,1].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,1].mas.T,hex.hexReg[4].ele[1,2].vol1.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.U,hex.hexReg[4].ele[1,2].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,2].mas.T,hex.hexReg[4].ele[1,3].vol1.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.U,hex.hexReg[4].ele[1,3].vol2.dynBal.m,hex.hexReg[4].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[4].ele[1,3].mas.T,mot.int.y) * Number of discrete variables: 8 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled,mot.uppHys.y,mot.lowHys.y) * Number of discrete states: 8 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1,mot.uppHys.y,mot.lowHys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (705): * Single equations (assignments): 698 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.08372/61.16, allocations: 30.65 MB / 12.7 GB, free: 14.55 MB / 1.12 GB Notification: Performance of simCode: created initialization part: time 1.084/62.24, allocations: 23.46 MB / 12.72 GB, free: 156.9 MB / 1.12 GB Notification: Performance of simCode: created event and clocks part: time 3.257e-05/62.25, allocations: 9.906 kB / 12.72 GB, free: 156.9 MB / 1.12 GB Notification: Performance of simCode: created simulation system equations: time 0.02152/62.27, allocations: 6.9 MB / 12.73 GB, free: 156.7 MB / 1.12 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08144/62.35, allocations: 9.32 MB / 12.74 GB, free: 156.6 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1886/62.54, allocations: 46.55 MB / 12.78 GB, free: 151.2 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03355/62.57, allocations: 13.08 MB / 12.79 GB, free: 150.2 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.09908/62.67, allocations: 23.88 MB / 12.82 GB, free: 150 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02411/62.69, allocations: 6.395 MB / 12.82 GB, free: 150 MB / 1.12 GB Notification: Performance of SimCode: time 1.693e-06/62.69, allocations: 0 / 12.82 GB, free: 150 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.195/64.89, allocations: 0.5453 GB / 13.37 GB, free: 133.8 MB / 1.136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000352/64.89, allocations: 252.3 kB / 13.37 GB, free: 133.5 MB / 1.136 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.82/92.71, allocations: 0 / 13.37 GB, free: 133.5 MB / 1.136 GB