Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.264/4.264, allocations: 464.6 MB / 476.8 MB, free: 2.223 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.99e-05/4e-05, allocations: 9.094 kB / 0.5732 GB, free: 5.668 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2346, allocations: 107.2 MB / 0.6778 GB, free: 10.31 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.453/8.687, allocations: 2.503 GB / 3.18 GB, free: 240.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003129/8.688, allocations: 93.77 kB / 3.181 GB, free: 240.2 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 62.47/71.16, allocations: 11.23 GB / 14.41 GB, free: 65.45 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.013e-06/71.16, allocations: 0 / 14.41 GB, free: 65.45 MB / 1.042 GB Notification: Performance of Transformations before backend: time 0.008245/71.17, allocations: 435.8 kB / 14.41 GB, free: 65.39 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3533 * Number of variables: 3533 Notification: Performance of Generate backend data structure: time 0.09249/71.26, allocations: 17.9 MB / 14.43 GB, free: 59.74 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 5.595e-05/71.26, allocations: 6.719 kB / 14.43 GB, free: 59.74 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01562/71.28, allocations: 2.048 MB / 14.43 GB, free: 59.62 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05555/71.33, allocations: 4.132 MB / 14.43 GB, free: 58.58 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1644/71.5, allocations: 35.29 MB / 14.47 GB, free: 56.18 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001935/71.5, allocations: 1.035 MB / 14.47 GB, free: 56.15 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009585/71.51, allocations: 1.4 MB / 14.47 GB, free: 56.13 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09757/71.61, allocations: 24.76 MB / 14.49 GB, free: 55.14 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001233/71.61, allocations: 33.38 kB / 14.49 GB, free: 55.13 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008654/71.62, allocations: 0.5603 MB / 14.5 GB, free: 55.13 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009469/71.62, allocations: 0.6037 MB / 14.5 GB, free: 55.1 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07791/71.7, allocations: 22.68 MB / 14.52 GB, free: 55.04 MB / 1.042 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.3069/72, allocations: 99.13 MB / 14.61 GB, free: 3.727 MB / 1.057 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04938/72.05, allocations: 13.47 MB / 14.63 GB, free: 10.34 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02844/72.08, allocations: 9.688 MB / 14.64 GB, free: 1.809 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002886/72.09, allocations: 1.002 MB / 14.64 GB, free: 0.6914 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107/74.19, allocations: 10.29 MB / 14.65 GB, free: 101.6 MB / 1.073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.02109/74.21, allocations: 1.973 MB / 14.65 GB, free: 101.6 MB / 1.073 GB Notification: Performance of pre-optimization done (n=781): time 6.808e-05/74.21, allocations: 0 / 14.65 GB, free: 101.6 MB / 1.073 GB Notification: Performance of matching and sorting (n=783): time 0.1604/74.37, allocations: 36.09 MB / 14.69 GB, free: 95.45 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001822/74.37, allocations: 321.7 kB / 14.69 GB, free: 95.16 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05456/74.43, allocations: 16.67 MB / 14.7 GB, free: 94.47 MB / 1.073 GB Notification: Performance of collectPreVariables (initialization): time 0.003769/74.43, allocations: 192.3 kB / 14.7 GB, free: 94.44 MB / 1.073 GB Notification: Performance of collectInitialEqns (initialization): time 0.02021/74.45, allocations: 8.149 MB / 14.71 GB, free: 92.78 MB / 1.073 GB Notification: Performance of collectInitialBindings (initialization): time 0.007198/74.46, allocations: 2.828 MB / 14.71 GB, free: 91.41 MB / 1.073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003198/74.46, allocations: 169 kB / 14.71 GB, free: 91.41 MB / 1.073 GB Notification: Performance of setup shared object (initialization): time 0.001593/74.47, allocations: 0.7112 MB / 14.71 GB, free: 91.09 MB / 1.073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0195/74.49, allocations: 6.802 MB / 14.72 GB, free: 91.06 MB / 1.073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02449/74.51, allocations: 9.55 MB / 14.73 GB, free: 88.52 MB / 1.073 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.2025/74.71, allocations: 30.15 MB / 14.76 GB, free: 88.07 MB / 1.073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001153/74.71, allocations: 13.28 kB / 14.76 GB, free: 88.07 MB / 1.073 GB Notification: Performance of matching and sorting (n=1079) (initialization): time 0.05813/74.77, allocations: 17.26 MB / 14.78 GB, free: 87.16 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 0.007075/74.78, allocations: 30.39 MB / 14.81 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002897/74.78, allocations: 47.5 kB / 14.81 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002718/74.78, allocations: 94.69 kB / 14.81 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02214/74.8, allocations: 2.334 MB / 14.81 GB, free: 55.68 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001207/74.8, allocations: 1.297 MB / 14.81 GB, free: 54.5 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03045/74.83, allocations: 1.892 MB / 14.81 GB, free: 54.45 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003679/74.84, allocations: 352.2 kB / 14.81 GB, free: 54.45 MB / 1.073 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/74.84, allocations: 7.094 kB / 14.81 GB, free: 54.45 MB / 1.073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05422/74.89, allocations: 16.09 MB / 14.83 GB, free: 54.23 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002628/74.89, allocations: 47.38 kB / 14.83 GB, free: 54.23 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/74.89, allocations: 100.5 kB / 14.83 GB, free: 54.23 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0215/74.91, allocations: 2.315 MB / 14.83 GB, free: 54.23 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002707/74.91, allocations: 116.7 kB / 14.83 GB, free: 54.23 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0298/74.94, allocations: 1.852 MB / 14.83 GB, free: 54.18 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0036/74.95, allocations: 353.3 kB / 14.83 GB, free: 54.18 MB / 1.073 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: 214 * 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 (1074): * Single equations (assignments): 1071 * 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.007695/74.95, allocations: 0.65 MB / 14.83 GB, free: 54.04 MB / 1.073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00799/74.96, allocations: 1.331 MB / 14.83 GB, free: 53.36 MB / 1.073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06056/75.02, allocations: 16.21 MB / 14.85 GB, free: 52.93 MB / 1.073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001028/75.02, allocations: 81 kB / 14.85 GB, free: 52.92 MB / 1.073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.528e-05/75.02, allocations: 4.406 kB / 14.85 GB, free: 52.92 MB / 1.073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04174/75.06, allocations: 13.2 MB / 14.86 GB, free: 52.35 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.1413/75.21, allocations: 40.97 MB / 14.9 GB, free: 49.74 MB / 1.073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.759e-05/75.21, allocations: 19.55 kB / 14.9 GB, free: 49.74 MB / 1.073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0216/75.23, allocations: 2.328 MB / 14.91 GB, free: 49.74 MB / 1.073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001627/75.23, allocations: 36.47 kB / 14.91 GB, free: 49.74 MB / 1.073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002908/75.23, allocations: 262.5 kB / 14.91 GB, free: 49.74 MB / 1.073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007668/75.23, allocations: 1.229 MB / 14.91 GB, free: 48.57 MB / 1.073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-05/75.23, allocations: 17.47 kB / 14.91 GB, free: 48.57 MB / 1.073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07448/75.31, allocations: 29.55 MB / 14.94 GB, free: 42.12 MB / 1.073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02036/75.33, allocations: 4.127 MB / 14.94 GB, free: 41.33 MB / 1.073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008795/75.34, allocations: 236.6 kB / 14.94 GB, free: 41.33 MB / 1.073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02713/75.36, allocations: 1.627 MB / 14.94 GB, free: 41.27 MB / 1.073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003485/75.37, allocations: 0.491 MB / 14.94 GB, free: 41.25 MB / 1.073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003273/75.37, allocations: 284.6 kB / 14.94 GB, free: 41.25 MB / 1.073 GB Notification: Performance of sorting global known variables: time 0.04194/75.41, allocations: 13.46 MB / 14.96 GB, free: 33.54 MB / 1.073 GB Notification: Performance of sort global known variables: time 7.61e-07/75.41, allocations: 2.719 kB / 14.96 GB, free: 33.54 MB / 1.073 GB Notification: Performance of remove unused functions: time 0.0534/75.46, allocations: 7.915 MB / 14.96 GB, free: 26.3 MB / 1.073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * 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 (789): * Single equations (assignments): 782 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.08421/75.55, allocations: 34.99 MB / 15 GB, free: 13.02 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.07503/75.62, allocations: 23.72 MB / 15.02 GB, free: 8.969 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 0.0001038/75.62, allocations: 10.78 kB / 15.02 GB, free: 8.957 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.02376/75.65, allocations: 7.285 MB / 15.03 GB, free: 2.73 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08951/75.74, allocations: 10.49 MB / 15.04 GB, free: 11.8 MB / 1.12 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.284/77.02, allocations: 52.17 MB / 15.09 GB, free: 130.7 MB / 1.12 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04618/77.07, allocations: 14.63 MB / 15.1 GB, free: 129.6 MB / 1.12 GB Notification: Performance of simCode: alias equations: time 0.1201/77.19, allocations: 27.02 MB / 15.13 GB, free: 129.5 MB / 1.12 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03071/77.22, allocations: 7.224 MB / 15.14 GB, free: 129.5 MB / 1.12 GB Notification: Performance of SimCode: time 2.845e-06/77.22, allocations: 0 / 15.14 GB, free: 129.5 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.401/79.62, allocations: 0.591 GB / 15.73 GB, free: 119.5 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003494/79.62, allocations: 245.2 kB / 15.73 GB, free: 119.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.25/111.9, allocations: 4 kB / 15.73 GB, free: 119.2 MB / 1.151 GB