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 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.AirHeater_u,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.972/3.972, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.988e-05, allocations: 8.906 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2127/0.2128, allocations: 98.74 MB / 0.6347 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.815/7.028, allocations: 2.235 GB / 2.87 GB, free: 63.52 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/7.028, allocations: 88.7 kB / 2.87 GB, free: 63.47 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.29/17.32, allocations: 1.924 GB / 4.794 GB, free: 84.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.794e-06/17.32, allocations: 0 / 4.794 GB, free: 84.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0004431/17.32, allocations: 65.39 kB / 4.794 GB, free: 84.54 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.009591/17.33, allocations: 2.62 MB / 4.797 GB, free: 81.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/17.33, allocations: 12.03 kB / 4.797 GB, free: 81.87 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007611/17.33, allocations: 223.4 kB / 4.797 GB, free: 81.64 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008127/17.33, allocations: 0.7889 MB / 4.798 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00961/17.34, allocations: 2.356 MB / 4.8 GB, free: 78.53 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/17.34, allocations: 123 kB / 4.8 GB, free: 78.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006416/17.35, allocations: 164 kB / 4.8 GB, free: 78.25 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004979/17.35, allocations: 1.732 MB / 4.802 GB, free: 76.45 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.119e-05/17.35, allocations: 7.938 kB / 4.802 GB, free: 76.44 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002784/17.35, allocations: 71.58 kB / 4.802 GB, free: 76.37 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-05/17.35, allocations: 50.94 kB / 4.802 GB, free: 76.32 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004144/17.36, allocations: 1.331 MB / 4.803 GB, free: 74.98 MB / 0.8698 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 0.01776/17.37, allocations: 8.077 MB / 4.811 GB, free: 66.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/17.38, allocations: 1.619 MB / 4.813 GB, free: 64.69 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001371/17.38, allocations: 0.5453 MB / 4.813 GB, free: 64.14 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006291/17.38, allocations: 216.6 kB / 4.814 GB, free: 63.91 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001438/17.38, allocations: 0.583 MB / 4.814 GB, free: 63.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/17.38, allocations: 121.5 kB / 4.814 GB, free: 63.19 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=102): time 5.521e-06/17.38, allocations: 0 / 4.814 GB, free: 63.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=105): time 0.008911/17.39, allocations: 2.673 MB / 4.817 GB, free: 60.46 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.998e-05/17.39, allocations: 169.8 kB / 4.817 GB, free: 60.26 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/17.39, allocations: 1.323 MB / 4.818 GB, free: 58.89 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/17.39, allocations: 53.7 kB / 4.818 GB, free: 58.84 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/17.39, allocations: 0.9824 MB / 4.819 GB, free: 57.85 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005611/17.39, allocations: 365.8 kB / 4.82 GB, free: 57.49 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/17.39, allocations: 35.44 kB / 4.82 GB, free: 57.46 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001101/17.39, allocations: 353.9 kB / 4.82 GB, free: 57.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/17.4, allocations: 426.5 kB / 4.821 GB, free: 56.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001341/17.4, allocations: 0.8018 MB / 4.821 GB, free: 55.74 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.0134/17.41, allocations: 1.677 MB / 4.823 GB, free: 54.06 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/17.41, allocations: 0 / 4.823 GB, free: 54.06 MB / 0.8698 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004082/17.41, allocations: 1.462 MB / 4.824 GB, free: 52.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006653/17.42, allocations: 3.041 MB / 4.827 GB, free: 49.31 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.751e-05/17.42, allocations: 15.98 kB / 4.827 GB, free: 49.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/17.42, allocations: 40.84 kB / 4.827 GB, free: 49.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002396/17.42, allocations: 283.6 kB / 4.828 GB, free: 48.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/17.42, allocations: 1.506 MB / 4.829 GB, free: 47.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003359/17.42, allocations: 167.6 kB / 4.829 GB, free: 47.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002583/17.42, allocations: 55.98 kB / 4.829 GB, free: 47.12 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/17.42, allocations: 8 kB / 4.829 GB, free: 47.11 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003194/17.43, allocations: 1.256 MB / 4.831 GB, free: 45.85 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.889e-05/17.43, allocations: 8 kB / 4.831 GB, free: 45.84 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001774/17.43, allocations: 45.41 kB / 4.831 GB, free: 45.79 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002144/17.43, allocations: 279.2 kB / 4.831 GB, free: 45.52 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/17.43, allocations: 1.495 MB / 4.832 GB, free: 43.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/17.43, allocations: 151.8 kB / 4.833 GB, free: 43.75 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002975/17.43, allocations: 55.98 kB / 4.833 GB, free: 43.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004914/17.43, allocations: 190.2 kB / 4.833 GB, free: 43.51 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005185/17.43, allocations: 197.6 kB / 4.833 GB, free: 43.31 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003471/17.44, allocations: 1.241 MB / 4.834 GB, free: 42.05 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.441e-05/17.44, allocations: 12 kB / 4.834 GB, free: 42.04 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/17.44, allocations: 0 / 4.834 GB, free: 42.04 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002333/17.44, allocations: 0.9772 MB / 4.835 GB, free: 41.05 MB / 0.8698 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.008892/17.45, allocations: 3.343 MB / 4.838 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/17.45, allocations: 0 / 4.838 GB, free: 37.59 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002119/17.45, allocations: 231.8 kB / 4.839 GB, free: 37.37 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003641/17.45, allocations: 77.67 kB / 4.839 GB, free: 37.29 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001489/17.45, allocations: 23.98 kB / 4.839 GB, free: 37.26 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002217/17.45, allocations: 2.748 MB / 4.841 GB, free: 34.25 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.289e-06/17.45, allocations: 11.86 kB / 4.841 GB, free: 34.24 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004478/17.46, allocations: 1.954 MB / 4.843 GB, free: 32.21 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001479/17.46, allocations: 374.6 kB / 4.844 GB, free: 31.83 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004643/17.46, allocations: 27.98 kB / 4.844 GB, free: 31.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002906/17.46, allocations: 159.6 kB / 4.844 GB, free: 31.64 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002845/17.46, allocations: 84.84 kB / 4.844 GB, free: 31.56 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001518/17.46, allocations: 39.97 kB / 4.844 GB, free: 31.52 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002223/17.47, allocations: 1.025 MB / 4.845 GB, free: 30.46 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7.71e-07/17.47, allocations: 3.938 kB / 4.845 GB, free: 30.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.006587/17.47, allocations: 1.3 MB / 4.846 GB, free: 29.16 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (103): * Single equations (assignments): 99 * 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%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01097/17.48, allocations: 6.121 MB / 4.852 GB, free: 22.77 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00514/17.49, allocations: 2.215 MB / 4.854 GB, free: 20.49 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/17.49, allocations: 3.984 kB / 4.854 GB, free: 20.49 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/17.49, allocations: 0.7488 MB / 4.855 GB, free: 19.71 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00787/17.5, allocations: 0.9679 MB / 4.856 GB, free: 18.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01328/17.51, allocations: 3.767 MB / 4.86 GB, free: 14.96 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001501/17.51, allocations: 1.644 MB / 4.861 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.005428/17.52, allocations: 0.6931 MB / 4.862 GB, free: 12.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00183/17.52, allocations: 0.8234 MB / 4.863 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of SimCode: time 1.763e-06/17.52, allocations: 0 / 4.863 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9502/18.47, allocations: 106.8 MB / 4.967 GB, free: 90.15 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002692/18.47, allocations: 220.6 kB / 4.967 GB, free: 89.93 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.728/26.2, allocations: 0 / 4.967 GB, free: 89.93 MB / 0.8698 GB