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/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.WetCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_WetCoilDiscretizedPControl",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.117/4.117, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.386e-05, allocations: 4.562 kB / 0.5383 GB, free: 10.31 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2211, allocations: 98.74 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.913/8.134, allocations: 2.497 GB / 3.132 GB, free: 166.8 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003231/8.135, allocations: 89.02 kB / 3.132 GB, free: 166.8 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 62.25/70.38, allocations: 11.2 GB / 14.33 GB, free: 48.01 MB / 0.9792 GB Notification: Performance of FrontEnd: time 4.379e-06/70.38, allocations: 0 / 14.33 GB, free: 48.01 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.006232/70.39, allocations: 427.1 kB / 14.33 GB, free: 47.95 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.08768/70.47, allocations: 17.86 MB / 14.35 GB, free: 42.27 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.727e-05/70.47, allocations: 10.56 kB / 14.35 GB, free: 42.27 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01249/70.49, allocations: 2.042 MB / 14.35 GB, free: 42.15 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04108/70.53, allocations: 4.131 MB / 14.36 GB, free: 41.07 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1273/70.66, allocations: 35.55 MB / 14.39 GB, free: 38.49 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001817/70.66, allocations: 1.034 MB / 14.39 GB, free: 38.46 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009268/70.67, allocations: 1.39 MB / 14.39 GB, free: 38.45 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09346/70.76, allocations: 24.81 MB / 14.42 GB, free: 37.37 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001214/70.76, allocations: 43.31 kB / 14.42 GB, free: 37.35 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00803/70.77, allocations: 0.5574 MB / 14.42 GB, free: 37.35 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001007/70.77, allocations: 0.6022 MB / 14.42 GB, free: 37.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07662/70.85, allocations: 22.85 MB / 14.44 GB, free: 26.14 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 2.169/73.02, allocations: 99.05 MB / 14.54 GB, free: 52.08 MB / 1.011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03152/73.05, allocations: 12.73 MB / 14.55 GB, free: 51.78 MB / 1.011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02353/73.07, allocations: 9.647 MB / 14.56 GB, free: 51.68 MB / 1.011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002553/73.07, allocations: 1.012 MB / 14.56 GB, free: 50.73 MB / 1.011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0234/73.1, allocations: 8.204 MB / 14.57 GB, free: 50.48 MB / 1.011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01793/73.12, allocations: 1.979 MB / 14.57 GB, free: 50.48 MB / 1.011 GB Notification: Performance of pre-optimization done (n=779): time 4.477e-05/73.12, allocations: 5.219 kB / 14.57 GB, free: 50.48 MB / 1.011 GB Notification: Performance of matching and sorting (n=781): time 0.1331/73.25, allocations: 35.95 MB / 14.61 GB, free: 44.15 MB / 1.011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001764/73.25, allocations: 319.3 kB / 14.61 GB, free: 43.86 MB / 1.011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05248/73.3, allocations: 16.62 MB / 14.62 GB, free: 43.22 MB / 1.011 GB Notification: Performance of collectPreVariables (initialization): time 0.003186/73.31, allocations: 198.2 kB / 14.62 GB, free: 43.19 MB / 1.011 GB Notification: Performance of collectInitialEqns (initialization): time 0.01898/73.32, allocations: 8.194 MB / 14.63 GB, free: 41.5 MB / 1.011 GB Notification: Performance of collectInitialBindings (initialization): time 0.006756/73.33, allocations: 2.821 MB / 14.63 GB, free: 40.13 MB / 1.011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00301/73.33, allocations: 168.3 kB / 14.63 GB, free: 40.13 MB / 1.011 GB Notification: Performance of setup shared object (initialization): time 0.001502/73.34, allocations: 0.7058 MB / 14.63 GB, free: 39.81 MB / 1.011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01923/73.35, allocations: 6.794 MB / 14.64 GB, free: 39.79 MB / 1.011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02336/73.38, allocations: 9.583 MB / 14.65 GB, free: 37.23 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.1836/73.56, allocations: 30.38 MB / 14.68 GB, free: 36.76 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001327/73.56, allocations: 13.47 kB / 14.68 GB, free: 36.76 MB / 1.011 GB Notification: Performance of matching and sorting (n=1077) (initialization): time 0.05754/73.62, allocations: 17.32 MB / 14.7 GB, free: 35.85 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.01071/73.63, allocations: 30.25 MB / 14.73 GB, free: 20.64 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002706/73.63, allocations: 48.47 kB / 14.73 GB, free: 20.64 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000233/73.63, allocations: 93.34 kB / 14.73 GB, free: 20.64 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02156/73.65, allocations: 2.323 MB / 14.73 GB, free: 20.64 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/73.65, allocations: 1.298 MB / 14.73 GB, free: 19.47 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02922/73.68, allocations: 1.894 MB / 14.73 GB, free: 19.42 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003558/73.69, allocations: 345.9 kB / 14.73 GB, free: 19.42 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/73.69, allocations: 3.812 kB / 14.73 GB, free: 19.42 MB / 1.026 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05125/73.74, allocations: 16.14 MB / 14.75 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002737/73.74, allocations: 47.5 kB / 14.75 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002209/73.74, allocations: 99.34 kB / 14.75 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02145/73.76, allocations: 2.296 MB / 14.75 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002671/73.76, allocations: 119.4 kB / 14.75 GB, free: 19.2 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02853/73.79, allocations: 1.848 MB / 14.75 GB, free: 19.12 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003424/73.79, allocations: 351 kB / 14.75 GB, free: 19.12 MB / 1.026 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 () * 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.007067/73.8, allocations: 0.6628 MB / 14.75 GB, free: 18.95 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0072/73.81, allocations: 1.327 MB / 14.75 GB, free: 18.27 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05551/73.86, allocations: 16.11 MB / 14.77 GB, free: 17.84 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.355e-05/73.86, allocations: 80.94 kB / 14.77 GB, free: 17.84 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.262e-05/73.86, allocations: 0 / 14.77 GB, free: 17.84 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.04959/73.91, allocations: 13.13 MB / 14.78 GB, free: 17.27 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.1475/74.06, allocations: 40.57 MB / 14.82 GB, free: 28.68 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001446/74.06, allocations: 12 kB / 14.82 GB, free: 28.67 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02217/74.08, allocations: 2.326 MB / 14.82 GB, free: 27.04 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001829/74.08, allocations: 40 kB / 14.82 GB, free: 27 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002889/74.09, allocations: 257.5 kB / 14.82 GB, free: 26.91 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00116/74.09, allocations: 1.229 MB / 14.83 GB, free: 25.67 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.071e-05/74.09, allocations: 15.47 kB / 14.83 GB, free: 25.66 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07086/74.16, allocations: 29.26 MB / 14.85 GB, free: 4.824 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.02129/74.18, allocations: 4.002 MB / 14.86 GB, free: 1.125 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007894/74.19, allocations: 233 kB / 14.86 GB, free: 0.918 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02765/74.21, allocations: 1.667 MB / 14.86 GB, free: 0 / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003467/74.22, allocations: 496 kB / 14.86 GB, free: 15.7 MB / 1.057 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003058/74.22, allocations: 265.8 kB / 14.86 GB, free: 15.46 MB / 1.057 GB Notification: Performance of sorting global known variables: time 0.045/74.27, allocations: 13.42 MB / 14.87 GB, free: 4.062 MB / 1.057 GB Notification: Performance of sort global known variables: time 1.664e-06/74.27, allocations: 0.5625 kB / 14.87 GB, free: 4.062 MB / 1.057 GB Notification: Performance of remove unused functions: time 0.08412/74.35, allocations: 9.766 MB / 14.88 GB, free: 0 / 1.057 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 1.167/75.52, allocations: 35.21 MB / 14.92 GB, free: 126.3 MB / 1.073 GB Notification: Performance of simCode: created initialization part: time 0.06672/75.58, allocations: 23.84 MB / 14.94 GB, free: 125.9 MB / 1.073 GB Notification: Performance of simCode: created event and clocks part: time 3.26e-05/75.58, allocations: 10.44 kB / 14.94 GB, free: 125.9 MB / 1.073 GB Notification: Performance of simCode: created simulation system equations: time 0.02067/75.61, allocations: 7.31 MB / 14.95 GB, free: 125.8 MB / 1.073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08557/75.69, allocations: 10.48 MB / 14.96 GB, free: 125.6 MB / 1.073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1973/75.89, allocations: 52.14 MB / 15.01 GB, free: 119.5 MB / 1.073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.06059/75.95, allocations: 14.61 MB / 15.02 GB, free: 118.4 MB / 1.073 GB Notification: Performance of simCode: alias equations: time 0.1588/76.11, allocations: 27.23 MB / 15.05 GB, free: 118.2 MB / 1.073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02914/76.14, allocations: 7.259 MB / 15.06 GB, free: 118.2 MB / 1.073 GB Notification: Performance of SimCode: time 2.033e-06/76.14, allocations: 0 / 15.06 GB, free: 118.2 MB / 1.073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.258/78.39, allocations: 0.5943 GB / 15.65 GB, free: 15.69 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004439/78.4, allocations: 253.1 kB / 15.65 GB, free: 15.35 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 32.31/110.7, allocations: 0 / 15.65 GB, free: 15.35 MB / 1.104 GB