Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01016/0.01016, allocations: 90.67 kB / 15.04 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001172/0.001172, allocations: 175.2 kB / 15.92 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.273/2.273, allocations: 205.5 MB / 222.2 MB, free: 13.57 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.508/2.508, allocations: 252.8 MB / 0.511 GB, free: 8.281 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005082, allocations: 14.16 kB / 0.6243 GB, free: 21.12 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2408, allocations: 106.2 MB / 0.7281 GB, free: 8.066 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9659/1.207, allocations: 194.2 MB / 0.9178 GB, free: 9.031 MB / 0.6667 GB Notification: Performance of NFInst.instExpressions: time 0.04001/1.247, allocations: 17.26 MB / 0.9346 GB, free: 11.54 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004108/1.251, allocations: 66.53 kB / 0.9347 GB, free: 11.51 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0065/1.258, allocations: 1.195 MB / 0.9358 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.01666/1.274, allocations: 3.253 MB / 0.939 GB, free: 7.922 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.01509/1.289, allocations: 3.094 MB / 0.942 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.01006/1.299, allocations: 2.964 MB / 0.9449 GB, free: 3.906 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004219/1.304, allocations: 1.419 MB / 0.9463 GB, free: 3.047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006954/1.311, allocations: 1.909 MB / 0.9482 GB, free: 1.848 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003256/1.314, allocations: 1.087 MB / 0.9492 GB, free: 1.207 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006641/1.315, allocations: 84.56 kB / 0.9493 GB, free: 1.203 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007453/1.322, allocations: 1.83 MB / 0.9511 GB, free: 344 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.001647/1.324, allocations: 0.5836 MB / 0.9517 GB, free: 15.96 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00128/1.325, allocations: 466.5 kB / 0.9521 GB, free: 15.71 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.007188/1.333, allocations: 2.91 MB / 0.955 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/1.333, allocations: 0 / 0.955 GB, free: 13.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.808e-06/1.333, allocations: 0 / 0.955 GB, free: 13.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001276/1.333, allocations: 0 / 0.955 GB, free: 13.79 MB / 0.698 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.007831/1.341, allocations: 2.446 MB / 0.9574 GB, free: 12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/1.341, allocations: 12.44 kB / 0.9574 GB, free: 11.99 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007558/1.341, allocations: 206.8 kB / 0.9576 GB, free: 11.83 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007871/1.349, allocations: 0.8083 MB / 0.9584 GB, free: 11.47 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005619/1.355, allocations: 1.603 MB / 0.9599 GB, free: 10.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007146/1.356, allocations: 182.6 kB / 0.9601 GB, free: 10.22 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005533/1.356, allocations: 152 kB / 0.9602 GB, free: 10.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005804/1.362, allocations: 1.685 MB / 0.9619 GB, free: 8.645 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.787e-05/1.362, allocations: 3.938 kB / 0.9619 GB, free: 8.641 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002389/1.363, allocations: 59.95 kB / 0.9619 GB, free: 8.582 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.392e-05/1.363, allocations: 46.55 kB / 0.962 GB, free: 8.535 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006497/1.369, allocations: 1.482 MB / 0.9634 GB, free: 7.047 MB / 0.698 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.01898/1.388, allocations: 7.701 MB / 0.971 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005026/1.393, allocations: 1.64 MB / 0.9726 GB, free: 13 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001923/1.395, allocations: 0.6401 MB / 0.9732 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002225/1.397, allocations: 0.5673 MB / 0.9737 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/1.399, allocations: 123.2 kB / 0.9739 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 4.298e-06/1.399, allocations: 0 / 0.9739 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.007114/1.406, allocations: 1.653 MB / 0.9755 GB, free: 9.867 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.413e-05/1.406, allocations: 137.5 kB / 0.9756 GB, free: 9.703 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003445/1.409, allocations: 1.617 MB / 0.9772 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003007/1.41, allocations: 49.7 kB / 0.9772 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.001213/1.411, allocations: 0.9322 MB / 0.9781 GB, free: 7.043 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004643/1.412, allocations: 295.7 kB / 0.9784 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/1.412, allocations: 20 kB / 0.9784 GB, free: 6.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001705/1.412, allocations: 353.9 kB / 0.9788 GB, free: 6.379 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001905/1.414, allocations: 462.3 kB / 0.9792 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002245/1.416, allocations: 0.8149 MB / 0.98 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/1.418, allocations: 0.5785 MB / 0.9806 GB, free: 4.371 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/1.418, allocations: 4 kB / 0.9806 GB, free: 4.367 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005409/1.424, allocations: 1.469 MB / 0.982 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001489/1.425, allocations: 3.307 MB / 0.9852 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.234e-05/1.425, allocations: 12 kB / 0.9853 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.394e-05/1.425, allocations: 16 kB / 0.9853 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/1.428, allocations: 279.6 kB / 0.9855 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.381e-05/1.428, allocations: 23.88 kB / 0.9856 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002822/1.431, allocations: 160.4 kB / 0.9857 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001886/1.431, allocations: 55.98 kB / 0.9858 GB, free: 14.78 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/1.431, allocations: 7.938 kB / 0.9858 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004855/1.436, allocations: 1.286 MB / 0.987 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.223e-05/1.436, allocations: 12 kB / 0.987 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.991e-05/1.436, allocations: 19.94 kB / 0.9871 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002214/1.438, allocations: 280 kB / 0.9873 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.937e-05/1.438, allocations: 19.94 kB / 0.9873 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002799/1.441, allocations: 160.4 kB / 0.9875 GB, free: 13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/1.441, allocations: 51.98 kB / 0.9876 GB, free: 12.95 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (134): * Single equations (assignments): 130 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001464/1.443, allocations: 0.5436 MB / 0.9881 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005544/1.443, allocations: 181.8 kB / 0.9883 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005058/1.448, allocations: 1.216 MB / 0.9894 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/1.448, allocations: 8 kB / 0.9895 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.319e-05/1.448, allocations: 0 / 0.9895 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004028/1.452, allocations: 1.266 MB / 0.9907 GB, free: 9.621 MB / 0.7292 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.009463/1.462, allocations: 3.002 MB / 0.9936 GB, free: 6.484 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/1.462, allocations: 8.125 kB / 0.9936 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001909/1.464, allocations: 207.7 kB / 0.9938 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003368/1.464, allocations: 44.83 kB / 0.9939 GB, free: 6.227 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/1.464, allocations: 23.98 kB / 0.9939 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001859/1.466, allocations: 1.444 MB / 0.9953 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-06/1.466, allocations: 4 kB / 0.9953 GB, free: 4.617 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006703/1.473, allocations: 1.896 MB / 0.9972 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001332/1.474, allocations: 350.7 kB / 0.9975 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.475, allocations: 20 kB / 0.9975 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00252/1.477, allocations: 157.2 kB / 0.9977 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002527/1.478, allocations: 64.5 kB / 0.9977 GB, free: 2.059 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.478, allocations: 35.97 kB / 0.9978 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002599/1.48, allocations: 1.086 MB / 0.9988 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.092e-06/1.48, allocations: 0 / 0.9988 GB, free: 0.9141 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.005667/1.486, allocations: 1.005 MB / 0.9998 GB, free: 15.9 MB / 0.7448 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.009782/1.496, allocations: 3.253 MB / 1.003 GB, free: 12.72 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.007091/1.503, allocations: 1.918 MB / 1.005 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.503, allocations: 0 / 1.005 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.002369/1.505, allocations: 0.6246 MB / 1.005 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006886/1.512, allocations: 0.8102 MB / 1.006 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02065/1.533, allocations: 11.21 MB / 1.017 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001852/1.535, allocations: 1.542 MB / 1.019 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003855/1.539, allocations: 450.7 kB / 1.019 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002306/1.541, allocations: 0.796 MB / 1.02 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.744e-06/1.541, allocations: 0 / 1.02 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/1.678, allocations: 47.76 MB / 1.067 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003555/1.679, allocations: 250.3 kB / 1.067 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.978/6.657, allocations: 3.938 kB / 1.067 GB, free: 11.37 MB / 0.8073 GB