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 Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01129/0.01129, allocations: 109 kB / 15.05 MB, free: 6.059 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.00125/0.00125, allocations: 188.5 kB / 15.95 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.02/2.02, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.306/2.306, allocations: 236.1 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005323/0.0005322, allocations: 20 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7982/0.7988, allocations: 98.7 MB / 0.6834 GB, free: 16.77 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.23/9.029, allocations: 2.487 GB / 3.17 GB, free: 202.3 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002972/9.029, allocations: 100 kB / 3.17 GB, free: 202.3 MB / 0.823 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 65.78/74.81, allocations: 11.22 GB / 14.39 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.685e-06/74.81, allocations: 0 / 14.39 GB, free: 60.8 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.007354/74.81, allocations: 428.6 kB / 14.39 GB, free: 60.75 MB / 0.9948 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.1281/74.94, allocations: 22.77 MB / 14.41 GB, free: 54.11 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/74.94, allocations: 13.75 kB / 14.41 GB, free: 54.11 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01429/74.96, allocations: 2.064 MB / 14.41 GB, free: 53.98 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04255/75, allocations: 4.142 MB / 14.42 GB, free: 52.94 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1325/75.13, allocations: 35.7 MB / 14.45 GB, free: 50.55 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.004355/75.14, allocations: 1.033 MB / 14.45 GB, free: 50.52 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01559/75.15, allocations: 1.403 MB / 14.45 GB, free: 50.51 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1182/75.27, allocations: 25.12 MB / 14.48 GB, free: 49.48 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001324/75.27, allocations: 31.12 kB / 14.48 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008517/75.28, allocations: 0.5594 MB / 14.48 GB, free: 49.47 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009734/75.28, allocations: 0.6049 MB / 14.48 GB, free: 49.45 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07937/75.36, allocations: 23.25 MB / 14.5 GB, free: 49.34 MB / 0.9948 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.2858/75.65, allocations: 98.82 MB / 14.6 GB, free: 35.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03272/75.68, allocations: 12.97 MB / 14.61 GB, free: 35.47 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002749/75.68, allocations: 1.006 MB / 14.61 GB, free: 34.53 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02406/75.71, allocations: 8.336 MB / 14.62 GB, free: 34.28 MB / 1.01 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0183/75.72, allocations: 1.978 MB / 14.62 GB, free: 33.93 MB / 1.01 GB Notification: Performance of pre-optimization done (n=779): time 4.382e-05/75.72, allocations: 7.312 kB / 14.62 GB, free: 33.93 MB / 1.01 GB Notification: Performance of matching and sorting (n=781): time 0.1648/75.89, allocations: 42.69 MB / 14.66 GB, free: 25.54 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002632/75.89, allocations: 314.4 kB / 14.66 GB, free: 25.25 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05192/75.94, allocations: 16.76 MB / 14.68 GB, free: 20.73 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.003349/75.94, allocations: 193.4 kB / 14.68 GB, free: 20.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.01868/75.96, allocations: 8.196 MB / 14.69 GB, free: 14.23 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.006709/75.97, allocations: 2.814 MB / 14.69 GB, free: 11.68 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002853/75.97, allocations: 172 kB / 14.69 GB, free: 11.51 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001401/75.97, allocations: 0.7082 MB / 14.69 GB, free: 10.89 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02073/76, allocations: 6.933 MB / 14.7 GB, free: 5.184 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03013/76.03, allocations: 9.942 MB / 14.71 GB, free: 12.55 MB / 1.026 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.2131/76.24, allocations: 31.54 MB / 14.74 GB, free: 9.383 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.638e-05/76.24, allocations: 12 kB / 14.74 GB, free: 9.371 MB / 1.042 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 2.193/78.43, allocations: 19.68 MB / 14.76 GB, free: 93.74 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 0.006763/78.44, allocations: 30.33 MB / 14.79 GB, free: 62.5 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002434/78.44, allocations: 53.5 kB / 14.79 GB, free: 62.5 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003026/78.44, allocations: 93.22 kB / 14.79 GB, free: 62.5 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02243/78.46, allocations: 2.32 MB / 14.79 GB, free: 62.5 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001118/78.46, allocations: 1.3 MB / 14.79 GB, free: 61.33 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02885/78.49, allocations: 1.893 MB / 14.79 GB, free: 61.33 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003671/78.49, allocations: 348.3 kB / 14.79 GB, free: 61.33 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/78.5, allocations: 6.188 kB / 14.79 GB, free: 61.33 MB / 1.042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05611/78.55, allocations: 16.4 MB / 14.81 GB, free: 61.12 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002631/78.55, allocations: 47.06 kB / 14.81 GB, free: 61.12 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001417/78.55, allocations: 93.25 kB / 14.81 GB, free: 61.12 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02073/78.57, allocations: 2.307 MB / 14.81 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003131/78.57, allocations: 113.4 kB / 14.81 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0328/78.61, allocations: 1.848 MB / 14.81 GB, free: 61.11 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003933/78.61, allocations: 347.1 kB / 14.82 GB, free: 61.11 MB / 1.042 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: 212 * 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 () * Number of clocked 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.03933/78.65, allocations: 11.55 MB / 14.83 GB, free: 60.89 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00841/78.66, allocations: 1.327 MB / 14.83 GB, free: 60.89 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06157/78.72, allocations: 16.37 MB / 14.84 GB, free: 60.49 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000135/78.72, allocations: 80.12 kB / 14.84 GB, free: 60.49 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.492e-05/78.72, allocations: 3.281 kB / 14.84 GB, free: 60.49 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0437/78.76, allocations: 13.39 MB / 14.86 GB, free: 59.93 MB / 1.042 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1544/78.92, allocations: 40.8 MB / 14.9 GB, free: 57.53 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-05/78.92, allocations: 13.91 kB / 14.9 GB, free: 57.53 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02113/78.94, allocations: 2.32 MB / 14.9 GB, free: 57.53 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001319/78.94, allocations: 40.38 kB / 14.9 GB, free: 57.53 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002574/78.94, allocations: 257.2 kB / 14.9 GB, free: 57.53 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007374/78.94, allocations: 1.223 MB / 14.9 GB, free: 56.36 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-05/78.94, allocations: 16.69 kB / 14.9 GB, free: 56.36 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06939/79.01, allocations: 29.64 MB / 14.93 GB, free: 50.83 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01972/79.03, allocations: 3.996 MB / 14.93 GB, free: 50.73 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008005/79.04, allocations: 247.6 kB / 14.93 GB, free: 50.73 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02779/79.07, allocations: 1.622 MB / 14.94 GB, free: 50.73 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00431/79.07, allocations: 0.4906 MB / 14.94 GB, free: 50.71 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003484/79.08, allocations: 264 kB / 14.94 GB, free: 50.71 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.05377/79.13, allocations: 13.55 MB / 14.95 GB, free: 50.36 MB / 1.042 GB Notification: Performance of sort global known variables: time 1.433e-06/79.13, allocations: 0 / 14.95 GB, free: 50.36 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.06175/79.19, allocations: 7.905 MB / 14.96 GB, free: 50.36 MB / 1.042 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) * Number of clocked states: 0 () * 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.1056/79.3, allocations: 34.98 MB / 14.99 GB, free: 42.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.06747/79.36, allocations: 23.76 MB / 15.01 GB, free: 41.77 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-05/79.36, allocations: 10.06 kB / 15.01 GB, free: 41.77 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.02155/79.39, allocations: 7.44 MB / 15.02 GB, free: 41.67 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.09645/79.48, allocations: 10.48 MB / 15.03 GB, free: 41.45 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.296/79.78, allocations: 101.9 MB / 15.13 GB, free: 14.11 MB / 1.089 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06094/79.84, allocations: 14.59 MB / 15.15 GB, free: 5.676 MB / 1.089 GB Notification: Performance of simCode: alias equations: time 1.144/80.98, allocations: 15.57 MB / 15.16 GB, free: 123.9 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03161/81.02, allocations: 7.498 MB / 15.17 GB, free: 123.9 MB / 1.089 GB Notification: Performance of SimCode: time 2.144e-06/81.02, allocations: 0.5 kB / 15.17 GB, free: 123.9 MB / 1.089 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.445/83.46, allocations: 0.5638 GB / 15.73 GB, free: 126.4 MB / 1.12 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003121/83.46, allocations: 269.5 kB / 15.73 GB, free: 126 MB / 1.12 GB Notification: Performance of buildModelFMU: Generate platform static: time 29.24/112.7, allocations: 4 kB / 15.73 GB, free: 126 MB / 1.12 GB