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.DryCoilDiscretized.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.DryCoilDiscretized,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilDiscretized",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.01675/0.01675, allocations: 106.2 kB / 15.05 MB, free: 5.934 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.002032/0.002032, allocations: 186.3 kB / 15.95 MB, free: 5.898 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.166/2.166, allocations: 194.6 MB / 211.3 MB, free: 11.04 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.518/2.518, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005325/0.0005327, allocations: 16 kB / 0.587 GB, free: 2.082 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7324, allocations: 98.72 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 8.103/8.835, allocations: 2.456 GB / 3.14 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003616/8.835, allocations: 94.34 kB / 3.14 GB, free: 216.2 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 28.28/37.12, allocations: 5.254 GB / 8.394 GB, free: 8.676 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.417e-06/37.12, allocations: 0 / 8.394 GB, free: 8.676 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.002891/37.12, allocations: 207 kB / 8.395 GB, free: 8.477 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1612 * Number of variables: 1612 Notification: Performance of Generate backend data structure: time 1.853/38.98, allocations: 11.29 MB / 8.406 GB, free: 59.39 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/38.98, allocations: 13.8 kB / 8.406 GB, free: 59.39 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006691/38.98, allocations: 0.9479 MB / 8.407 GB, free: 59.31 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02027/39, allocations: 1.867 MB / 8.408 GB, free: 58.82 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06116/39.06, allocations: 15.16 MB / 8.423 GB, free: 58.02 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009817/39.07, allocations: 484.1 kB / 8.424 GB, free: 58.01 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004488/39.07, allocations: 0.6427 MB / 8.424 GB, free: 58 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04799/39.12, allocations: 11.55 MB / 8.436 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007094/39.12, allocations: 18.47 kB / 8.436 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00383/39.12, allocations: 266.3 kB / 8.436 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000484/39.12, allocations: 293.2 kB / 8.436 GB, free: 57.38 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03682/39.16, allocations: 10.76 MB / 8.447 GB, free: 57.32 MB / 0.948 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.1242/39.28, allocations: 49.8 MB / 8.495 GB, free: 40.55 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01857/39.3, allocations: 6.877 MB / 8.502 GB, free: 40.38 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001971/39.3, allocations: 0.9337 MB / 8.503 GB, free: 39.43 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/39.31, allocations: 82.59 kB / 8.503 GB, free: 39.39 MB / 0.948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.01283/39.32, allocations: 1.379 MB / 8.504 GB, free: 39.32 MB / 0.948 GB Notification: Performance of pre-optimization done (n=367): time 2.812e-05/39.32, allocations: 0 / 8.504 GB, free: 39.32 MB / 0.948 GB Notification: Performance of matching and sorting (n=373): time 0.0803/39.4, allocations: 19.41 MB / 8.523 GB, free: 37.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/39.4, allocations: 91.44 kB / 8.523 GB, free: 37.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02643/39.42, allocations: 8.125 MB / 8.531 GB, free: 37.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.001882/39.43, allocations: 104 kB / 8.531 GB, free: 37 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007433/39.43, allocations: 3.665 MB / 8.535 GB, free: 35.85 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.003579/39.44, allocations: 1.32 MB / 8.536 GB, free: 35.01 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001503/39.44, allocations: 73.5 kB / 8.536 GB, free: 35.01 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000652/39.44, allocations: 497.5 kB / 8.537 GB, free: 34.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009813/39.45, allocations: 3.356 MB / 8.54 GB, free: 34.69 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01213/39.46, allocations: 4.591 MB / 8.545 GB, free: 33.61 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01196/39.47, allocations: 4.322 MB / 8.549 GB, free: 33.56 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.521e-05/39.47, allocations: 7.719 kB / 8.549 GB, free: 33.56 MB / 0.948 GB Notification: Performance of matching and sorting (n=490) (initialization): time 0.02996/39.5, allocations: 8.569 MB / 8.557 GB, free: 33.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.005728/39.51, allocations: 8.982 MB / 8.566 GB, free: 39.79 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001301/39.51, allocations: 18.06 kB / 8.566 GB, free: 39.79 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/39.51, allocations: 253.5 kB / 8.566 GB, free: 39.78 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01001/39.52, allocations: 1.089 MB / 8.567 GB, free: 39.78 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006778/39.53, allocations: 3.568 MB / 8.571 GB, free: 38.43 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01705/39.55, allocations: 1.165 MB / 8.572 GB, free: 38.38 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00175/39.55, allocations: 165 kB / 8.572 GB, free: 38.38 MB / 0.9637 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/39.55, allocations: 3.656 kB / 8.572 GB, free: 38.38 MB / 0.9637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0259/39.57, allocations: 7.995 MB / 8.58 GB, free: 38.28 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/39.57, allocations: 21.34 kB / 8.58 GB, free: 38.28 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/39.57, allocations: 257.8 kB / 8.58 GB, free: 38.27 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009877/39.58, allocations: 1.088 MB / 8.581 GB, free: 38.27 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006635/39.59, allocations: 3.563 MB / 8.585 GB, free: 36.92 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01684/39.61, allocations: 1.149 MB / 8.586 GB, free: 36.87 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001722/39.61, allocations: 165.8 kB / 8.586 GB, free: 36.87 MB / 0.9637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 81 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (478): * Single equations (assignments): 477 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.01428/39.62, allocations: 5.31 MB / 8.591 GB, free: 36.66 MB / 0.9637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003951/39.63, allocations: 0.6226 MB / 8.592 GB, free: 36.34 MB / 0.9637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02822/39.66, allocations: 8.045 MB / 8.6 GB, free: 36.11 MB / 0.9637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.918e-05/39.66, allocations: 42.42 kB / 8.6 GB, free: 36.11 MB / 0.9637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.278e-05/39.66, allocations: 0 / 8.6 GB, free: 36.11 MB / 0.9637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02067/39.68, allocations: 6.785 MB / 8.606 GB, free: 35.57 MB / 0.9637 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.06773/39.75, allocations: 19.86 MB / 8.626 GB, free: 34.42 MB / 0.9637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.675e-05/39.75, allocations: 3.75 kB / 8.626 GB, free: 34.42 MB / 0.9637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01016/39.76, allocations: 1.119 MB / 8.627 GB, free: 34.42 MB / 0.9637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/39.76, allocations: 234.9 kB / 8.627 GB, free: 34.41 MB / 0.9637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001359/39.76, allocations: 130.1 kB / 8.627 GB, free: 34.41 MB / 0.9637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006213/39.76, allocations: 3.538 MB / 8.631 GB, free: 33.06 MB / 0.9637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.155e-06/39.76, allocations: 5.125 kB / 8.631 GB, free: 33.06 MB / 0.9637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03469/39.8, allocations: 12.83 MB / 8.643 GB, free: 31.64 MB / 0.9637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009964/39.81, allocations: 2.117 MB / 8.645 GB, free: 31.23 MB / 0.9637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004162/39.81, allocations: 125.3 kB / 8.645 GB, free: 31.23 MB / 0.9637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01425/39.83, allocations: 0.9572 MB / 8.646 GB, free: 31.19 MB / 0.9637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001711/39.83, allocations: 229.6 kB / 8.646 GB, free: 31.18 MB / 0.9637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00126/39.83, allocations: 123 kB / 8.647 GB, free: 31.18 MB / 0.9637 GB Notification: Performance of sorting global known variables: time 0.01887/39.85, allocations: 6.456 MB / 8.653 GB, free: 30.96 MB / 0.9637 GB Notification: Performance of sort global known variables: time 7.42e-07/39.85, allocations: 0 / 8.653 GB, free: 30.96 MB / 0.9637 GB Notification: Performance of remove unused functions: time 0.03426/39.88, allocations: 4.699 MB / 8.657 GB, free: 30.96 MB / 0.9637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 25 (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.m,hex.hexReg[2].ele[1,3].vol2.dynBal.mXi[1],hex.hexReg[2].ele[1,3].mas.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (372): * Single equations (assignments): 367 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.04526/39.93, allocations: 18.27 MB / 8.675 GB, free: 23.25 MB / 0.9637 GB Notification: Performance of simCode: created initialization part: time 0.0323/39.96, allocations: 11.78 MB / 8.687 GB, free: 19.89 MB / 0.9637 GB Notification: Performance of simCode: created event and clocks part: time 1.664e-05/39.96, allocations: 1.719 kB / 8.687 GB, free: 19.89 MB / 0.9637 GB Notification: Performance of simCode: created simulation system equations: time 0.0104/39.97, allocations: 3.666 MB / 8.69 GB, free: 17.78 MB / 0.9637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04072/40.01, allocations: 4.863 MB / 8.695 GB, free: 14.57 MB / 0.9637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1121/40.13, allocations: 43.73 MB / 8.738 GB, free: 8.953 MB / 0.9949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02026/40.15, allocations: 7.161 MB / 8.745 GB, free: 3.355 MB / 0.9949 GB Notification: Performance of simCode: alias equations: time 0.03614/40.18, allocations: 6.907 MB / 8.752 GB, free: 15.39 MB / 1.011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01512/40.2, allocations: 3.357 MB / 8.755 GB, free: 12.29 MB / 1.011 GB Notification: Performance of SimCode: time 1.482e-06/40.2, allocations: 0 / 8.755 GB, free: 12.29 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.566/41.76, allocations: 306.5 MB / 9.054 GB, free: 49.72 MB / 1.011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/41.76, allocations: 250 kB / 9.054 GB, free: 49.39 MB / 1.011 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.58/56.34, allocations: 0.9062 kB / 9.054 GB, free: 49.39 MB / 1.011 GB