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_T.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_T,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",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.01693/0.01693, 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.002105/0.002105, 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.29/2.29, allocations: 194.6 MB / 211.3 MB, free: 11.03 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.379/2.379, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005145/0.0005145, allocations: 12 kB / 0.587 GB, free: 2.074 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7543/0.7549, allocations: 98.72 MB / 0.6834 GB, free: 16.79 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.192/7.947, allocations: 2.231 GB / 2.914 GB, free: 160.6 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/7.947, allocations: 105.2 kB / 2.915 GB, free: 160.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.93/18.88, allocations: 2.006 GB / 4.921 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.326e-06/18.88, allocations: 3.125 kB / 4.921 GB, free: 89.75 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000504/18.88, allocations: 59.98 kB / 4.921 GB, free: 89.69 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.01374/18.89, allocations: 2.983 MB / 4.924 GB, free: 86.65 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/18.89, allocations: 8.031 kB / 4.924 GB, free: 86.64 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001004/18.89, allocations: 198.4 kB / 4.924 GB, free: 86.44 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008434/18.9, allocations: 0.771 MB / 4.924 GB, free: 85.69 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0106/18.91, allocations: 2.236 MB / 4.927 GB, free: 83.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/18.91, allocations: 110.6 kB / 4.927 GB, free: 83.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006963/18.91, allocations: 144 kB / 4.927 GB, free: 83.16 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005771/18.92, allocations: 1.604 MB / 4.928 GB, free: 81.48 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/18.92, allocations: 11.94 kB / 4.928 GB, free: 81.46 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002596/18.92, allocations: 59.94 kB / 4.929 GB, free: 81.41 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.981e-05/18.92, allocations: 46.55 kB / 4.929 GB, free: 81.36 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005664/18.93, allocations: 1.286 MB / 4.93 GB, free: 80.07 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.01775/18.94, allocations: 7.384 MB / 4.937 GB, free: 72.12 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003832/18.95, allocations: 1.508 MB / 4.939 GB, free: 70.48 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001696/18.95, allocations: 0.7565 MB / 4.939 GB, free: 69.57 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002013/18.95, allocations: 0.5205 MB / 4.94 GB, free: 69.04 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001569/18.95, allocations: 135.1 kB / 4.94 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=84): time 6.682e-06/18.95, allocations: 0 / 4.94 GB, free: 68.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.006735/18.96, allocations: 1.493 MB / 4.941 GB, free: 67.39 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.677e-05/18.96, allocations: 167.2 kB / 4.942 GB, free: 67.19 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003656/18.96, allocations: 1.348 MB / 4.943 GB, free: 65.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003674/18.96, allocations: 53.69 kB / 4.943 GB, free: 65.74 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001298/18.97, allocations: 0.9399 MB / 4.944 GB, free: 64.79 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005274/18.97, allocations: 291.7 kB / 4.944 GB, free: 64.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/18.97, allocations: 27.98 kB / 4.944 GB, free: 64.48 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001189/18.97, allocations: 349.9 kB / 4.944 GB, free: 64.13 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001595/18.97, allocations: 402.4 kB / 4.945 GB, free: 63.73 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002061/18.97, allocations: 0.8013 MB / 4.946 GB, free: 62.76 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/18.97, allocations: 0.5569 MB / 4.946 GB, free: 62.19 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/18.97, allocations: 7.938 kB / 4.946 GB, free: 62.18 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.005048/18.98, allocations: 1.389 MB / 4.948 GB, free: 60.77 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008397/18.98, allocations: 3.517 MB / 4.951 GB, free: 56.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.946e-05/18.98, allocations: 8 kB / 4.951 GB, free: 56.97 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.267e-05/18.98, allocations: 16 kB / 4.951 GB, free: 56.95 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002266/18.98, allocations: 259.6 kB / 4.951 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.709e-05/18.98, allocations: 15.94 kB / 4.951 GB, free: 56.68 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002999/18.98, allocations: 151.7 kB / 4.951 GB, free: 56.54 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003701/18.98, allocations: 63.98 kB / 4.951 GB, free: 56.47 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/18.98, allocations: 4 kB / 4.951 GB, free: 56.47 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004024/18.99, allocations: 1.182 MB / 4.953 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.475e-05/18.99, allocations: 8 kB / 4.953 GB, free: 55.27 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.297e-05/18.99, allocations: 16 kB / 4.953 GB, free: 55.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/18.99, allocations: 247.6 kB / 4.953 GB, free: 55.01 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-05/18.99, allocations: 20.28 kB / 4.953 GB, free: 54.99 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002944/18.99, allocations: 143.7 kB / 4.953 GB, free: 54.85 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003587/18.99, allocations: 55.98 kB / 4.953 GB, free: 54.79 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (135): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001797/19, allocations: 0.5397 MB / 4.954 GB, free: 54.24 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006106/19, allocations: 177.8 kB / 4.954 GB, free: 54.07 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004437/19, allocations: 1.106 MB / 4.955 GB, free: 52.95 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/19, allocations: 8 kB / 4.955 GB, free: 52.95 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/19, allocations: 4 kB / 4.955 GB, free: 52.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003278/19, allocations: 1.178 MB / 4.956 GB, free: 51.68 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.009338/19.01, allocations: 2.684 MB / 4.959 GB, free: 48.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/19.01, allocations: 4 kB / 4.959 GB, free: 48.89 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001759/19.02, allocations: 183.9 kB / 4.959 GB, free: 48.71 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003379/19.02, allocations: 40.83 kB / 4.959 GB, free: 48.67 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001958/19.02, allocations: 23.98 kB / 4.959 GB, free: 48.65 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001563/19.02, allocations: 1.436 MB / 4.96 GB, free: 47.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/19.02, allocations: 3.953 kB / 4.96 GB, free: 47.08 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/19.02, allocations: 1.728 MB / 4.962 GB, free: 45.28 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001466/19.02, allocations: 342.6 kB / 4.962 GB, free: 44.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006197/19.03, allocations: 20 kB / 4.962 GB, free: 44.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002665/19.03, allocations: 143.8 kB / 4.962 GB, free: 44.77 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/19.03, allocations: 64.52 kB / 4.963 GB, free: 44.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001437/19.03, allocations: 31.92 kB / 4.963 GB, free: 44.67 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002615/19.03, allocations: 1.046 MB / 4.964 GB, free: 43.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.62e-07/19.03, allocations: 0 / 4.964 GB, free: 43.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.007143/19.04, allocations: 1.306 MB / 4.965 GB, free: 42.29 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.outCon.T) * 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 (84): * Single equations (assignments): 81 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/19.05, allocations: 5.972 MB / 4.971 GB, free: 36.11 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.005926/19.06, allocations: 1.859 MB / 4.972 GB, free: 34.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/19.06, allocations: 0 / 4.972 GB, free: 34.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001996/19.06, allocations: 0.577 MB / 4.973 GB, free: 33.62 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006521/19.07, allocations: 0.7829 MB / 4.974 GB, free: 32.84 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/19.08, allocations: 11.03 MB / 4.985 GB, free: 21.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001915/19.09, allocations: 1.545 MB / 4.986 GB, free: 20.02 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.003782/19.09, allocations: 444.7 kB / 4.987 GB, free: 19.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/19.09, allocations: 0.7843 MB / 4.987 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of SimCode: time 1.714e-06/19.09, allocations: 0 / 4.987 GB, free: 18.82 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.946/20.04, allocations: 87.73 MB / 5.073 GB, free: 113.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002982/20.04, allocations: 243.8 kB / 5.073 GB, free: 113 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/26.86, allocations: 0 / 5.073 GB, free: 113 MB / 0.8855 GB