Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMin") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.277/2.277, allocations: 253.1 MB / 260.4 MB, free: 7.473 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001599/0.001598, allocations: 185.2 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.238/2.238, allocations: 205.4 MB / 0.5704 GB, free: 15.05 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001312/0.001312, allocations: 86.09 kB / 0.6746 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.816e-05/1.845e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2528, allocations: 106.2 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.061, allocations: 131.2 MB / 1.016 GB, free: 7.098 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.062, allocations: 65.95 kB / 1.016 GB, free: 7.062 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.008446/1.07, allocations: 2.023 MB / 1.018 GB, free: 5.285 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.282e-05/1.07, allocations: 14.61 kB / 1.018 GB, free: 5.273 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: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0006018/1.071, allocations: 453.1 kB / 1.019 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.071, allocations: 8.031 kB / 1.019 GB, free: 4.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.694e-05/1.071, allocations: 23.72 kB / 1.019 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004623/1.072, allocations: 260.5 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/1.072, allocations: 8 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.011e-05/1.072, allocations: 12.83 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005885/1.072, allocations: 211.6 kB / 1.019 GB, free: 4.305 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007089/1.073, allocations: 331.5 kB / 1.02 GB, free: 4 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.61e-05/1.073, allocations: 3.938 kB / 1.02 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/1.073, allocations: 0 / 1.02 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/1.073, allocations: 8 kB / 1.02 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002077/1.075, allocations: 1.371 MB / 1.021 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/1.075, allocations: 169 kB / 1.021 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.382e-05/1.075, allocations: 82.58 kB / 1.021 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.535e-05/1.075, allocations: 79.22 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/1.075, allocations: 109.8 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.924e-06/1.075, allocations: 0 / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001149/1.076, allocations: 41.52 kB / 1.021 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.076, allocations: 55.34 kB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004101/1.076, allocations: 232.1 kB / 1.022 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.586e-05/1.076, allocations: 25.7 kB / 1.022 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.076, allocations: 169.5 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.238e-06/1.076, allocations: 3.312 kB / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.688e-06/1.076, allocations: 0 / 1.022 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001516/1.076, allocations: 330.2 kB / 1.022 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001169/1.077, allocations: 51.2 kB / 1.022 GB, free: 1.301 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/1.077, allocations: 95.09 kB / 1.022 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001577/1.077, allocations: 59.2 kB / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/1.077, allocations: 0 / 1.022 GB, free: 1.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004494/1.077, allocations: 181.7 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/1.077, allocations: 8.25 kB / 1.022 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/1.077, allocations: 4 kB / 1.022 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/1.077, allocations: 4 kB / 1.022 GB, free: 0.9609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001893/1.078, allocations: 19.98 kB / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/1.078, allocations: 0 / 1.023 GB, free: 0.9414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001414/1.078, allocations: 19.84 kB / 1.023 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.927e-05/1.078, allocations: 8 kB / 1.023 GB, free: 0.9141 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 0.0001126/1.078, allocations: 184.2 kB / 1.023 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.604e-05/1.078, allocations: 116.8 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.777e-05/1.078, allocations: 117.1 kB / 1.023 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-05/1.078, allocations: 188.2 kB / 1.023 GB, free: 308 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.651e-05/1.078, allocations: 176.3 kB / 1.023 GB, free: 124 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001397/1.078, allocations: 176.3 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003987/1.079, allocations: 462.3 kB / 1.024 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.062e-05/1.079, allocations: 113.3 kB / 1.024 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.849e-05/1.079, allocations: 105 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.838e-05/1.079, allocations: 184.2 kB / 1.024 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.943e-05/1.079, allocations: 180.2 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.232e-05/1.079, allocations: 176.3 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.6e-05/1.079, allocations: 188.2 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001896/1.08, allocations: 315.2 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.08, allocations: 201.4 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001232/1.08, allocations: 180.3 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001474/1.08, allocations: 104.9 kB / 1.026 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.721e-05/1.08, allocations: 188.8 kB / 1.026 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.595e-05/1.08, allocations: 105 kB / 1.026 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.000263/1.08, allocations: 191.6 kB / 1.026 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004221/1.081, allocations: 31.84 kB / 1.026 GB, free: 13.17 MB / 0.6511 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 (0): * Single equations (assignments): 0 * 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.0002084/1.081, allocations: 178.5 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000214/1.081, allocations: 62.84 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/1.081, allocations: 4.062 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.184e-06/1.081, allocations: 0 / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005806/1.082, allocations: 0.5468 MB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008152/1.083, allocations: 332.9 kB / 1.027 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005317/1.083, allocations: 0.8072 MB / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of SimCode: time 6.62e-07/1.083, allocations: 0 / 1.028 GB, free: 11.22 MB / 0.6511 GB Notification: Performance of Templates: time 0.005063/1.088, allocations: 0.9892 MB / 1.029 GB, free: 10.25 MB / 0.6511 GB