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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.918/3.918, allocations: 432.6 MB / 445.2 MB, free: 15.83 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.248e-05/4.268e-05, allocations: 6.609 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2209, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.879/8.1, allocations: 2.491 GB / 3.126 GB, free: 172.5 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/8.101, allocations: 90.77 kB / 3.126 GB, free: 172.5 MB / 0.8386 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 49.61/57.71, allocations: 8.973 GB / 12.1 GB, free: 66.88 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.244e-06/57.71, allocations: 0 / 12.1 GB, free: 66.88 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.005828/57.71, allocations: 390.2 kB / 12.1 GB, free: 66.83 MB / 0.9792 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.07742/57.79, allocations: 15.94 MB / 12.11 GB, free: 61.9 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/57.79, allocations: 11.41 kB / 12.11 GB, free: 61.9 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0109/57.8, allocations: 1.763 MB / 12.12 GB, free: 61.79 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03513/57.84, allocations: 3.592 MB / 12.12 GB, free: 60.86 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1051/57.94, allocations: 29.02 MB / 12.15 GB, free: 58.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001578/57.94, allocations: 0.8943 MB / 12.15 GB, free: 58.78 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007958/57.95, allocations: 1.218 MB / 12.15 GB, free: 58.76 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08109/58.03, allocations: 21.59 MB / 12.17 GB, free: 57.79 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001234/58.03, allocations: 27.75 kB / 12.17 GB, free: 57.79 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006909/58.04, allocations: 494.8 kB / 12.17 GB, free: 57.79 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008993/58.04, allocations: 0.5405 MB / 12.17 GB, free: 57.76 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0663/58.11, allocations: 19.85 MB / 12.19 GB, free: 57.67 MB / 0.9792 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.2287/58.34, allocations: 93.72 MB / 12.28 GB, free: 26.82 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03379/58.37, allocations: 13.67 MB / 12.3 GB, free: 26.46 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02152/58.39, allocations: 8.545 MB / 12.31 GB, free: 26.38 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002254/58.39, allocations: 0.9948 MB / 12.31 GB, free: 25.43 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02021/58.42, allocations: 7.133 MB / 12.31 GB, free: 24.79 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01703/58.43, allocations: 1.579 MB / 12.31 GB, free: 24.37 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=709): time 2.808e-05/58.43, allocations: 3.75 kB / 12.31 GB, free: 24.37 MB / 0.9792 GB Notification: Performance of matching and sorting (n=721): time 0.1115/58.54, allocations: 29.6 MB / 12.34 GB, free: 26.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/58.54, allocations: 260.5 kB / 12.34 GB, free: 26.61 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04706/58.59, allocations: 15.58 MB / 12.36 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003069/58.59, allocations: 195.5 kB / 12.36 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.01872/58.61, allocations: 7.258 MB / 12.37 GB, free: 6.582 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.007135/58.62, allocations: 2.605 MB / 12.37 GB, free: 4.211 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002541/58.62, allocations: 148 kB / 12.37 GB, free: 4.066 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.001322/58.62, allocations: 0.6573 MB / 12.37 GB, free: 3.492 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.03049/58.65, allocations: 6.972 MB / 12.38 GB, free: 0 / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02197/58.68, allocations: 8.599 MB / 12.38 GB, free: 7.82 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0228/58.7, allocations: 8.177 MB / 12.39 GB, free: 1.164 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.027e-05/58.7, allocations: 8 kB / 12.39 GB, free: 1.156 MB / 1.01 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.0836/58.78, allocations: 17.63 MB / 12.41 GB, free: 7.602 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.986/60.77, allocations: 20.59 MB / 12.43 GB, free: 95.11 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001727/60.77, allocations: 33.53 kB / 12.43 GB, free: 95.11 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002316/60.77, allocations: 489.9 kB / 12.43 GB, free: 95.11 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01924/60.79, allocations: 1.985 MB / 12.43 GB, free: 95.11 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01385/60.81, allocations: 6.214 MB / 12.44 GB, free: 93.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0325/60.84, allocations: 2.16 MB / 12.44 GB, free: 93.2 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00325/60.84, allocations: 300.1 kB / 12.44 GB, free: 93.2 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/60.84, allocations: 4.469 kB / 12.44 GB, free: 93.2 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04901/60.89, allocations: 14.92 MB / 12.46 GB, free: 92.97 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/60.89, allocations: 33.59 kB / 12.46 GB, free: 92.97 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/60.89, allocations: 493.9 kB / 12.46 GB, free: 92.96 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01861/60.91, allocations: 1.974 MB / 12.46 GB, free: 92.96 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/60.92, allocations: 5.618 MB / 12.46 GB, free: 91.63 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02952/60.95, allocations: 2.13 MB / 12.47 GB, free: 91.62 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002916/60.95, allocations: 299.8 kB / 12.47 GB, free: 91.62 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 151 * 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.005997/60.96, allocations: 0.5794 MB / 12.47 GB, free: 91.49 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006837/60.97, allocations: 1.162 MB / 12.47 GB, free: 91.49 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05422/61.02, allocations: 14.99 MB / 12.48 GB, free: 91.09 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001062/61.02, allocations: 74.48 kB / 12.48 GB, free: 91.08 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.435e-05/61.02, allocations: 6.75 kB / 12.48 GB, free: 91.08 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04466/61.07, allocations: 12.39 MB / 12.49 GB, free: 90.5 MB / 1.026 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.1224/61.19, allocations: 37.44 MB / 12.53 GB, free: 89.17 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.613e-05/61.19, allocations: 6.406 kB / 12.53 GB, free: 89.17 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01943/61.21, allocations: 2.14 MB / 12.53 GB, free: 89.17 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001938/61.21, allocations: 439.7 kB / 12.53 GB, free: 89.16 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002315/61.21, allocations: 241.8 kB / 12.53 GB, free: 89.16 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01055/61.22, allocations: 6.147 MB / 12.54 GB, free: 87.24 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/61.22, allocations: 9.312 kB / 12.54 GB, free: 87.24 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06056/61.28, allocations: 24.52 MB / 12.56 GB, free: 84.9 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0187/61.3, allocations: 4.06 MB / 12.57 GB, free: 84.7 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006699/61.31, allocations: 219.1 kB / 12.57 GB, free: 84.7 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02598/61.34, allocations: 1.772 MB / 12.57 GB, free: 84.66 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002895/61.34, allocations: 454.2 kB / 12.57 GB, free: 84.65 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002248/61.34, allocations: 235.7 kB / 12.57 GB, free: 84.65 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.03498/61.38, allocations: 12.36 MB / 12.58 GB, free: 84.27 MB / 1.026 GB Notification: Performance of sort global known variables: time 1.052e-06/61.38, allocations: 1.75 kB / 12.58 GB, free: 84.27 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.05956/61.44, allocations: 8.681 MB / 12.59 GB, free: 84.27 MB / 1.026 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.08185/61.52, allocations: 30.24 MB / 12.62 GB, free: 78.62 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.05657/61.57, allocations: 22.34 MB / 12.64 GB, free: 77.98 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-05/61.57, allocations: 10.06 kB / 12.64 GB, free: 77.97 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01842/61.59, allocations: 6.931 MB / 12.65 GB, free: 77.74 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07454/61.67, allocations: 9.328 MB / 12.66 GB, free: 77.53 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1513/61.82, allocations: 46.57 MB / 12.7 GB, free: 52.21 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.03473/61.85, allocations: 13.07 MB / 12.72 GB, free: 44.7 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.09727/61.95, allocations: 23.94 MB / 12.74 GB, free: 30.32 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02249/61.97, allocations: 6.431 MB / 12.75 GB, free: 24.96 MB / 1.026 GB Notification: Performance of SimCode: time 1.623e-06/61.97, allocations: 2.078 kB / 12.75 GB, free: 24.96 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.151/65.12, allocations: 0.548 GB / 13.29 GB, free: 125.1 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/65.13, allocations: 256.2 kB / 13.29 GB, free: 124.8 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.49/92.62, allocations: 0 / 13.29 GB, free: 124.8 MB / 1.104 GB