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.AirHeater_u.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.AirHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",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.01697/0.01697, 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.002048/0.002048, 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.132/2.132, allocations: 194.6 MB / 211.3 MB, free: 11.05 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.614/2.614, allocations: 236.1 MB / 492.6 MB, free: 11.34 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005147/0.0005147, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7231/0.7237, allocations: 98.73 MB / 0.6834 GB, free: 16.67 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.223/7.946, allocations: 2.225 GB / 2.909 GB, free: 176.7 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/7.947, allocations: 97.66 kB / 2.909 GB, free: 176.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.72/18.66, allocations: 1.926 GB / 4.835 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.975e-06/18.66, allocations: 3.234 kB / 4.835 GB, free: 104.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004744/18.67, allocations: 63.45 kB / 4.835 GB, free: 104.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.01438/18.68, allocations: 3.149 MB / 4.838 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.199e-05/18.68, allocations: 15.11 kB / 4.838 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00114/18.68, allocations: 222 kB / 4.838 GB, free: 103.2 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008517/18.69, allocations: 0.7848 MB / 4.839 GB, free: 103.1 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/18.7, allocations: 2.389 MB / 4.841 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002153/18.7, allocations: 124.3 kB / 4.841 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007489/18.7, allocations: 170.8 kB / 4.841 GB, free: 102.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006226/18.71, allocations: 1.797 MB / 4.843 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.691e-05/18.71, allocations: 7.062 kB / 4.843 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003057/18.71, allocations: 65.47 kB / 4.843 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.12e-05/18.71, allocations: 56.08 kB / 4.843 GB, free: 102.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005864/18.71, allocations: 1.464 MB / 4.845 GB, free: 102.3 MB / 0.8698 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.01909/18.73, allocations: 8.075 MB / 4.853 GB, free: 98.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003949/18.74, allocations: 1.747 MB / 4.854 GB, free: 97.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007166/18.74, allocations: 213.3 kB / 4.855 GB, free: 97.43 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002256/18.74, allocations: 0.6503 MB / 4.855 GB, free: 97.37 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001574/18.74, allocations: 120.1 kB / 4.855 GB, free: 97.33 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=102): time 6.452e-06/18.74, allocations: 0 / 4.855 GB, free: 97.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=105): time 0.01441/18.76, allocations: 3.457 MB / 4.859 GB, free: 96.51 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.926e-05/18.76, allocations: 168 kB / 4.859 GB, free: 96.32 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/18.76, allocations: 1.349 MB / 4.86 GB, free: 96.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004358/18.76, allocations: 53.8 kB / 4.86 GB, free: 96.08 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/18.76, allocations: 0.9788 MB / 4.861 GB, free: 95.75 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006609/18.76, allocations: 370.9 kB / 4.862 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000135/18.76, allocations: 24.28 kB / 4.862 GB, free: 95.52 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001254/18.76, allocations: 359.2 kB / 4.862 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001771/18.76, allocations: 492.2 kB / 4.862 GB, free: 95.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002145/18.77, allocations: 0.8655 MB / 4.863 GB, free: 94.79 MB / 0.8698 GB Notification: It was not possible to check the given initialization system for consistency symbolically, because the relevant equations are part of an algebraic loop. This is not supported yet. Notification: Performance of analyzeInitialSystem (initialization): time 0.01479/18.78, allocations: 1.746 MB / 4.865 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/18.78, allocations: 3.375 kB / 4.865 GB, free: 94.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005719/18.79, allocations: 1.583 MB / 4.866 GB, free: 94.52 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007389/18.79, allocations: 3.038 MB / 4.869 GB, free: 91.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.978e-05/18.79, allocations: 15.23 kB / 4.869 GB, free: 91.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003192/18.79, allocations: 55.94 kB / 4.87 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002384/18.79, allocations: 273.8 kB / 4.87 GB, free: 91.34 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/18.79, allocations: 1.607 MB / 4.871 GB, free: 90 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/18.8, allocations: 155.5 kB / 4.871 GB, free: 90 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003645/18.8, allocations: 61.34 kB / 4.872 GB, free: 90 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/18.8, allocations: 2.969 kB / 4.872 GB, free: 90 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004439/18.8, allocations: 1.367 MB / 4.873 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.196e-05/18.8, allocations: 9.875 kB / 4.873 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002017/18.8, allocations: 53.2 kB / 4.873 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/18.8, allocations: 267.6 kB / 4.873 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001549/18.8, allocations: 1.585 MB / 4.875 GB, free: 88.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003388/18.81, allocations: 155.5 kB / 4.875 GB, free: 88.59 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003746/18.81, allocations: 57.7 kB / 4.875 GB, free: 88.59 MB / 0.8698 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001938/18.81, allocations: 0.6011 MB / 4.876 GB, free: 88.39 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006648/18.81, allocations: 191.8 kB / 4.876 GB, free: 88.29 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004775/18.82, allocations: 1.367 MB / 4.877 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/18.82, allocations: 9.406 kB / 4.877 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/18.82, allocations: 2.844 kB / 4.877 GB, free: 88.19 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00378/18.82, allocations: 1.105 MB / 4.878 GB, free: 88.08 MB / 0.8698 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.0106/18.83, allocations: 3.423 MB / 4.881 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/18.83, allocations: 0 / 4.881 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002198/18.83, allocations: 233 kB / 4.882 GB, free: 87.46 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004149/18.83, allocations: 80.06 kB / 4.882 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001879/18.83, allocations: 29.75 kB / 4.882 GB, free: 87.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002725/18.84, allocations: 2.924 MB / 4.885 GB, free: 84.87 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.421e-06/18.84, allocations: 7.578 kB / 4.885 GB, free: 84.87 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006601/18.84, allocations: 2.132 MB / 4.887 GB, free: 84.44 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001647/18.84, allocations: 376.3 kB / 4.887 GB, free: 84.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/18.85, allocations: 35.31 kB / 4.887 GB, free: 84.25 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00297/18.85, allocations: 154.1 kB / 4.887 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003068/18.85, allocations: 75.97 kB / 4.887 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/18.85, allocations: 41.89 kB / 4.887 GB, free: 84.24 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002448/18.85, allocations: 1.041 MB / 4.888 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2.124e-06/18.85, allocations: 0 / 4.888 GB, free: 84.09 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007356/18.86, allocations: 1.302 MB / 4.89 GB, free: 84.04 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01356/18.87, allocations: 6.324 MB / 4.896 GB, free: 81.55 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007039/18.88, allocations: 2.328 MB / 4.898 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/18.88, allocations: 0 / 4.898 GB, free: 81.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002306/18.88, allocations: 0.8255 MB / 4.899 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007978/18.89, allocations: 0.9699 MB / 4.9 GB, free: 80.85 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01929/18.91, allocations: 11.29 MB / 4.911 GB, free: 72.82 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/18.91, allocations: 1.636 MB / 4.913 GB, free: 72.09 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.004062/18.91, allocations: 0.5112 MB / 4.913 GB, free: 72.07 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002207/18.92, allocations: 0.8537 MB / 4.914 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of SimCode: time 1.513e-06/18.92, allocations: 0 / 4.914 GB, free: 72.06 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.209/19.13, allocations: 95.78 MB / 5.007 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002835/19.13, allocations: 250.8 kB / 5.008 GB, free: 3.445 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.114/26.24, allocations: 4.062 kB / 5.008 GB, free: 3.441 MB / 0.8698 GB