Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.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.BaseClasses.Examples.RayleighNumber,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01055/0.01055, allocations: 88.75 kB / 15.04 MB, free: 5.578 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.00123/0.00123, allocations: 175.1 kB / 15.92 MB, free: 5.551 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.118/2.118, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.787/2.787, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004906, allocations: 14.41 kB / 0.6243 GB, free: 20.91 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 106.2 MB / 0.7281 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber): time 0.002241/0.2401, allocations: 1.296 MB / 0.7293 GB, free: 6.801 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.004765/0.2449, allocations: 2.848 MB / 0.7321 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.2451, allocations: 0 / 0.7321 GB, free: 3.941 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.314e-05/0.2451, allocations: 7.938 kB / 0.7321 GB, free: 3.934 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.42e-05/0.2452, allocations: 11.97 kB / 0.7321 GB, free: 3.922 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004862/0.2457, allocations: 99.69 kB / 0.7322 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.2458, allocations: 43.94 kB / 0.7323 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.246, allocations: 16.16 kB / 0.7323 GB, free: 3.766 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001274/0.2461, allocations: 35.86 kB / 0.7323 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001129/0.2462, allocations: 35.88 kB / 0.7324 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.2462, allocations: 0 / 0.7324 GB, free: 3.695 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003451/0.2466, allocations: 79.88 kB / 0.7324 GB, free: 3.617 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.2466, allocations: 15.92 kB / 0.7324 GB, free: 3.602 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.35e-05/0.2467, allocations: 37.64 kB / 0.7325 GB, free: 3.559 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002082/0.2469, allocations: 72.09 kB / 0.7326 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.2469, allocations: 0 / 0.7326 GB, free: 3.488 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2469, allocations: 4 kB / 0.7326 GB, free: 3.484 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2469, allocations: 0 / 0.7326 GB, free: 3.484 MB / 0.5573 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.000662/0.2476, allocations: 383.2 kB / 0.7329 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2477, allocations: 8.031 kB / 0.7329 GB, free: 3.055 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.321e-05/0.2477, allocations: 34.56 kB / 0.733 GB, free: 3.012 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.279e-05/0.2478, allocations: 3.906 kB / 0.733 GB, free: 3.008 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2479, allocations: 182.8 kB / 0.7331 GB, free: 2.789 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.248, allocations: 8 kB / 0.7331 GB, free: 2.781 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.248, allocations: 4 kB / 0.7331 GB, free: 2.777 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.2483, allocations: 89.53 kB / 0.7332 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2483, allocations: 4 kB / 0.7332 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.2483, allocations: 0 / 0.7332 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.2483, allocations: 0 / 0.7332 GB, free: 2.68 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003631/0.2487, allocations: 83.94 kB / 0.7333 GB, free: 2.598 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006366/0.2494, allocations: 324.8 kB / 0.7336 GB, free: 2.23 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000346/0.2497, allocations: 98.5 kB / 0.7337 GB, free: 2.125 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/0.2508, allocations: 0.7409 MB / 0.7344 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.2508, allocations: 38.55 kB / 0.7345 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/0.2509, allocations: 0 / 0.7345 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of matching and sorting (n=8): time 0.0006329/0.2515, allocations: 153.7 kB / 0.7346 GB, free: 1.062 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2516, allocations: 55.41 kB / 0.7347 GB, free: 0.9961 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.2517, allocations: 113.8 kB / 0.7348 GB, free: 0.875 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.2517, allocations: 25.7 kB / 0.7348 GB, free: 0.8438 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.861e-05/0.2518, allocations: 96.06 kB / 0.7349 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.523e-05/0.2518, allocations: 31.56 kB / 0.7349 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/0.2519, allocations: 0 / 0.7349 GB, free: 0.7148 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.252, allocations: 322.9 kB / 0.7352 GB, free: 400 kB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001575/0.2522, allocations: 39.92 kB / 0.7353 GB, free: 360 kB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001708/0.2524, allocations: 49.69 kB / 0.7353 GB, free: 304 kB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.2525, allocations: 39.94 kB / 0.7354 GB, free: 264 kB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.2526, allocations: 3.984 kB / 0.7354 GB, free: 260 kB / 0.5573 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004379/0.253, allocations: 117.6 kB / 0.7355 GB, free: 136 kB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.253, allocations: 12.02 kB / 0.7355 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.2531, allocations: 0 / 0.7355 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.2531, allocations: 0 / 0.7355 GB, free: 124 kB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002441/0.2533, allocations: 27.92 kB / 0.7355 GB, free: 96 kB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.2534, allocations: 0 / 0.7355 GB, free: 96 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.2535, allocations: 4 kB / 0.7355 GB, free: 92 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.756e-05/0.2535, allocations: 4 kB / 0.7355 GB, free: 88 kB / 0.5573 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 0.0001363/0.2537, allocations: 121.8 kB / 0.7356 GB, free: 15.96 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.249e-05/0.2537, allocations: 11.89 kB / 0.7357 GB, free: 15.95 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005258/0.2543, allocations: 122.4 kB / 0.7358 GB, free: 15.82 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.2543, allocations: 3.938 kB / 0.7358 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.2543, allocations: 0 / 0.7358 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2543, allocations: 4 kB / 0.7358 GB, free: 15.81 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002619/0.2546, allocations: 197.8 kB / 0.736 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.2546, allocations: 0 / 0.736 GB, free: 15.57 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001905/0.2548, allocations: 23.92 kB / 0.736 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.2548, allocations: 3.984 kB / 0.736 GB, free: 15.54 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.779e-05/0.2549, allocations: 8 kB / 0.736 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.2549, allocations: 0 / 0.736 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.2549, allocations: 0 / 0.736 GB, free: 15.53 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.2553, allocations: 215.4 kB / 0.7362 GB, free: 15.3 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.174e-05/0.2554, allocations: 84.95 kB / 0.7363 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/0.2554, allocations: 8 kB / 0.7363 GB, free: 15.2 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001738/0.2556, allocations: 7.984 kB / 0.7363 GB, free: 15.19 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.2557, allocations: 15.92 kB / 0.7363 GB, free: 15.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/0.2557, allocations: 0 / 0.7363 GB, free: 15.17 MB / 0.573 GB Notification: Performance of sorting global known variables: time 6.606e-05/0.2558, allocations: 95.2 kB / 0.7364 GB, free: 15.08 MB / 0.573 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2558, allocations: 4 kB / 0.7364 GB, free: 15.07 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0003613/0.2562, allocations: 20 kB / 0.7364 GB, free: 15.05 MB / 0.573 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.0008273/0.257, allocations: 0.7631 MB / 0.7372 GB, free: 14.27 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0003768/0.2574, allocations: 87.95 kB / 0.7373 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.2574, allocations: 0 / 0.7373 GB, free: 14.18 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001772/0.2576, allocations: 47.92 kB / 0.7373 GB, free: 14.13 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.2579, allocations: 0 / 0.7373 GB, free: 14.13 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007655/0.2586, allocations: 293.9 kB / 0.7376 GB, free: 13.81 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.2589, allocations: 0.6887 MB / 0.7383 GB, free: 13.09 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0001141/0.259, allocations: 16.11 kB / 0.7383 GB, free: 13.08 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.538e-05/0.2591, allocations: 19.44 kB / 0.7383 GB, free: 13.06 MB / 0.573 GB Notification: Performance of SimCode: time 7.22e-07/0.2591, allocations: 0 / 0.7383 GB, free: 13.06 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02632/0.2855, allocations: 1.96 MB / 0.7402 GB, free: 11.21 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003949/0.286, allocations: 199.4 kB / 0.7404 GB, free: 10.97 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/2.669, allocations: 0 / 0.7404 GB, free: 10.97 MB / 0.573 GB