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 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.RayleighNumber,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_RayleighNumber",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 3.695/3.695, allocations: 433 MB / 440.3 MB, free: 4.809 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5554/4.251, allocations: 104.3 MB / 0.5319 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/4.475, allocations: 98.72 MB / 0.6283 GB, free: 9.812 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8634/5.339, allocations: 344.7 MB / 0.9649 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/5.339, allocations: 86.69 kB / 0.965 GB, free: 10.3 MB / 0.7136 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.04438/5.383, allocations: 12.23 MB / 0.977 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.074e-05/5.383, allocations: 11.98 kB / 0.977 GB, free: 0.7148 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.06e-05/5.384, allocations: 7.906 kB / 0.977 GB, free: 0.707 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001637/5.384, allocations: 174.9 kB / 0.9772 GB, free: 0.4961 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.1e-05/5.384, allocations: 7.984 kB / 0.9772 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.236e-05/5.384, allocations: 0 / 0.9772 GB, free: 500 kB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002202/5.384, allocations: 54.41 kB / 0.9772 GB, free: 460 kB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/5.384, allocations: 72.33 kB / 0.9773 GB, free: 392 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.799e-06/5.384, allocations: 4 kB / 0.9773 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/5.384, allocations: 0 / 0.9773 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/5.384, allocations: 0 / 0.9773 GB, free: 388 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/5.385, allocations: 290.3 kB / 0.9776 GB, free: 88 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001741/5.385, allocations: 70.38 kB / 0.9776 GB, free: 32 kB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.337e-05/5.385, allocations: 35.92 kB / 0.9777 GB, free: 4 kB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001242/5.386, allocations: 0.7653 MB / 0.9784 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/5.387, allocations: 38.36 kB / 0.9784 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/5.387, allocations: 4 kB / 0.9785 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0006098/5.387, allocations: 107 kB / 0.9786 GB, free: 15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/5.387, allocations: 51.41 kB / 0.9786 GB, free: 14.94 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/5.387, allocations: 112 kB / 0.9787 GB, free: 14.83 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/5.387, allocations: 25.7 kB / 0.9787 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.739e-05/5.387, allocations: 92.05 kB / 0.9788 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/5.388, allocations: 27.33 kB / 0.9788 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-06/5.388, allocations: 0 / 0.9788 GB, free: 14.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001221/5.388, allocations: 314.2 kB / 0.9791 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.344e-05/5.388, allocations: 28.69 kB / 0.9792 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.568e-05/5.388, allocations: 32.47 kB / 0.9792 GB, free: 14.32 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003895/5.388, allocations: 54.7 kB / 0.9793 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/5.388, allocations: 0 / 0.9793 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005353/5.389, allocations: 119.3 kB / 0.9794 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/5.389, allocations: 6.812 kB / 0.9794 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/5.389, allocations: 19.91 kB / 0.9794 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.545e-05/5.389, allocations: 3.906 kB / 0.9794 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002638/5.389, allocations: 19.98 kB / 0.9794 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/5.389, allocations: 0 / 0.9794 GB, free: 14.13 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001476/5.389, allocations: 8.328 kB / 0.9794 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.071e-05/5.389, allocations: 7.438 kB / 0.9794 GB, free: 14.12 MB / 0.7292 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 () * 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.0001018/5.39, allocations: 109 kB / 0.9795 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.817e-05/5.39, allocations: 11.84 kB / 0.9795 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000733/5.39, allocations: 129.8 kB / 0.9797 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/5.39, allocations: 4 kB / 0.9797 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/5.39, allocations: 0 / 0.9797 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/5.39, allocations: 0 / 0.9797 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002663/5.391, allocations: 172.5 kB / 0.9798 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/5.391, allocations: 0 / 0.9798 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002309/5.391, allocations: 19.98 kB / 0.9799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/5.391, allocations: 0 / 0.9799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/5.391, allocations: 0 / 0.9799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/5.391, allocations: 0 / 0.9799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/5.391, allocations: 7.984 kB / 0.9799 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000597/5.392, allocations: 215.8 kB / 0.9801 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006827/5.392, allocations: 0.5798 MB / 0.9806 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.138e-05/5.392, allocations: 85.02 kB / 0.9807 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.285e-05/5.392, allocations: 7.844 kB / 0.9807 GB, free: 12.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00019/5.393, allocations: 11.31 kB / 0.9807 GB, free: 12.76 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.304e-05/5.393, allocations: 7.984 kB / 0.9807 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/5.393, allocations: 0 / 0.9807 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.809e-05/5.393, allocations: 95.2 kB / 0.9808 GB, free: 12.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00126/5.394, allocations: 23.88 kB / 0.9809 GB, free: 12.64 MB / 0.7292 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 () * 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.0003817/5.395, allocations: 135.2 kB / 0.981 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002516/5.395, allocations: 54.44 kB / 0.981 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/5.395, allocations: 0 / 0.981 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.763e-05/5.395, allocations: 39.28 kB / 0.9811 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/5.395, allocations: 11.38 kB / 0.9811 GB, free: 12.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/5.396, allocations: 106.9 kB / 0.9812 GB, free: 12.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004353/5.396, allocations: 0.7075 MB / 0.9819 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of SimCode: time 1.353e-06/5.396, allocations: 0 / 0.9819 GB, free: 11.58 MB / 0.7292 GB