Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.897/3.897, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.517e-05/3.53e-05, allocations: 5.188 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.214, allocations: 98.73 MB / 0.6289 GB, free: 9.152 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.601/7.815, allocations: 2.49 GB / 3.119 GB, free: 147.8 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003186/7.815, allocations: 94.19 kB / 3.119 GB, free: 147.7 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 47.73/55.54, allocations: 8.9 GB / 12.02 GB, free: 56.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.284e-06/55.54, allocations: 2.938 kB / 12.02 GB, free: 56.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.005261/55.55, allocations: 382.5 kB / 12.02 GB, free: 56.54 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3031 * Number of variables: 3031 Notification: Performance of Generate backend data structure: time 0.07805/55.62, allocations: 15.93 MB / 12.04 GB, free: 51.41 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/55.62, allocations: 10.72 kB / 12.04 GB, free: 51.41 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03473/55.66, allocations: 3.592 MB / 12.04 GB, free: 50.47 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09933/55.76, allocations: 29.02 MB / 12.07 GB, free: 48.39 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009707/55.76, allocations: 377.5 kB / 12.07 GB, free: 48.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007434/55.77, allocations: 0.7233 MB / 12.07 GB, free: 48.38 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05921/55.83, allocations: 18.83 MB / 12.09 GB, free: 48.34 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07298/55.9, allocations: 19.87 MB / 12.11 GB, free: 47.39 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001091/55.9, allocations: 28.56 kB / 12.11 GB, free: 47.38 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00663/55.91, allocations: 14.97 kB / 12.11 GB, free: 47.38 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008957/55.91, allocations: 0.5367 MB / 12.11 GB, free: 47.36 MB / 0.9636 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.2334/56.14, allocations: 92.14 MB / 12.2 GB, free: 12.04 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 1.846/57.99, allocations: 15.97 MB / 12.21 GB, free: 85.24 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02258/58.01, allocations: 8.178 MB / 12.22 GB, free: 85.16 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002289/58.01, allocations: 0.9901 MB / 12.22 GB, free: 84.22 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01835/58.03, allocations: 6.719 MB / 12.23 GB, free: 84.04 MB / 0.9949 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01623/58.05, allocations: 1.423 MB / 12.23 GB, free: 84.04 MB / 0.9949 GB Notification: Performance of pre-optimization done (n=709): time 7.041e-05/58.05, allocations: 0 / 12.23 GB, free: 84.04 MB / 0.9949 GB Notification: Performance of matching and sorting (n=721): time 0.1046/58.15, allocations: 27.95 MB / 12.26 GB, free: 81.78 MB / 0.9949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/58.15, allocations: 267.4 kB / 12.26 GB, free: 81.55 MB / 0.9949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03929/58.19, allocations: 14.91 MB / 12.27 GB, free: 80.99 MB / 0.9949 GB Notification: Performance of collectPreVariables (initialization): time 0.002659/58.19, allocations: 48.02 kB / 12.27 GB, free: 80.96 MB / 0.9949 GB Notification: Performance of collectInitialEqns (initialization): time 0.01462/58.21, allocations: 7.211 MB / 12.28 GB, free: 79.48 MB / 0.9949 GB Notification: Performance of collectInitialBindings (initialization): time 0.006077/58.21, allocations: 2.515 MB / 12.28 GB, free: 78.21 MB / 0.9949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002221/58.22, allocations: 0 / 12.28 GB, free: 78.21 MB / 0.9949 GB Notification: Performance of setup shared object (initialization): time 0.001187/58.22, allocations: 0.6579 MB / 12.28 GB, free: 77.89 MB / 0.9949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/58.23, allocations: 5.922 MB / 12.29 GB, free: 77.88 MB / 0.9949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01696/58.25, allocations: 8.236 MB / 12.3 GB, free: 75.84 MB / 0.9949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02048/58.27, allocations: 7.886 MB / 12.3 GB, free: 75.73 MB / 0.9949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000116/58.27, allocations: 11.62 kB / 12.3 GB, free: 75.73 MB / 0.9949 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.04491/58.31, allocations: 15.05 MB / 12.32 GB, free: 74.92 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 0.004303/58.32, allocations: 20.82 MB / 12.34 GB, free: 53.42 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003127/58.32, allocations: 38.94 kB / 12.34 GB, free: 53.42 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002083/58.32, allocations: 485.1 kB / 12.34 GB, free: 53.41 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02228/58.34, allocations: 1.988 MB / 12.34 GB, free: 53.41 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01729/58.36, allocations: 6.056 MB / 12.35 GB, free: 51.52 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04382/58.41, allocations: 1.992 MB / 12.35 GB, free: 51.46 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003515/58.41, allocations: 303.9 kB / 12.35 GB, free: 51.46 MB / 0.9949 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/58.41, allocations: 5.969 kB / 12.35 GB, free: 51.46 MB / 0.9949 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05988/58.47, allocations: 13.85 MB / 12.36 GB, free: 51.27 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002176/58.47, allocations: 34.84 kB / 12.36 GB, free: 51.27 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001908/58.47, allocations: 484.4 kB / 12.36 GB, free: 51.26 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01777/58.49, allocations: 1.971 MB / 12.36 GB, free: 51.25 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01053/58.5, allocations: 5.475 MB / 12.37 GB, free: 49.93 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02894/58.53, allocations: 1.953 MB / 12.37 GB, free: 49.88 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002807/58.53, allocations: 300 kB / 12.37 GB, free: 49.88 MB / 0.9949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 153 * 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 (918): * Single equations (assignments): 915 * 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.00528/58.54, allocations: 310.6 kB / 12.37 GB, free: 49.74 MB / 0.9949 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04076/58.58, allocations: 12.69 MB / 12.38 GB, free: 48.91 MB / 0.9949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008007/58.59, allocations: 1.156 MB / 12.39 GB, free: 48.32 MB / 0.9949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06167/58.65, allocations: 14.08 MB / 12.4 GB, free: 47.89 MB / 0.9949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000139/58.65, allocations: 69.33 kB / 12.4 GB, free: 47.89 MB / 0.9949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-05/58.65, allocations: 3.594 kB / 12.4 GB, free: 47.89 MB / 0.9949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.05035/58.7, allocations: 11.68 MB / 12.41 GB, free: 47.34 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.1162/58.81, allocations: 34.85 MB / 12.45 GB, free: 45.95 MB / 0.9949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-05/58.81, allocations: 5.906 kB / 12.45 GB, free: 45.95 MB / 0.9949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01883/58.83, allocations: 2.124 MB / 12.45 GB, free: 45.95 MB / 0.9949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001861/58.83, allocations: 448 kB / 12.45 GB, free: 45.94 MB / 0.9949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002181/58.84, allocations: 143.7 kB / 12.45 GB, free: 45.94 MB / 0.9949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/58.85, allocations: 5.99 MB / 12.45 GB, free: 44.03 MB / 0.9949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.096e-05/58.85, allocations: 8.141 kB / 12.45 GB, free: 44.03 MB / 0.9949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05417/58.9, allocations: 23.35 MB / 12.48 GB, free: 41.1 MB / 0.9949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01771/58.92, allocations: 3.989 MB / 12.48 GB, free: 40.41 MB / 0.9949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006981/58.93, allocations: 111.1 kB / 12.48 GB, free: 40.41 MB / 0.9949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02677/58.95, allocations: 1.651 MB / 12.48 GB, free: 40.34 MB / 0.9949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003842/58.96, allocations: 443.1 kB / 12.48 GB, free: 40.33 MB / 0.9949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003606/58.96, allocations: 237.8 kB / 12.48 GB, free: 40.33 MB / 0.9949 GB Notification: Performance of sorting global known variables: time 0.04625/59.01, allocations: 11.71 MB / 12.49 GB, free: 38.72 MB / 0.9949 GB Notification: Performance of sort global known variables: time 1.633e-06/59.01, allocations: 0 / 12.49 GB, free: 38.72 MB / 0.9949 GB Notification: Performance of remove unused functions: time 0.08145/59.09, allocations: 8.179 MB / 12.5 GB, free: 30.85 MB / 0.9949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (701): * Single equations (assignments): 694 * 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.06514/59.15, allocations: 29.35 MB / 12.53 GB, free: 6.996 MB / 0.9949 GB Notification: Performance of simCode: created initialization part: time 0.07619/59.23, allocations: 22.43 MB / 12.55 GB, free: 7.816 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 3.153e-05/59.23, allocations: 10.81 kB / 12.55 GB, free: 7.805 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.01933/59.25, allocations: 6.594 MB / 12.56 GB, free: 2.164 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0962/59.35, allocations: 9.152 MB / 12.57 GB, free: 12.27 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.104/60.45, allocations: 46.18 MB / 12.61 GB, free: 106.6 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03615/60.49, allocations: 13.07 MB / 12.63 GB, free: 105.5 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.09918/60.59, allocations: 23.56 MB / 12.65 GB, free: 105.4 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02551/60.61, allocations: 6.426 MB / 12.66 GB, free: 105.4 MB / 1.026 GB Notification: Performance of SimCode: time 1.824e-06/60.61, allocations: 2.719 kB / 12.66 GB, free: 105.4 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.893/63.5, allocations: 484.9 MB / 13.13 GB, free: 129.3 MB / 1.073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/63.5, allocations: 201.1 kB / 13.13 GB, free: 129 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.09/88.6, allocations: 0 / 13.13 GB, free: 129 MB / 1.073 GB