Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold.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.Controls.OBC.CDL.Continuous.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_GreaterEqualThreshold",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.208/2.208, allocations: 248.6 MB / 255.9 MB, free: 7.125 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002367/0.002367, allocations: 178.6 kB / 315.1 MB, free: 4.273 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.024/2.024, allocations: 205.1 MB / 0.5658 GB, free: 420 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00131/0.00131, allocations: 94.58 kB / 0.67 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.5306/0.532, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2336/0.7656, allocations: 106.3 MB / 0.8835 GB, free: 13.32 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7225/1.488, allocations: 131.4 MB / 1.012 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004211/1.489, allocations: 68.83 kB / 1.012 GB, free: 8.676 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.004572/1.493, allocations: 0.6549 MB / 1.013 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.037e-05/1.493, allocations: 12 kB / 1.013 GB, free: 8.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.288e-05/1.494, allocations: 3.984 kB / 1.013 GB, free: 8.016 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/1.494, allocations: 163 kB / 1.013 GB, free: 7.816 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/1.494, allocations: 7.938 kB / 1.013 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.494, allocations: 0 / 1.013 GB, free: 7.812 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001262/1.494, allocations: 7.812 kB / 1.013 GB, free: 7.809 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/1.494, allocations: 40.81 kB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/1.494, allocations: 4 kB / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/1.494, allocations: 0 / 1.013 GB, free: 7.762 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/1.494, allocations: 4 kB / 1.013 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000707/1.495, allocations: 243.7 kB / 1.013 GB, free: 7.492 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.495, allocations: 26.58 kB / 1.013 GB, free: 7.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/1.495, allocations: 8.734 kB / 1.013 GB, free: 7.449 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/1.495, allocations: 4.062 kB / 1.013 GB, free: 7.445 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/1.495, allocations: 34.5 kB / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.836e-06/1.495, allocations: 0 / 1.013 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.000265/1.496, allocations: 45.53 kB / 1.013 GB, free: 7.355 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/1.496, allocations: 51.41 kB / 1.013 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.496, allocations: 99.22 kB / 1.013 GB, free: 7.195 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.496, allocations: 25.7 kB / 1.013 GB, free: 7.164 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/1.496, allocations: 84.14 kB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/1.496, allocations: 0 / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.571e-06/1.496, allocations: 0 / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.496, allocations: 322.5 kB / 1.014 GB, free: 6.758 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.523e-05/1.496, allocations: 4 kB / 1.014 GB, free: 6.754 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/1.496, allocations: 7.688 kB / 1.014 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/1.496, allocations: 5.094 kB / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/1.496, allocations: 0 / 1.014 GB, free: 6.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001852/1.497, allocations: 41.08 kB / 1.014 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/1.497, allocations: 8 kB / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.497, allocations: 0 / 1.014 GB, free: 6.695 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/1.497, allocations: 3.984 kB / 1.014 GB, free: 6.691 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002414/1.497, allocations: 11.98 kB / 1.014 GB, free: 6.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/1.497, allocations: 4.031 kB / 1.014 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001519/1.497, allocations: 15.89 kB / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.108e-06/1.497, allocations: 0 / 1.014 GB, free: 6.66 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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.0001095/1.497, allocations: 106.9 kB / 1.014 GB, free: 6.551 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/1.497, allocations: 3.938 kB / 1.014 GB, free: 6.547 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.051e-05/1.497, allocations: 10.58 kB / 1.014 GB, free: 6.543 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.386e-06/1.497, allocations: 7.906 kB / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/1.497, allocations: 0 / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.617e-06/1.497, allocations: 0 / 1.014 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002895/1.498, allocations: 149.3 kB / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/1.498, allocations: 0 / 1.014 GB, free: 6.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/1.498, allocations: 8 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/1.498, allocations: 0 / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.483e-05/1.498, allocations: 3.984 kB / 1.014 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/1.498, allocations: 4 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/1.498, allocations: 2.688 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002104/1.498, allocations: 139.3 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003025/1.499, allocations: 0.5033 MB / 1.015 GB, free: 5.676 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/1.499, allocations: 89.05 kB / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.929e-05/1.499, allocations: 0 / 1.015 GB, free: 5.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001656/1.499, allocations: 15.89 kB / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/1.499, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/1.499, allocations: 0 / 1.015 GB, free: 5.555 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.299e-05/1.499, allocations: 86.33 kB / 1.015 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001154/1.5, allocations: 8 kB / 1.015 GB, free: 5.465 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (greEquThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0001948/1.5, allocations: 99.25 kB / 1.015 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001204/1.5, allocations: 15.75 kB / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.5, allocations: 0 / 1.015 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.703e-05/1.501, allocations: 7.125 kB / 1.015 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/1.501, allocations: 4 kB / 1.015 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/1.501, allocations: 72.14 kB / 1.015 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003657/1.502, allocations: 0.6919 MB / 1.016 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of SimCode: time 8.91e-07/1.502, allocations: 0 / 1.016 GB, free: 4.531 MB / 0.6355 GB