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/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_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 4.777/4.777, allocations: 433.2 MB / 440.7 MB, free: 10.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.792e-05/2.815e-05, allocations: 4 kB / 0.5325 GB, free: 1.953 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6079/0.6079, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.741/7.349, allocations: 2.235 GB / 2.864 GB, free: 136.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003142/7.35, allocations: 104.7 kB / 2.864 GB, free: 136.4 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 10.07/17.42, allocations: 1.903 GB / 4.767 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.023e-06/17.42, allocations: 0 / 4.767 GB, free: 103.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.000468/17.42, allocations: 66.98 kB / 4.767 GB, free: 103.2 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: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.009926/17.43, allocations: 2.619 MB / 4.769 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/17.43, allocations: 7.438 kB / 4.769 GB, free: 101.9 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00814/17.44, allocations: 0.7906 MB / 4.77 GB, free: 101.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009844/17.45, allocations: 2.359 MB / 4.772 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/17.45, allocations: 48.47 kB / 4.773 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005994/17.45, allocations: 105.2 kB / 4.773 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004074/17.45, allocations: 1.271 MB / 4.774 GB, free: 101.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00453/17.46, allocations: 1.516 MB / 4.775 GB, free: 101 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.785e-05/17.46, allocations: 14.06 kB / 4.775 GB, free: 101 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002403/17.46, allocations: 3.75 kB / 4.775 GB, free: 101 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/17.46, allocations: 54.64 kB / 4.775 GB, free: 101 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.01701/17.48, allocations: 7.795 MB / 4.783 GB, free: 97.07 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002475/17.48, allocations: 1.61 MB / 4.785 GB, free: 96.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/17.48, allocations: 0.5368 MB / 4.785 GB, free: 96.27 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/17.48, allocations: 217.8 kB / 4.785 GB, free: 96.08 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/17.48, allocations: 0.547 MB / 4.786 GB, free: 96.02 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001484/17.48, allocations: 104.7 kB / 4.786 GB, free: 95.98 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=102): time 6.392e-06/17.48, allocations: 0 / 4.786 GB, free: 95.98 MB / 0.8542 GB Notification: Performance of matching and sorting (n=105): time 0.01058/17.49, allocations: 2.75 MB / 4.789 GB, free: 95.24 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.074e-05/17.49, allocations: 165.6 kB / 4.789 GB, free: 95.05 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002514/17.5, allocations: 1.214 MB / 4.79 GB, free: 94.84 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003969/17.5, allocations: 29.52 kB / 4.79 GB, free: 94.81 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001154/17.5, allocations: 0.9698 MB / 4.791 GB, free: 94.46 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006065/17.5, allocations: 355.3 kB / 4.791 GB, free: 94.23 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001026/17.5, allocations: 2.344 kB / 4.791 GB, free: 94.23 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001174/17.5, allocations: 358.5 kB / 4.792 GB, free: 93.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009725/17.5, allocations: 420.4 kB / 4.792 GB, free: 93.93 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00121/17.5, allocations: 0.7738 MB / 4.793 GB, free: 93.51 MB / 0.8542 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.007043/17.51, allocations: 1.283 MB / 4.794 GB, free: 93.45 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.997e-06/17.51, allocations: 0 / 4.794 GB, free: 93.45 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004351/17.51, allocations: 1.404 MB / 4.795 GB, free: 93.24 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.000664/17.51, allocations: 3.035 MB / 4.798 GB, free: 90.08 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.242e-05/17.51, allocations: 10.5 kB / 4.798 GB, free: 90.08 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002691/17.51, allocations: 43.83 kB / 4.798 GB, free: 90.07 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002474/17.52, allocations: 287.7 kB / 4.799 GB, free: 90.05 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/17.52, allocations: 1.451 MB / 4.8 GB, free: 88.76 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003282/17.52, allocations: 133.6 kB / 4.8 GB, free: 88.75 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003/17.52, allocations: 53.31 kB / 4.8 GB, free: 88.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.407e-05/17.52, allocations: 5.688 kB / 4.8 GB, free: 88.75 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003409/17.52, allocations: 1.16 MB / 4.801 GB, free: 88.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-05/17.52, allocations: 10.31 kB / 4.801 GB, free: 88.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001721/17.52, allocations: 50.25 kB / 4.801 GB, free: 88.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002143/17.53, allocations: 271.1 kB / 4.802 GB, free: 88.65 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/17.53, allocations: 1.449 MB / 4.803 GB, free: 87.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003189/17.53, allocations: 129.2 kB / 4.803 GB, free: 87.36 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002674/17.53, allocations: 57.38 kB / 4.803 GB, free: 87.36 MB / 0.8542 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.0004963/17.53, allocations: 145.8 kB / 4.803 GB, free: 87.23 MB / 0.8542 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003279/17.54, allocations: 1.121 MB / 4.805 GB, free: 86.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005716/17.54, allocations: 188.4 kB / 4.805 GB, free: 86.89 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/17.54, allocations: 1.205 MB / 4.806 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.514e-05/17.54, allocations: 13.72 kB / 4.806 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/17.54, allocations: 6 kB / 4.806 GB, free: 86.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00261/17.54, allocations: 0.9769 MB / 4.807 GB, free: 85.99 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 postOpt removeSimpleEquations (simulation): time 0.008933/17.55, allocations: 3.15 MB / 4.81 GB, free: 84.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.816e-06/17.55, allocations: 0 / 4.81 GB, free: 84.43 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002134/17.55, allocations: 225.3 kB / 4.81 GB, free: 84.41 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003562/17.55, allocations: 74.81 kB / 4.81 GB, free: 84.38 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001522/17.55, allocations: 14.39 kB / 4.81 GB, free: 84.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/17.56, allocations: 2.649 MB / 4.813 GB, free: 81.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/17.56, allocations: 0 / 4.813 GB, free: 81.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004508/17.56, allocations: 1.935 MB / 4.815 GB, free: 80.81 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/17.56, allocations: 385.1 kB / 4.815 GB, free: 80.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/17.56, allocations: 7.656 kB / 4.815 GB, free: 80.54 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002772/17.57, allocations: 138.9 kB / 4.815 GB, free: 80.53 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002856/17.57, allocations: 86.2 kB / 4.815 GB, free: 80.51 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/17.57, allocations: 40.56 kB / 4.815 GB, free: 80.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001997/17.57, allocations: 0.9123 MB / 4.816 GB, free: 80.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.41e-07/17.57, allocations: 0 / 4.816 GB, free: 80.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.006606/17.58, allocations: 1.161 MB / 4.817 GB, free: 79.86 MB / 0.8542 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.01139/17.59, allocations: 6.276 MB / 4.824 GB, free: 75.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.004677/17.59, allocations: 2.125 MB / 4.826 GB, free: 73.26 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/17.59, allocations: 6.75 kB / 4.826 GB, free: 73.26 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/17.59, allocations: 0.7186 MB / 4.826 GB, free: 72.56 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007834/17.6, allocations: 0.9303 MB / 4.827 GB, free: 71.92 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/17.61, allocations: 3.66 MB / 4.831 GB, free: 68.83 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00146/17.62, allocations: 1.645 MB / 4.832 GB, free: 67.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.005438/17.62, allocations: 0.69 MB / 4.833 GB, free: 67.05 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001894/17.62, allocations: 0.8286 MB / 4.834 GB, free: 66.29 MB / 0.8542 GB Notification: Performance of SimCode: time 1.523e-06/17.62, allocations: 0 / 4.834 GB, free: 66.29 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1949/17.82, allocations: 75.85 MB / 4.908 GB, free: 9.309 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/17.82, allocations: 174.4 kB / 4.908 GB, free: 9.113 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.113/23.93, allocations: 3.938 kB / 4.908 GB, free: 9.109 MB / 0.8698 GB