Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.373/4.373, allocations: 404.1 MB / 411.3 MB, free: 396 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.151e-05/3.147e-05, allocations: 4 kB / 0.4945 GB, free: 1.312 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6775/0.6775, allocations: 92.69 MB / 0.585 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.171/8.849, allocations: 2.465 GB / 3.05 GB, free: 114.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/8.849, allocations: 91.52 kB / 3.05 GB, free: 114.6 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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 54.79/63.64, allocations: 8.825 GB / 11.87 GB, free: 33.03 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.945e-06/63.64, allocations: 0 / 11.87 GB, free: 33.03 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 0.006094/63.64, allocations: 390 kB / 11.88 GB, free: 32.97 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3086 * Number of variables: 3086 Notification: Performance of Generate backend data structure: time 0.08475/63.73, allocations: 15.91 MB / 11.89 GB, free: 27.69 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.516e-05/63.73, allocations: 10.5 kB / 11.89 GB, free: 27.69 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05053/63.78, allocations: 3.569 MB / 11.89 GB, free: 26.73 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1187/63.9, allocations: 31.55 MB / 11.93 GB, free: 8.766 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009621/63.9, allocations: 384 kB / 11.93 GB, free: 8.391 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009402/63.91, allocations: 0.7214 MB / 11.93 GB, free: 7.672 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.09273/64, allocations: 18.88 MB / 11.94 GB, free: 5.617 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 2.015/66.01, allocations: 20.21 MB / 11.96 GB, free: 48.61 MB / 0.9168 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001113/66.01, allocations: 34.98 kB / 11.96 GB, free: 48.61 MB / 0.9168 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00693/66.02, allocations: 16.53 kB / 11.96 GB, free: 48.61 MB / 0.9168 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001064/66.02, allocations: 0.5496 MB / 11.97 GB, free: 48.59 MB / 0.9168 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 0.2577/66.28, allocations: 92.11 MB / 12.05 GB, free: 49 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03617/66.32, allocations: 13.9 MB / 12.07 GB, free: 48.53 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02327/66.34, allocations: 8.401 MB / 12.08 GB, free: 48.42 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00254/66.34, allocations: 0.5818 MB / 12.08 GB, free: 47.94 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02313/66.37, allocations: 7.645 MB / 12.08 GB, free: 47.52 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02121/66.39, allocations: 2.794 MB / 12.09 GB, free: 47.39 MB / 0.948 GB Notification: Performance of pre-optimization done (n=734): time 6.833e-05/66.39, allocations: 0 / 12.09 GB, free: 47.39 MB / 0.948 GB Notification: Performance of matching and sorting (n=758): time 0.2604/66.65, allocations: 56.47 MB / 12.14 GB, free: 22.88 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000495/66.65, allocations: 0.8263 MB / 12.14 GB, free: 21.96 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04257/66.69, allocations: 13.63 MB / 12.16 GB, free: 21.45 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.003045/66.69, allocations: 42.92 kB / 12.16 GB, free: 21.42 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01699/66.71, allocations: 7.273 MB / 12.16 GB, free: 19.81 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.006892/66.72, allocations: 2.633 MB / 12.17 GB, free: 18.12 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002182/66.72, allocations: 0 / 12.17 GB, free: 18.12 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.001357/66.72, allocations: 0.6661 MB / 12.17 GB, free: 17.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01755/66.74, allocations: 6.137 MB / 12.17 GB, free: 17.79 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02022/66.76, allocations: 8.149 MB / 12.18 GB, free: 15.68 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02327/66.78, allocations: 8.123 MB / 12.19 GB, free: 15.57 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001106/66.78, allocations: 9.844 kB / 12.19 GB, free: 15.57 MB / 0.948 GB Notification: Performance of matching and sorting (n=984) (initialization): time 0.05363/66.84, allocations: 15.61 MB / 12.2 GB, free: 14.65 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.008725/66.85, allocations: 21.28 MB / 12.23 GB, free: 8.59 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000248/66.85, allocations: 34.09 kB / 12.23 GB, free: 8.59 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/66.85, allocations: 366.3 kB / 12.23 GB, free: 8.578 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02436/66.87, allocations: 2.137 MB / 12.23 GB, free: 8.578 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/66.88, allocations: 5.252 MB / 12.23 GB, free: 6.672 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03054/66.91, allocations: 1.612 MB / 12.23 GB, free: 6.574 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003069/66.92, allocations: 312.3 kB / 12.23 GB, free: 6.574 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/66.92, allocations: 6.25 kB / 12.23 GB, free: 6.574 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.048/66.97, allocations: 14.4 MB / 12.25 GB, free: 6.266 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002134/66.97, allocations: 42.41 kB / 12.25 GB, free: 6.266 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/66.97, allocations: 348.4 kB / 12.25 GB, free: 6.258 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0235/66.99, allocations: 2.04 MB / 12.25 GB, free: 6.258 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0168/67.01, allocations: 4.609 MB / 12.26 GB, free: 4.004 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04614/67.05, allocations: 1.569 MB / 12.26 GB, free: 3.914 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004176/67.06, allocations: 317.2 kB / 12.26 GB, free: 3.852 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 157 * Number of states: 0 () * Number of discrete variables: 11 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (954): * Single equations (assignments): 951 * 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.008123/67.07, allocations: 316.2 kB / 12.26 GB, free: 3.684 MB / 0.9637 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.07674/67.14, allocations: 13.7 MB / 12.27 GB, free: 15.6 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00994/67.15, allocations: 1.15 MB / 12.27 GB, free: 15.01 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08066/67.23, allocations: 15.49 MB / 12.29 GB, free: 5.062 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001692/67.23, allocations: 83.19 kB / 12.29 GB, free: 4.984 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.672e-05/67.23, allocations: 8 kB / 12.29 GB, free: 4.977 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04563/67.28, allocations: 12.95 MB / 12.3 GB, free: 9.996 MB / 0.9949 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 1.194/68.47, allocations: 37.23 MB / 12.34 GB, free: 128.4 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001187/68.47, allocations: 10.69 kB / 12.34 GB, free: 128.4 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02475/68.5, allocations: 2.196 MB / 12.34 GB, free: 128.4 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003613/68.5, allocations: 0.9101 MB / 12.34 GB, free: 128.3 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002552/68.5, allocations: 166.5 kB / 12.34 GB, free: 128.3 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0211/68.53, allocations: 13.34 MB / 12.35 GB, free: 119.6 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.179e-05/68.53, allocations: 19.75 kB / 12.35 GB, free: 119.6 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06854/68.59, allocations: 27.08 MB / 12.38 GB, free: 114.9 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01937/68.61, allocations: 3.801 MB / 12.38 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008088/68.62, allocations: 117.1 kB / 12.38 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02753/68.65, allocations: 1.426 MB / 12.38 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00334/68.65, allocations: 498.9 kB / 12.38 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002636/68.66, allocations: 281.7 kB / 12.38 GB, free: 114.8 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.03311/68.69, allocations: 10.83 MB / 12.4 GB, free: 114.5 MB / 0.9949 GB Notification: Performance of sort global known variables: time 1.423e-06/68.69, allocations: 1.031 kB / 12.4 GB, free: 114.5 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.06953/68.76, allocations: 7.778 MB / 12.4 GB, free: 114.5 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (724): * Single equations (assignments): 707 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 13 * 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: 12 {1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3,1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.08499/68.84, allocations: 33.59 MB / 12.44 GB, free: 106.5 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.06328/68.91, allocations: 22.11 MB / 12.46 GB, free: 105.9 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 3.235e-05/68.91, allocations: 10.38 kB / 12.46 GB, free: 105.9 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.02345/68.93, allocations: 7.343 MB / 12.46 GB, free: 105.7 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0839/69.01, allocations: 8.721 MB / 12.47 GB, free: 105.5 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1838/69.2, allocations: 46.66 MB / 12.52 GB, free: 99.83 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03931/69.24, allocations: 13.12 MB / 12.53 GB, free: 98.68 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.1216/69.36, allocations: 23.78 MB / 12.55 GB, free: 93.08 MB / 0.9949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0279/69.39, allocations: 6.492 MB / 12.56 GB, free: 92.45 MB / 0.9949 GB Notification: Performance of SimCode: time 1.664e-06/69.39, allocations: 0 / 12.56 GB, free: 92.45 MB / 0.9949 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.31/71.7, allocations: 484.1 MB / 13.03 GB, free: 6.094 MB / 1.042 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 1.134/72.83, allocations: 205 kB / 13.03 GB, free: 198.9 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 27.63/100.5, allocations: 0 / 13.03 GB, free: 198.9 MB / 1.042 GB