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.RayleighNumber.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01837/0.01838, allocations: 107.2 kB / 15.06 MB, free: 6.035 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002644/0.002644, allocations: 182.1 kB / 15.95 MB, free: 5.957 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 2.189/2.189, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.295/2.295, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006564/0.0006565, allocations: 12 kB / 0.587 GB, free: 2.078 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6998/0.7005, allocations: 98.71 MB / 0.6834 GB, free: 16.76 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002058/0.7026, allocations: 1.271 MB / 0.6847 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.004275/0.707, allocations: 2.83 MB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.326e-05/0.7071, allocations: 1.094 kB / 0.6874 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.261e-05/0.7071, allocations: 3.938 kB / 0.6874 GB, free: 13.79 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.7072, allocations: 16.91 kB / 0.6875 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004769/0.7077, allocations: 90.53 kB / 0.6875 GB, free: 13.73 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.7078, allocations: 45.45 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.7079, allocations: 8.594 kB / 0.6876 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.7081, allocations: 43.47 kB / 0.6876 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.7082, allocations: 31.41 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 1.858e-05/0.7082, allocations: 2.406 kB / 0.6877 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003586/0.7086, allocations: 80.06 kB / 0.6878 GB, free: 13.66 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.7086, allocations: 14.11 kB / 0.6878 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.7087, allocations: 37.39 kB / 0.6878 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0002148/0.7089, allocations: 77.72 kB / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.7089, allocations: 0 / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.635e-06/0.7089, allocations: 1.734 kB / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.7089, allocations: 1.5 kB / 0.6879 GB, free: 13.59 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006112/0.7096, allocations: 383 kB / 0.6882 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.417e-05/0.7096, allocations: 9.719 kB / 0.6883 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.021e-05/0.7097, allocations: 37.75 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.7097, allocations: 3.406 kB / 0.6883 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.512e-05/0.7098, allocations: 172.1 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.7098, allocations: 2.031 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.932e-05/0.7099, allocations: 7.156 kB / 0.6885 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.7102, allocations: 87.75 kB / 0.6885 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.959e-06/0.7102, allocations: 0 / 0.6885 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/0.7102, allocations: 3.938 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.7102, allocations: 1.906 kB / 0.6886 GB, free: 12.9 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003876/0.7106, allocations: 84.09 kB / 0.6886 GB, free: 12.88 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005689/0.7112, allocations: 328.5 kB / 0.6889 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003465/0.7116, allocations: 98.88 kB / 0.689 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009163/0.7125, allocations: 0.7483 MB / 0.6898 GB, free: 11.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.7125, allocations: 36.88 kB / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=8): time 1.543e-06/0.7126, allocations: 0 / 0.6898 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8): time 0.0006202/0.7132, allocations: 150.9 kB / 0.69 GB, free: 11.62 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.7132, allocations: 53.12 kB / 0.69 GB, free: 11.56 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.7133, allocations: 121.8 kB / 0.6901 GB, free: 11.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.7134, allocations: 26.73 kB / 0.6901 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.769e-05/0.7134, allocations: 88.78 kB / 0.6902 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.965e-05/0.7135, allocations: 28.33 kB / 0.6903 GB, free: 11.31 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.045e-05/0.7135, allocations: 5.188 kB / 0.6903 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 6.254e-05/0.7136, allocations: 322.4 kB / 0.6906 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001539/0.7137, allocations: 33.05 kB / 0.6906 GB, free: 10.98 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001653/0.7139, allocations: 45.91 kB / 0.6906 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.7141, allocations: 44.58 kB / 0.6907 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7141, allocations: 1.094 kB / 0.6907 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004409/0.7146, allocations: 114.8 kB / 0.6908 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.7146, allocations: 7.188 kB / 0.6908 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.094e-06/0.7146, allocations: 1.125 kB / 0.6908 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.7146, allocations: 5.156 kB / 0.6908 GB, free: 10.88 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.7149, allocations: 24.12 kB / 0.6908 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.7149, allocations: 1.188 kB / 0.6908 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/0.715, allocations: 12.62 kB / 0.6908 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.638e-05/0.7151, allocations: 3.234 kB / 0.6908 GB, free: 10.87 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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 8.493e-05/0.7152, allocations: 120.9 kB / 0.691 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.789e-05/0.7152, allocations: 7.469 kB / 0.691 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004822/0.7157, allocations: 138.6 kB / 0.6911 GB, free: 10.66 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.7157, allocations: 7.922 kB / 0.6911 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.7157, allocations: 2.109 kB / 0.6911 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7158, allocations: 0 / 0.6911 GB, free: 10.65 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002257/0.716, allocations: 191.8 kB / 0.6913 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.716, allocations: 4 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001962/0.7162, allocations: 18.25 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.7162, allocations: 1.609 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.335e-05/0.7162, allocations: 0.6562 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.7163, allocations: 1.312 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.7163, allocations: 0.6094 kB / 0.6913 GB, free: 10.44 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004106/0.7167, allocations: 217.1 kB / 0.6915 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.7167, allocations: 87.27 kB / 0.6916 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.7168, allocations: 1.766 kB / 0.6916 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000158/0.7169, allocations: 11.2 kB / 0.6916 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.959e-05/0.717, allocations: 4.672 kB / 0.6916 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.717, allocations: 2.938 kB / 0.6916 GB, free: 10.17 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.709e-05/0.7171, allocations: 99.92 kB / 0.6917 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.51e-07/0.7171, allocations: 0 / 0.6917 GB, free: 10.09 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003624/0.7175, allocations: 26.38 kB / 0.6918 GB, free: 10.08 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.0007434/0.7182, allocations: 0.7625 MB / 0.6925 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004509/0.7187, allocations: 87.11 kB / 0.6926 GB, free: 9.363 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.7187, allocations: 4.062 kB / 0.6926 GB, free: 9.359 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001847/0.7189, allocations: 49.08 kB / 0.6926 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.7192, allocations: 3.922 kB / 0.6926 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007896/0.72, allocations: 284.4 kB / 0.6929 GB, free: 9.133 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.7202, allocations: 0.6922 MB / 0.6936 GB, free: 8.438 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0001159/0.7203, allocations: 12.55 kB / 0.6936 GB, free: 8.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.399e-05/0.7204, allocations: 26.23 kB / 0.6936 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of SimCode: time 1.212e-06/0.7204, allocations: 0 / 0.6936 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02481/0.7452, allocations: 1.937 MB / 0.6955 GB, free: 8.16 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002589/0.7456, allocations: 201.8 kB / 0.6957 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.567/3.313, allocations: 10.5 kB / 0.6957 GB, free: 7.914 MB / 0.5261 GB