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 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.DryCoilDiscretizedPControl,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretizedPControl",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.01112/0.01112, allocations: 106.6 kB / 15.05 MB, free: 5.93 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.001201/0.001201, allocations: 186.4 kB / 15.94 MB, free: 5.895 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.069/2.069, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.25/2.25, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005411/0.0005412, allocations: 12 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7025/0.7031, allocations: 98.71 MB / 0.6834 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.144/8.847, allocations: 2.481 GB / 3.164 GB, free: 201.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/8.848, allocations: 100.5 kB / 3.164 GB, free: 201.6 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 50.62/59.47, allocations: 8.988 GB / 12.15 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.895e-06/59.47, allocations: 0 / 12.15 GB, free: 67.69 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.00606/59.47, allocations: 388.2 kB / 12.15 GB, free: 67.64 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.1113/59.58, allocations: 20.62 MB / 12.17 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/59.58, allocations: 10.06 kB / 12.17 GB, free: 61.45 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0124/59.6, allocations: 1.777 MB / 12.17 GB, free: 61.33 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03716/59.63, allocations: 3.601 MB / 12.18 GB, free: 60.4 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1091/59.74, allocations: 29.16 MB / 12.21 GB, free: 58.35 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002063/59.74, allocations: 0.8876 MB / 12.21 GB, free: 58.32 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.009075/59.75, allocations: 1.223 MB / 12.21 GB, free: 58.31 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08472/59.84, allocations: 21.83 MB / 12.23 GB, free: 57.34 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001197/59.84, allocations: 39.34 kB / 12.23 GB, free: 57.34 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007516/59.85, allocations: 490.9 kB / 12.23 GB, free: 57.34 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009526/59.85, allocations: 0.5397 MB / 12.23 GB, free: 57.32 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06979/59.92, allocations: 20.18 MB / 12.25 GB, free: 57.22 MB / 0.9792 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.2303/60.15, allocations: 93.71 MB / 12.34 GB, free: 26.36 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03598/60.18, allocations: 13.87 MB / 12.36 GB, free: 24.52 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003509/60.19, allocations: 0.9933 MB / 12.36 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02122/60.21, allocations: 7.24 MB / 12.36 GB, free: 37.46 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01765/60.23, allocations: 1.581 MB / 12.37 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=709): time 2.93e-05/60.23, allocations: 1.625 kB / 12.37 GB, free: 37.04 MB / 0.9948 GB Notification: Performance of matching and sorting (n=721): time 0.1459/60.37, allocations: 36.2 MB / 12.4 GB, free: 13.88 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003122/60.37, allocations: 259.7 kB / 12.4 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.06886/60.44, allocations: 15.7 MB / 12.42 GB, free: 0.7148 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.003171/60.45, allocations: 185 kB / 12.42 GB, free: 0.5312 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.02073/60.47, allocations: 7.421 MB / 12.42 GB, free: 10.35 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.007147/60.47, allocations: 2.61 MB / 12.43 GB, free: 7.973 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002541/60.48, allocations: 148 kB / 12.43 GB, free: 7.828 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.001287/60.48, allocations: 0.6575 MB / 12.43 GB, free: 7.25 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01895/60.5, allocations: 6.344 MB / 12.43 GB, free: 2.035 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.952/62.45, allocations: 10.03 MB / 12.44 GB, free: 94.66 MB / 1.011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02558/62.47, allocations: 8.265 MB / 12.45 GB, free: 94.53 MB / 1.011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001061/62.47, allocations: 9.906 kB / 12.45 GB, free: 94.53 MB / 1.011 GB Notification: Performance of matching and sorting (n=948) (initialization): time 0.06017/62.53, allocations: 16.2 MB / 12.47 GB, free: 94.28 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 0.006086/62.54, allocations: 20.59 MB / 12.49 GB, free: 73.17 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002957/62.54, allocations: 37.23 kB / 12.49 GB, free: 73.17 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002917/62.54, allocations: 491.8 kB / 12.49 GB, free: 73.16 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02426/62.57, allocations: 1.993 MB / 12.49 GB, free: 73.16 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01783/62.59, allocations: 6.394 MB / 12.5 GB, free: 71.25 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.04306/62.63, allocations: 2.16 MB / 12.5 GB, free: 71.25 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004095/62.63, allocations: 296.4 kB / 12.5 GB, free: 71.25 MB / 1.011 GB Notification: Performance of prepare postOptimizeDAE: time 2.272e-05/62.63, allocations: 11.27 kB / 12.5 GB, free: 71.25 MB / 1.011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.06365/62.7, allocations: 15.13 MB / 12.51 GB, free: 71.02 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000179/62.7, allocations: 32.62 kB / 12.51 GB, free: 71.02 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001976/62.7, allocations: 490.9 kB / 12.51 GB, free: 71.01 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01877/62.72, allocations: 1.972 MB / 12.52 GB, free: 71.01 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01162/62.73, allocations: 5.799 MB / 12.52 GB, free: 69.68 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02951/62.76, allocations: 2.125 MB / 12.52 GB, free: 69.68 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002893/62.76, allocations: 302.3 kB / 12.52 GB, free: 69.68 MB / 1.011 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 () * Number of clocked 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.02926/62.79, allocations: 10.28 MB / 12.53 GB, free: 69.46 MB / 1.011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00842/62.8, allocations: 1.172 MB / 12.53 GB, free: 69.45 MB / 1.011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05646/62.86, allocations: 15.2 MB / 12.55 GB, free: 69.05 MB / 1.011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000104/62.86, allocations: 73.78 kB / 12.55 GB, free: 69.05 MB / 1.011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-05/62.86, allocations: 3.719 kB / 12.55 GB, free: 69.05 MB / 1.011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0388/62.9, allocations: 12.61 MB / 12.56 GB, free: 68.46 MB / 1.011 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.1272/63.02, allocations: 37.62 MB / 12.6 GB, free: 67.09 MB / 1.011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.799e-05/63.02, allocations: 5.688 kB / 12.6 GB, free: 67.09 MB / 1.011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01947/63.04, allocations: 2.133 MB / 12.6 GB, free: 67.09 MB / 1.011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/63.04, allocations: 446.5 kB / 12.6 GB, free: 67.07 MB / 1.011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002563/63.05, allocations: 242.5 kB / 12.6 GB, free: 67.07 MB / 1.011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01155/63.06, allocations: 6.321 MB / 12.61 GB, free: 65.15 MB / 1.011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.876e-06/63.06, allocations: 8.562 kB / 12.61 GB, free: 65.15 MB / 1.011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.06605/63.13, allocations: 24.69 MB / 12.63 GB, free: 62.98 MB / 1.011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01832/63.14, allocations: 4.055 MB / 12.64 GB, free: 62.3 MB / 1.011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007106/63.15, allocations: 223.7 kB / 12.64 GB, free: 62.3 MB / 1.011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02564/63.18, allocations: 1.774 MB / 12.64 GB, free: 62.27 MB / 1.011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003097/63.18, allocations: 444.4 kB / 12.64 GB, free: 62.25 MB / 1.011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002703/63.18, allocations: 235.8 kB / 12.64 GB, free: 62.25 MB / 1.011 GB Notification: Performance of sorting global known variables: time 0.0908/63.27, allocations: 12.48 MB / 12.65 GB, free: 61.93 MB / 1.011 GB Notification: Performance of sort global known variables: time 6.21e-07/63.27, allocations: 0 / 12.65 GB, free: 61.93 MB / 1.011 GB Notification: Performance of remove unused functions: time 0.07699/63.35, allocations: 8.68 MB / 12.66 GB, free: 61.93 MB / 1.011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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) * Number of clocked states: 0 () * 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.07915/63.43, allocations: 30.41 MB / 12.69 GB, free: 56.44 MB / 1.011 GB Notification: Performance of simCode: created initialization part: time 0.05899/63.49, allocations: 22.27 MB / 12.71 GB, free: 53.51 MB / 1.011 GB Notification: Performance of simCode: created event and clocks part: time 2.632e-05/63.49, allocations: 16.16 kB / 12.71 GB, free: 53.49 MB / 1.011 GB Notification: Performance of simCode: created simulation system equations: time 0.02339/63.51, allocations: 7.033 MB / 12.72 GB, free: 49.01 MB / 1.011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.1036/63.62, allocations: 9.322 MB / 12.73 GB, free: 42.86 MB / 1.011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2607/63.88, allocations: 83.17 MB / 12.81 GB, free: 15.61 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.05232/63.93, allocations: 13.04 MB / 12.82 GB, free: 5.355 MB / 1.057 GB Notification: Performance of simCode: alias equations: time 1.126/65.05, allocations: 13.77 MB / 12.83 GB, free: 115.5 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02893/65.08, allocations: 6.636 MB / 12.84 GB, free: 115.5 MB / 1.057 GB Notification: Performance of SimCode: time 1.673e-06/65.08, allocations: 1.438 kB / 12.84 GB, free: 115.5 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.222/67.31, allocations: 0.5189 GB / 13.36 GB, free: 146.3 MB / 1.104 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/67.31, allocations: 288.3 kB / 13.36 GB, free: 145.9 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 25.45/92.75, allocations: 0 / 13.36 GB, free: 145.9 MB / 1.104 GB