Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.48/4.48, allocations: 404.1 MB / 411.3 MB, free: 376 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.247e-05, allocations: 4 kB / 0.4945 GB, free: 1.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7106/0.7106, allocations: 92.69 MB / 0.5851 GB, free: 2.289 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.72/9.431, allocations: 2.471 GB / 3.056 GB, free: 107.7 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/9.432, allocations: 96.88 kB / 3.056 GB, free: 107.7 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 70.74/80.17, allocations: 11.02 GB / 14.08 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.344e-06/80.17, allocations: 0 / 14.08 GB, free: 8.691 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.006832/80.18, allocations: 431.6 kB / 14.08 GB, free: 8.27 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3586 * Number of variables: 3586 Notification: Performance of Generate backend data structure: time 2.021/82.2, allocations: 17.84 MB / 14.09 GB, free: 45.36 MB / 0.9324 GB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/82.2, allocations: 6.812 kB / 14.09 GB, free: 45.36 MB / 0.9324 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04607/82.24, allocations: 4.11 MB / 14.1 GB, free: 44.32 MB / 0.9324 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1447/82.39, allocations: 37.47 MB / 14.14 GB, free: 41.95 MB / 0.9324 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001287/82.39, allocations: 447.1 kB / 14.14 GB, free: 41.95 MB / 0.9324 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009031/82.4, allocations: 0.8312 MB / 14.14 GB, free: 41.94 MB / 0.9324 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07512/82.47, allocations: 21.77 MB / 14.16 GB, free: 41.88 MB / 0.9324 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09357/82.57, allocations: 23.16 MB / 14.18 GB, free: 40.69 MB / 0.9324 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001161/82.57, allocations: 34.38 kB / 14.18 GB, free: 40.69 MB / 0.9324 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007828/82.58, allocations: 18.81 kB / 14.18 GB, free: 40.69 MB / 0.9324 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001128/82.58, allocations: 0.615 MB / 14.18 GB, free: 40.66 MB / 0.9324 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.2993/82.88, allocations: 96.83 MB / 14.28 GB, free: 41.18 MB / 0.9637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03889/82.92, allocations: 13.34 MB / 14.29 GB, free: 40.91 MB / 0.9637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03865/82.96, allocations: 9.584 MB / 14.3 GB, free: 40.77 MB / 0.9637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003614/82.96, allocations: 0.6012 MB / 14.3 GB, free: 40.29 MB / 0.9637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03794/83, allocations: 8.358 MB / 14.31 GB, free: 39.9 MB / 0.9637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02752/83.02, allocations: 2.764 MB / 14.31 GB, free: 39.61 MB / 0.9637 GB Notification: Performance of pre-optimization done (n=805): time 7.833e-05/83.03, allocations: 0 / 14.31 GB, free: 39.61 MB / 0.9637 GB Notification: Performance of matching and sorting (n=819): time 0.2414/83.27, allocations: 57.16 MB / 14.37 GB, free: 15.75 MB / 0.9637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004937/83.27, allocations: 0.7249 MB / 14.37 GB, free: 14.96 MB / 0.9637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04563/83.31, allocations: 13.79 MB / 14.38 GB, free: 14.34 MB / 0.9637 GB Notification: Performance of collectPreVariables (initialization): time 0.003317/83.32, allocations: 37.02 kB / 14.38 GB, free: 14.31 MB / 0.9637 GB Notification: Performance of collectInitialEqns (initialization): time 0.01929/83.34, allocations: 8.238 MB / 14.39 GB, free: 8.207 MB / 0.9637 GB Notification: Performance of collectInitialBindings (initialization): time 0.007787/83.34, allocations: 2.837 MB / 14.39 GB, free: 5.574 MB / 0.9637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002906/83.35, allocations: 0 / 14.39 GB, free: 5.574 MB / 0.9637 GB Notification: Performance of setup shared object (initialization): time 0.001738/83.35, allocations: 0.7164 MB / 14.39 GB, free: 4.949 MB / 0.9637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02791/83.38, allocations: 7.04 MB / 14.4 GB, free: 0 / 0.9637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02493/83.4, allocations: 9.119 MB / 14.41 GB, free: 7.117 MB / 0.9793 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0 (sin_2.p = 101325.0) Notification: Performance of analyzeInitialSystem (initialization): time 0.2776/83.68, allocations: 31.6 MB / 14.44 GB, free: 9.711 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000127/83.68, allocations: 13.16 kB / 14.44 GB, free: 9.699 MB / 0.9949 GB Notification: Performance of matching and sorting (n=1112) (initialization): time 1.205/84.88, allocations: 18.38 MB / 14.46 GB, free: 104.7 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.00854/84.89, allocations: 30.45 MB / 14.49 GB, free: 73.12 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004662/84.89, allocations: 48.91 kB / 14.49 GB, free: 73.12 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005558/84.89, allocations: 96.88 kB / 14.49 GB, free: 73.12 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04085/84.93, allocations: 2.552 MB / 14.49 GB, free: 73.12 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/84.94, allocations: 1.413 MB / 14.49 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02707/84.96, allocations: 1.42 MB / 14.49 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003619/84.97, allocations: 364.4 kB / 14.49 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/84.97, allocations: 6.094 kB / 14.49 GB, free: 71.95 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05376/85.02, allocations: 15.45 MB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003571/85.02, allocations: 50.66 kB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002312/85.02, allocations: 95.09 kB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02579/85.05, allocations: 2.368 MB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002502/85.05, allocations: 123.5 kB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02654/85.08, allocations: 1.38 MB / 14.51 GB, free: 71.77 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003519/85.08, allocations: 363.8 kB / 14.51 GB, free: 71.77 MB / 0.9949 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: hex.hexReg[1].ele[1,1].vol2.dynBal.medium.p = 101325.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 219 * 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 (1106): * Single equations (assignments): 1103 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006885/85.09, allocations: 371.6 kB / 14.51 GB, free: 71.62 MB / 0.9949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.05161/85.14, allocations: 14.54 MB / 14.53 GB, free: 71.32 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007048/85.14, allocations: 1.246 MB / 14.53 GB, free: 71.32 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06422/85.21, allocations: 16.6 MB / 14.54 GB, free: 70.84 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001902/85.21, allocations: 90.66 kB / 14.54 GB, free: 70.84 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.111e-05/85.21, allocations: 3.625 kB / 14.54 GB, free: 70.84 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04583/85.26, allocations: 13.75 MB / 14.56 GB, free: 70.21 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 0.1425/85.4, allocations: 39.8 MB / 14.59 GB, free: 67.09 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.072e-05/85.4, allocations: 17.75 kB / 14.59 GB, free: 67.09 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02929/85.43, allocations: 2.474 MB / 14.6 GB, free: 67.09 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002733/85.43, allocations: 0.6479 MB / 14.6 GB, free: 67 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002743/85.43, allocations: 166.3 kB / 14.6 GB, free: 67 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01433/85.45, allocations: 10.29 MB / 14.61 GB, free: 58.29 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.613e-05/85.45, allocations: 30.44 kB / 14.61 GB, free: 58.29 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07562/85.52, allocations: 31.09 MB / 14.64 GB, free: 51.02 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01887/85.54, allocations: 3.693 MB / 14.64 GB, free: 50.54 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008417/85.55, allocations: 122 kB / 14.64 GB, free: 50.54 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02615/85.58, allocations: 1.374 MB / 14.64 GB, free: 50.51 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003624/85.58, allocations: 0.5373 MB / 14.64 GB, free: 50.48 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00289/85.58, allocations: 301.8 kB / 14.64 GB, free: 50.48 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.0337/85.62, allocations: 11.09 MB / 14.66 GB, free: 50.16 MB / 0.9949 GB Notification: Performance of sort global known variables: time 1.032e-06/85.62, allocations: 0 / 14.66 GB, free: 50.16 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.06217/85.68, allocations: 7.028 MB / 14.66 GB, free: 50.16 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 75 * Number of states: 50 (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.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 (810): * Single equations (assignments): 793 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * 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.1315/85.81, allocations: 37.79 MB / 14.7 GB, free: 39.18 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.07035/85.88, allocations: 23.73 MB / 14.72 GB, free: 38.85 MB / 0.9949 GB Notification: Performance of simCode: created event and clocks part: time 3.641e-05/85.88, allocations: 10.44 kB / 14.72 GB, free: 38.85 MB / 0.9949 GB Notification: Performance of simCode: created simulation system equations: time 0.02662/85.91, allocations: 7.887 MB / 14.73 GB, free: 38.77 MB / 0.9949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09567/86, allocations: 9.017 MB / 14.74 GB, free: 38.04 MB / 0.9949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1868/86.19, allocations: 51.56 MB / 14.79 GB, free: 2.516 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04714/86.24, allocations: 15.01 MB / 14.8 GB, free: 10.73 MB / 1.011 GB Notification: Performance of simCode: alias equations: time 1.211/87.45, allocations: 26.29 MB / 14.83 GB, free: 98.22 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03016/87.48, allocations: 7.313 MB / 14.84 GB, free: 98.22 MB / 1.011 GB Notification: Performance of SimCode: time 1.462e-06/87.48, allocations: 0 / 14.84 GB, free: 98.22 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.476/89.96, allocations: 0.4952 GB / 15.33 GB, free: 106.3 MB / 1.057 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000349/89.96, allocations: 197.2 kB / 15.33 GB, free: 106 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 30.38/120.3, allocations: 4 kB / 15.33 GB, free: 106 MB / 1.057 GB