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.WetCoilDiscretizedPControl.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.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.953/3.953, allocations: 433.2 MB / 440.7 MB, free: 4.594 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.853e-05/3.872e-05, allocations: 5.938 kB / 0.5325 GB, free: 12.85 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.2626, allocations: 98.73 MB / 0.6289 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.646/7.909, allocations: 2.496 GB / 3.125 GB, free: 142.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/7.909, allocations: 90.77 kB / 3.125 GB, free: 142.6 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 61.68/69.59, allocations: 11.11 GB / 14.23 GB, free: 57.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 3.276e-06/69.59, allocations: 0 / 14.23 GB, free: 57.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.006004/69.6, allocations: 432.7 kB / 14.23 GB, free: 57.63 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: 3530 * Number of variables: 3530 Notification: Performance of Generate backend data structure: time 0.08871/69.69, allocations: 17.86 MB / 14.25 GB, free: 51.99 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/69.69, allocations: 14.38 kB / 14.25 GB, free: 51.99 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04017/69.73, allocations: 4.126 MB / 14.25 GB, free: 50.95 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.126/69.85, allocations: 35.54 MB / 14.29 GB, free: 48.54 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001198/69.85, allocations: 438.4 kB / 14.29 GB, free: 48.54 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009233/69.86, allocations: 0.8206 MB / 14.29 GB, free: 48.54 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.07221/69.94, allocations: 21.73 MB / 14.31 GB, free: 48.48 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08973/70.03, allocations: 22.81 MB / 14.33 GB, free: 47.5 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001426/70.03, allocations: 33.41 kB / 14.33 GB, free: 47.5 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008642/70.04, allocations: 12.5 kB / 14.33 GB, free: 47.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001028/70.04, allocations: 0.6065 MB / 14.33 GB, free: 47.47 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.251/70.29, allocations: 95.8 MB / 14.43 GB, free: 26.95 MB / 0.9949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03202/70.32, allocations: 15.08 MB / 14.44 GB, free: 13.26 MB / 0.9949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02446/70.34, allocations: 9.334 MB / 14.45 GB, free: 5.078 MB / 0.9949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002823/70.35, allocations: 1.011 MB / 14.45 GB, free: 3.957 MB / 0.9949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.03369/70.38, allocations: 8.321 MB / 14.46 GB, free: 15.14 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01826/70.4, allocations: 1.748 MB / 14.46 GB, free: 13.88 MB / 1.01 GB Notification: Performance of pre-optimization done (n=779): time 7.187e-05/70.4, allocations: 3.938 kB / 14.46 GB, free: 13.88 MB / 1.01 GB Notification: Performance of matching and sorting (n=781): time 2.105/72.5, allocations: 35.8 MB / 14.5 GB, free: 84.29 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002017/72.5, allocations: 320.4 kB / 14.5 GB, free: 84 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.04458/72.55, allocations: 15.03 MB / 14.51 GB, free: 83.42 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003112/72.55, allocations: 44.67 kB / 14.51 GB, free: 83.39 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01722/72.57, allocations: 8.215 MB / 14.52 GB, free: 81.62 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006096/72.58, allocations: 2.71 MB / 14.52 GB, free: 80.25 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002727/72.58, allocations: 0 / 14.52 GB, free: 80.25 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001336/72.58, allocations: 0.7073 MB / 14.52 GB, free: 79.93 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0162/72.6, allocations: 6.48 MB / 14.53 GB, free: 79.91 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01971/72.62, allocations: 9.195 MB / 14.54 GB, free: 77.36 MB / 1.011 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.1653/72.78, allocations: 26.95 MB / 14.56 GB, free: 76.96 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.564e-05/72.78, allocations: 16.17 kB / 14.56 GB, free: 76.96 MB / 1.011 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.04958/72.83, allocations: 16.24 MB / 14.58 GB, free: 76.12 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.006216/72.84, allocations: 29.65 MB / 14.61 GB, free: 45.47 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000339/72.84, allocations: 47.84 kB / 14.61 GB, free: 45.47 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000244/72.84, allocations: 94.34 kB / 14.61 GB, free: 45.47 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02049/72.86, allocations: 2.328 MB / 14.61 GB, free: 45.47 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/72.86, allocations: 1.312 MB / 14.61 GB, free: 44.3 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02617/72.89, allocations: 1.627 MB / 14.61 GB, free: 44.25 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003167/72.89, allocations: 351.6 kB / 14.61 GB, free: 44.25 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/72.89, allocations: 8.094 kB / 14.61 GB, free: 44.25 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04347/72.93, allocations: 14.95 MB / 14.63 GB, free: 44.07 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002071/72.93, allocations: 46.53 kB / 14.63 GB, free: 44.07 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001445/72.93, allocations: 94.5 kB / 14.63 GB, free: 44.07 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01943/72.95, allocations: 2.3 MB / 14.63 GB, free: 44.07 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001981/72.95, allocations: 115.5 kB / 14.63 GB, free: 44.07 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0253/72.98, allocations: 1.588 MB / 14.63 GB, free: 44.02 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003178/72.98, allocations: 349.1 kB / 14.63 GB, free: 44.02 MB / 1.011 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: 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 (1071): * Single equations (assignments): 1068 * 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.005909/72.99, allocations: 362.4 kB / 14.63 GB, free: 43.88 MB / 1.011 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.04036/73.03, allocations: 13.56 MB / 14.65 GB, free: 43.02 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006898/73.03, allocations: 1.257 MB / 14.65 GB, free: 42.37 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04807/73.08, allocations: 15.08 MB / 14.66 GB, free: 41.99 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.414e-05/73.08, allocations: 78.44 kB / 14.66 GB, free: 41.99 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.129e-05/73.08, allocations: 0 / 14.66 GB, free: 41.99 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03515/73.12, allocations: 12.42 MB / 14.68 GB, free: 41.45 MB / 1.011 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.1217/73.24, allocations: 37.73 MB / 14.71 GB, free: 38.88 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-05/73.24, allocations: 12.34 kB / 14.71 GB, free: 38.88 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02072/73.26, allocations: 2.314 MB / 14.71 GB, free: 38.88 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001548/73.26, allocations: 42.62 kB / 14.71 GB, free: 38.88 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00253/73.26, allocations: 154.2 kB / 14.71 GB, free: 38.88 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007419/73.26, allocations: 1.229 MB / 14.72 GB, free: 37.71 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.142e-05/73.26, allocations: 17.56 kB / 14.72 GB, free: 37.71 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06117/73.33, allocations: 27.28 MB / 14.74 GB, free: 32.12 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01813/73.34, allocations: 3.866 MB / 14.75 GB, free: 31.38 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007669/73.35, allocations: 120 kB / 14.75 GB, free: 31.38 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0247/73.38, allocations: 1.491 MB / 14.75 GB, free: 31.35 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00347/73.38, allocations: 495.4 kB / 14.75 GB, free: 31.33 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002777/73.38, allocations: 267.5 kB / 14.75 GB, free: 31.33 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.03263/73.41, allocations: 11.95 MB / 14.76 GB, free: 31.01 MB / 1.011 GB Notification: Performance of sort global known variables: time 2.023e-06/73.41, allocations: 0 / 14.76 GB, free: 31.01 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.05021/73.47, allocations: 7.333 MB / 14.77 GB, free: 31.01 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (786): * Single equations (assignments): 779 * 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.07329/73.54, allocations: 33.62 MB / 14.8 GB, free: 7.973 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.06287/73.6, allocations: 22.94 MB / 14.82 GB, free: 9.617 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.705e-05/73.6, allocations: 12.67 kB / 14.82 GB, free: 9.605 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.01969/73.62, allocations: 6.977 MB / 14.83 GB, free: 3.656 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.07872/73.7, allocations: 9.489 MB / 14.84 GB, free: 13.59 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.244/74.94, allocations: 51.03 MB / 14.89 GB, free: 117.4 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.04957/74.99, allocations: 14.61 MB / 14.9 GB, free: 116.3 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 0.1175/75.11, allocations: 26.46 MB / 14.93 GB, free: 116.2 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02639/75.14, allocations: 7.234 MB / 14.94 GB, free: 116.2 MB / 1.057 GB Notification: Performance of SimCode: time 1.703e-06/75.14, allocations: 0 / 14.94 GB, free: 116.2 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.084/77.22, allocations: 0.4955 GB / 15.43 GB, free: 140.9 MB / 1.089 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002684/77.22, allocations: 194.1 kB / 15.43 GB, free: 140.7 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate platform static: time 27.37/104.6, allocations: 7.5 kB / 15.43 GB, free: 140.7 MB / 1.089 GB