Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.RayleighNumber.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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"}) [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.099/2.099, allocations: 248.6 MB / 255.9 MB, free: 360 kB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001701/0.001701, allocations: 185.2 kB / 315.1 MB, free: 7.789 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.1 MB / 0.5658 GB, free: 25.5 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001299/0.001299, allocations: 90 kB / 0.67 GB, free: 2.973 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.288/0.2893, allocations: 112.4 MB / 0.7797 GB, free: 2.492 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5254/0.8148, allocations: 106.2 MB / 0.8835 GB, free: 77.31 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.924/1.739, allocations: 352.5 MB / 1.228 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003352/1.739, allocations: 87.36 kB / 1.228 GB, free: 6.305 MB / 0.7448 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.05189/1.791, allocations: 12.42 MB / 1.24 GB, free: 12.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.791, allocations: 8 kB / 1.24 GB, free: 12.54 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/1.791, allocations: 11.91 kB / 1.24 GB, free: 12.53 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/1.791, allocations: 182.4 kB / 1.24 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/1.791, allocations: 0 / 1.24 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/1.792, allocations: 4 kB / 1.24 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000219/1.792, allocations: 50.61 kB / 1.24 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/1.792, allocations: 69.19 kB / 1.24 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/1.792, allocations: 0 / 1.24 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/1.792, allocations: 3.906 kB / 1.24 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.792, allocations: 7.984 kB / 1.24 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006387/1.793, allocations: 295.2 kB / 1.241 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000175/1.793, allocations: 75.67 kB / 1.241 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.709e-05/1.793, allocations: 35.55 kB / 1.241 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001243/1.794, allocations: 0.7588 MB / 1.241 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/1.794, allocations: 30.56 kB / 1.241 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=8): time 2.184e-06/1.794, allocations: 0 / 1.241 GB, free: 10.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=8): time 0.000635/1.795, allocations: 124.8 kB / 1.242 GB, free: 10.82 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/1.795, allocations: 55.41 kB / 1.242 GB, free: 10.75 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/1.795, allocations: 108 kB / 1.242 GB, free: 10.64 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.212e-05/1.795, allocations: 25.7 kB / 1.242 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 5.45e-05/1.795, allocations: 84.05 kB / 1.242 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.071e-05/1.795, allocations: 27.45 kB / 1.242 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.617e-06/1.795, allocations: 0 / 1.242 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001306/1.795, allocations: 318.7 kB / 1.242 GB, free: 10.19 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.644e-05/1.795, allocations: 20.86 kB / 1.242 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.677e-05/1.796, allocations: 33.08 kB / 1.242 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003553/1.796, allocations: 58.33 kB / 1.242 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/1.796, allocations: 4 kB / 1.242 GB, free: 10.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005015/1.796, allocations: 120.4 kB / 1.242 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/1.796, allocations: 7.938 kB / 1.242 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.796, allocations: 0 / 1.242 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/1.797, allocations: 0 / 1.242 GB, free: 9.984 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002657/1.797, allocations: 31.92 kB / 1.242 GB, free: 9.953 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/1.797, allocations: 3.984 kB / 1.242 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001345/1.797, allocations: 4 kB / 1.242 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.738e-05/1.797, allocations: 4 kB / 1.242 GB, free: 9.941 MB / 0.7605 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 9.34e-05/1.797, allocations: 108.9 kB / 1.243 GB, free: 9.828 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.529e-05/1.797, allocations: 7.906 kB / 1.243 GB, free: 9.82 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006017/1.798, allocations: 139 kB / 1.243 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/1.798, allocations: 4 kB / 1.243 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.798, allocations: 0 / 1.243 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.649e-06/1.798, allocations: 0 / 1.243 GB, free: 9.703 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002479/1.798, allocations: 161.4 kB / 1.243 GB, free: 9.52 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/1.798, allocations: 4 kB / 1.243 GB, free: 9.516 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002136/1.798, allocations: 23.89 kB / 1.243 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/1.798, allocations: 0 / 1.243 GB, free: 9.492 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.798, allocations: 4 kB / 1.243 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.798, allocations: 0 / 1.243 GB, free: 9.488 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/1.798, allocations: 3.938 kB / 1.243 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005491/1.799, allocations: 213.3 kB / 1.243 GB, free: 9.281 MB / 0.7605 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006952/1.8, allocations: 0.5836 MB / 1.244 GB, free: 8.703 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.929e-05/1.8, allocations: 81.02 kB / 1.244 GB, free: 8.605 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/1.8, allocations: 7.984 kB / 1.244 GB, free: 8.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001757/1.8, allocations: 7.906 kB / 1.244 GB, free: 8.59 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.3e-05/1.8, allocations: 7.969 kB / 1.244 GB, free: 8.582 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/1.8, allocations: 8 kB / 1.244 GB, free: 8.574 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7.14e-05/1.8, allocations: 99.66 kB / 1.244 GB, free: 8.484 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001167/1.801, allocations: 23.67 kB / 1.244 GB, free: 8.465 MB / 0.7605 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.0003183/1.802, allocations: 145.2 kB / 1.244 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002084/1.802, allocations: 50.19 kB / 1.244 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/1.802, allocations: 0 / 1.244 GB, free: 8.281 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.628e-05/1.802, allocations: 38.98 kB / 1.244 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002413/1.802, allocations: 320 / 1.244 GB, free: 8.254 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004815/1.803, allocations: 106.3 kB / 1.244 GB, free: 8.137 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000525/1.803, allocations: 0.7115 MB / 1.245 GB, free: 7.398 MB / 0.7605 GB Notification: Performance of SimCode: time 9.12e-07/1.803, allocations: 0 / 1.245 GB, free: 7.398 MB / 0.7605 GB