Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Greater.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.Greater,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Greater",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.163/2.163, allocations: 248.6 MB / 255.9 MB, free: 7.16 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.001677/0.001676, allocations: 189.2 kB / 315.1 MB, free: 4.266 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.003/2.003, allocations: 205.1 MB / 0.5658 GB, free: 376 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.001298/0.001298, allocations: 87.27 kB / 0.67 GB, free: 5.582 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4922/0.4935, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2352/0.7287, allocations: 106.3 MB / 0.8835 GB, free: 13.34 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6851/1.414, allocations: 131.4 MB / 1.012 GB, free: 8.715 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/1.414, allocations: 65.7 kB / 1.012 GB, free: 8.68 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.004491/1.419, allocations: 0.9413 MB / 1.013 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.848e-05/1.419, allocations: 12 kB / 1.013 GB, free: 7.754 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/1.419, allocations: 3.906 kB / 1.013 GB, free: 7.75 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/1.419, allocations: 175 kB / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/1.419, allocations: 0 / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/1.419, allocations: 0 / 1.013 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001166/1.419, allocations: 19.06 kB / 1.013 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/1.419, allocations: 49.11 kB / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.419, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/1.419, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/1.419, allocations: 0 / 1.013 GB, free: 7.48 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007204/1.42, allocations: 290.5 kB / 1.013 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.308e-05/1.42, allocations: 32.52 kB / 1.013 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.045e-05/1.42, allocations: 20.55 kB / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/1.42, allocations: 0 / 1.013 GB, free: 7.117 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.965e-05/1.42, allocations: 33.56 kB / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.413e-06/1.42, allocations: 0 / 1.013 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001977/1.421, allocations: 43.95 kB / 1.013 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/1.421, allocations: 55.48 kB / 1.014 GB, free: 6.969 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/1.421, allocations: 103.7 kB / 1.014 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/1.421, allocations: 25.7 kB / 1.014 GB, free: 6.836 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.222e-05/1.421, allocations: 92.08 kB / 1.014 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/1.421, allocations: 7.719 kB / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.15e-06/1.421, allocations: 0 / 1.014 GB, free: 6.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.421, allocations: 314.8 kB / 1.014 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.021e-05/1.421, allocations: 11.31 kB / 1.014 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.575e-05/1.421, allocations: 11.69 kB / 1.014 GB, free: 6.406 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/1.421, allocations: 7.188 kB / 1.014 GB, free: 6.402 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.421, allocations: 3.938 kB / 1.014 GB, free: 6.398 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001297/1.421, allocations: 48.84 kB / 1.014 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/1.421, allocations: 8 kB / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/1.421, allocations: 0 / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.421, allocations: 0 / 1.014 GB, free: 6.34 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/1.421, allocations: 19.98 kB / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.422, allocations: 0 / 1.014 GB, free: 6.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/1.422, allocations: 27.97 kB / 1.014 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/1.422, allocations: 3.5 kB / 1.014 GB, free: 6.293 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 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.0001205/1.422, allocations: 108.9 kB / 1.014 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.527e-05/1.422, allocations: 4 kB / 1.014 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.6e-05/1.422, allocations: 4 kB / 1.014 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.422, allocations: 4 kB / 1.014 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/1.422, allocations: 3.906 kB / 1.014 GB, free: 6.16 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/1.422, allocations: 7.875 kB / 1.014 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/1.422, allocations: 142.1 kB / 1.014 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/1.422, allocations: 7.984 kB / 1.014 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001892/1.422, allocations: 20.17 kB / 1.014 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/1.422, allocations: 4 kB / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/1.423, allocations: 0 / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/1.423, allocations: 0 / 1.014 GB, free: 5.953 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.423, allocations: 3.984 kB / 1.014 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002436/1.423, allocations: 142 kB / 1.015 GB, free: 5.801 MB / 0.6355 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002858/1.423, allocations: 0.5192 MB / 1.015 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.141e-05/1.423, allocations: 85.02 kB / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/1.423, allocations: 0 / 1.015 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.423, allocations: 31.03 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.773e-05/1.424, allocations: 3 kB / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/1.424, allocations: 0 / 1.015 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.948e-05/1.424, allocations: 90.2 kB / 1.015 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001156/1.425, allocations: 4 kB / 1.015 GB, free: 5.051 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 (greater1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001682/1.425, allocations: 103.2 kB / 1.015 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001339/1.425, allocations: 18.44 kB / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/1.425, allocations: 0 / 1.015 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.936e-05/1.425, allocations: 15.06 kB / 1.015 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002616/1.425, allocations: 11.84 kB / 1.015 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003434/1.426, allocations: 84.61 kB / 1.016 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003353/1.426, allocations: 0.6954 MB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/1.426, allocations: 4 kB / 1.016 GB, free: 4.09 MB / 0.6355 GB