Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.224/4.224, allocations: 433.2 MB / 440.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.868e-05, allocations: 8 kB / 0.5325 GB, free: 1.918 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6319/0.6319, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2343/0.8663, allocations: 126.2 MB / 0.7521 GB, free: 1.371 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003248/0.8667, allocations: 79.95 kB / 0.7522 GB, free: 1.293 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.0368/0.9035, allocations: 7.347 MB / 0.7594 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9035, allocations: 0 / 0.7594 GB, free: 9.938 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.408e-05/0.9036, allocations: 4 kB / 0.7594 GB, free: 9.934 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00138/0.905, allocations: 0.5565 MB / 0.7599 GB, free: 9.328 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.905, allocations: 8.031 kB / 0.7599 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003289/0.9054, allocations: 35.7 kB / 0.76 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007566/0.9062, allocations: 306.6 kB / 0.7602 GB, free: 8.949 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.75e-05/0.9062, allocations: 4 kB / 0.7602 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.599e-05/0.9062, allocations: 8 kB / 0.7603 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003383/0.9066, allocations: 88.55 kB / 0.7603 GB, free: 8.852 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003663/0.907, allocations: 164.4 kB / 0.7605 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.907, allocations: 0 / 0.7605 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.354e-05/0.907, allocations: 0 / 0.7605 GB, free: 8.668 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.907, allocations: 4 kB / 0.7605 GB, free: 8.664 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.9088, allocations: 0.9271 MB / 0.7614 GB, free: 7.68 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000874/0.9097, allocations: 185.3 kB / 0.7616 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001734/0.9099, allocations: 50.5 kB / 0.7616 GB, free: 7.426 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.766e-05/0.91, allocations: 11.92 kB / 0.7616 GB, free: 7.414 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.387e-05/0.9101, allocations: 34.56 kB / 0.7617 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=16): time 3.927e-06/0.9101, allocations: 0 / 0.7617 GB, free: 7.371 MB / 0.6355 GB Notification: Performance of matching and sorting (n=16): time 0.0006941/0.9108, allocations: 145.6 kB / 0.7618 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.121e-05/0.9109, allocations: 81.11 kB / 0.7619 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003675/0.9112, allocations: 214.3 kB / 0.7621 GB, free: 6.91 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.969e-05/0.9113, allocations: 25.7 kB / 0.7621 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001546/0.9114, allocations: 160.3 kB / 0.7623 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.957e-05/0.9115, allocations: 55.19 kB / 0.7623 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.616e-05/0.9116, allocations: 0 / 0.7623 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9117, allocations: 338.8 kB / 0.7626 GB, free: 6.324 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001402/0.9119, allocations: 40 kB / 0.7627 GB, free: 6.285 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/0.9121, allocations: 90 kB / 0.7628 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000236/0.9123, allocations: 51.88 kB / 0.7628 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.9123, allocations: 0 / 0.7628 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00063/0.913, allocations: 185.2 kB / 0.763 GB, free: 5.938 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.913, allocations: 4 kB / 0.763 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.913, allocations: 4 kB / 0.763 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.024e-05/0.9131, allocations: 0 / 0.763 GB, free: 5.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.9137, allocations: 80.05 kB / 0.7631 GB, free: 5.852 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.9137, allocations: 3.984 kB / 0.7631 GB, free: 5.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004436/0.9142, allocations: 43.81 kB / 0.7631 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.9142, allocations: 4 kB / 0.7631 GB, free: 5.801 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0001223/0.9144, allocations: 120.9 kB / 0.7632 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00057/0.915, allocations: 145.7 kB / 0.7634 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.9151, allocations: 23.72 kB / 0.7634 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/0.9157, allocations: 183.3 kB / 0.7636 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.9158, allocations: 4 kB / 0.7636 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.9158, allocations: 288 / 0.7636 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.9158, allocations: 0 / 0.7636 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005019/0.9163, allocations: 270 kB / 0.7638 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.9163, allocations: 3.938 kB / 0.7638 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005541/0.9169, allocations: 63.89 kB / 0.7639 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.9169, allocations: 0 / 0.7639 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.967e-05/0.9169, allocations: 0 / 0.7639 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/0.917, allocations: 4 kB / 0.7639 GB, free: 4.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.917, allocations: 7.938 kB / 0.7639 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.9176, allocations: 358.6 kB / 0.7643 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.632e-05/0.9178, allocations: 96.77 kB / 0.7644 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.175e-05/0.9178, allocations: 4 kB / 0.7644 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004797/0.9183, allocations: 39.95 kB / 0.7644 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.9184, allocations: 15.97 kB / 0.7644 GB, free: 4.387 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.9185, allocations: 12 kB / 0.7644 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002427/0.9187, allocations: 170 kB / 0.7646 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.9187, allocations: 0 / 0.7646 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005216/0.9193, allocations: 56.09 kB / 0.7646 GB, free: 4.156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 Backend phase and start with SimCode phase: time 0.001133/0.9204, allocations: 0.9732 MB / 0.7656 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004358/0.9209, allocations: 115.9 kB / 0.7657 GB, free: 3.039 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.9209, allocations: 4.312 kB / 0.7657 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.9211, allocations: 67.94 kB / 0.7658 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.9219, allocations: 57.34 kB / 0.7658 GB, free: 2.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.9232, allocations: 349.9 kB / 0.7662 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.9236, allocations: 0.7594 MB / 0.7669 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002834/0.9239, allocations: 22.08 kB / 0.7669 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/0.9241, allocations: 83.41 kB / 0.767 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of SimCode: time 1.342e-06/0.9241, allocations: 0 / 0.767 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04843/0.9726, allocations: 5.246 MB / 0.7721 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/0.9729, allocations: 152.8 kB / 0.7723 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.656/3.629, allocations: 0 / 0.7723 GB, free: 12.27 MB / 0.6511 GB