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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 4.069/4.069, allocations: 433.2 MB / 440.7 MB, free: 4.586 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.769e-05, allocations: 5.469 kB / 0.5325 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2071/0.2071, allocations: 98.73 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.65/6.858, allocations: 2.241 GB / 2.869 GB, free: 92.64 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003397/6.858, allocations: 94.48 kB / 2.87 GB, free: 92.59 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.29/17.15, allocations: 1.982 GB / 4.851 GB, free: 18.55 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.164e-06/17.15, allocations: 4 kB / 4.851 GB, free: 18.55 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0003217/17.15, allocations: 59.42 kB / 4.851 GB, free: 18.49 MB / 0.8542 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.008265/17.16, allocations: 2.472 MB / 4.854 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/17.16, allocations: 8.031 kB / 4.854 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007715/17.17, allocations: 0.762 MB / 4.855 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00862/17.18, allocations: 2.215 MB / 4.857 GB, free: 12.92 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.746e-05/17.18, allocations: 47.95 kB / 4.857 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003507/17.18, allocations: 84 kB / 4.857 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003127/17.18, allocations: 1.079 MB / 4.858 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003464/17.18, allocations: 1.343 MB / 4.859 GB, free: 10.28 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.075e-05/17.18, allocations: 7.984 kB / 4.859 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002032/17.18, allocations: 4 kB / 4.859 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.844e-05/17.18, allocations: 50.53 kB / 4.859 GB, free: 10.21 MB / 0.8542 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.0153/17.2, allocations: 7.165 MB / 4.866 GB, free: 2.492 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002103/17.2, allocations: 1.353 MB / 4.868 GB, free: 1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009633/17.2, allocations: 408.9 kB / 4.868 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001679/17.2, allocations: 0.7484 MB / 4.869 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001346/17.21, allocations: 444.5 kB / 4.869 GB, free: 15.26 MB / 0.8698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001428/17.21, allocations: 111.2 kB / 4.869 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=84): time 4.939e-06/17.21, allocations: 0 / 4.869 GB, free: 15.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=84): time 0.01043/17.22, allocations: 1.498 MB / 4.871 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/17.22, allocations: 167 kB / 4.871 GB, free: 13.44 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003184/17.22, allocations: 1.232 MB / 4.872 GB, free: 12.21 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003444/17.22, allocations: 29.7 kB / 4.872 GB, free: 12.17 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001494/17.22, allocations: 0.9319 MB / 4.873 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005868/17.22, allocations: 283.7 kB / 4.873 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/17.22, allocations: 0 / 4.873 GB, free: 10.95 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000187/17.22, allocations: 353.9 kB / 4.874 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/17.22, allocations: 334.5 kB / 4.874 GB, free: 10.27 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001389/17.23, allocations: 0.7128 MB / 4.875 GB, free: 9.391 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008133/17.23, allocations: 1.022 MB / 4.876 GB, free: 8.371 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.069e-05/17.23, allocations: 7.953 kB / 4.876 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.01026/17.24, allocations: 1.745 MB / 4.877 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001416/17.25, allocations: 3.509 MB / 4.881 GB, free: 2.809 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.208e-05/17.25, allocations: 8 kB / 4.881 GB, free: 2.801 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.885e-05/17.25, allocations: 23.95 kB / 4.881 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002343/17.25, allocations: 255.6 kB / 4.881 GB, free: 2.527 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.431e-05/17.25, allocations: 19.92 kB / 4.881 GB, free: 2.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002858/17.25, allocations: 131.7 kB / 4.881 GB, free: 2.379 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/17.25, allocations: 51.98 kB / 4.881 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/17.25, allocations: 4 kB / 4.881 GB, free: 2.324 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009601/17.26, allocations: 1.508 MB / 4.883 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.341e-05/17.26, allocations: 8 kB / 4.883 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.936e-05/17.26, allocations: 20.12 kB / 4.883 GB, free: 0.793 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002087/17.26, allocations: 251.6 kB / 4.883 GB, free: 0.5469 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.149e-05/17.26, allocations: 23.92 kB / 4.883 GB, free: 0.5234 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/17.27, allocations: 115.7 kB / 4.883 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/17.27, allocations: 55.98 kB / 4.883 GB, free: 364 kB / 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 () * 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.0004262/17.27, allocations: 143.2 kB / 4.883 GB, free: 216 kB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.7131/17.98, allocations: 1.424 MB / 4.885 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003206/17.98, allocations: 178.4 kB / 4.885 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009654/17.99, allocations: 1.518 MB / 4.886 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-05/17.99, allocations: 8.219 kB / 4.886 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/17.99, allocations: 1.5 kB / 4.886 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008304/18, allocations: 1.598 MB / 4.888 GB, free: 103.4 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.01365/18.01, allocations: 3.055 MB / 4.891 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.088e-06/18.01, allocations: 3.75 kB / 4.891 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/18.01, allocations: 182.3 kB / 4.891 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002824/18.01, allocations: 45.27 kB / 4.891 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.271e-05/18.01, allocations: 16.31 kB / 4.891 GB, free: 102.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001679/18.02, allocations: 1.376 MB / 4.893 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/18.02, allocations: 1.094 kB / 4.893 GB, free: 101.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01035/18.03, allocations: 2.109 MB / 4.895 GB, free: 101.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/18.03, allocations: 334.8 kB / 4.895 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003168/18.03, allocations: 5.359 kB / 4.895 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002027/18.03, allocations: 131.6 kB / 4.895 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002381/18.03, allocations: 59.73 kB / 4.895 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/18.03, allocations: 36.31 kB / 4.895 GB, free: 101.1 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.002066/18.03, allocations: 0.9142 MB / 4.896 GB, free: 101 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.21e-07/18.03, allocations: 0 / 4.896 GB, free: 101 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.00603/18.04, allocations: 1.198 MB / 4.897 GB, free: 100.9 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) * 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.01735/18.06, allocations: 6.474 MB / 4.904 GB, free: 98.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003692/18.06, allocations: 1.678 MB / 4.905 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.776e-06/18.06, allocations: 3.781 kB / 4.905 GB, free: 98.28 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001134/18.06, allocations: 0.4975 MB / 4.906 GB, free: 98.18 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005793/18.07, allocations: 0.7475 MB / 4.906 GB, free: 98.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01069/18.08, allocations: 3.308 MB / 4.91 GB, free: 97.37 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001313/18.08, allocations: 1.538 MB / 4.911 GB, free: 96.64 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.00469/18.08, allocations: 0.6449 MB / 4.912 GB, free: 96.62 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001315/18.08, allocations: 0.7522 MB / 4.913 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/18.08, allocations: 0 / 4.913 GB, free: 96.61 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2293/18.31, allocations: 68.36 MB / 4.979 GB, free: 94.76 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/18.31, allocations: 171.8 kB / 4.979 GB, free: 94.57 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.86/24.18, allocations: 3.469 kB / 4.979 GB, free: 94.57 MB / 0.8698 GB