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.MatrixMax.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.MatrixMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MatrixMax") [: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.639/2.639, 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.002718/0.002718, allocations: 185.2 kB / 319.6 MB, free: 3.336 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.338/2.338, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.001262/0.001261, allocations: 86.58 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.762e-05/1.782e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2386, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8598/1.098, allocations: 131.2 MB / 1.016 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003603/1.099, allocations: 74.81 kB / 1.016 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01175/1.111, allocations: 1.958 MB / 1.018 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.051e-05/1.111, allocations: 6.625 kB / 1.018 GB, free: 5.316 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0008378/1.112, allocations: 452.1 kB / 1.019 GB, free: 4.844 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/1.112, allocations: 12.03 kB / 1.019 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/1.112, allocations: 23.72 kB / 1.019 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006681/1.113, allocations: 265.8 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.983e-05/1.113, allocations: 8 kB / 1.019 GB, free: 4.512 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.967e-05/1.113, allocations: 8 kB / 1.019 GB, free: 4.504 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008658/1.114, allocations: 217 kB / 1.019 GB, free: 4.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009356/1.115, allocations: 316.4 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.48e-05/1.115, allocations: 0 / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.044e-05/1.115, allocations: 7.922 kB / 1.019 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/1.115, allocations: 8 kB / 1.019 GB, free: 4.035 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002937/1.118, allocations: 1.281 MB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/1.118, allocations: 176.6 kB / 1.021 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.808e-05/1.118, allocations: 86.58 kB / 1.021 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 4.327e-05/1.118, allocations: 75.28 kB / 1.021 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.958e-05/1.118, allocations: 113.8 kB / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 4.128e-06/1.118, allocations: 0 / 1.021 GB, free: 2.305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0002182/1.118, allocations: 33.61 kB / 1.021 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.118, allocations: 51.41 kB / 1.021 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005294/1.119, allocations: 236.1 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/1.119, allocations: 25.7 kB / 1.021 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001756/1.119, allocations: 165.4 kB / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/1.119, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/1.119, allocations: 0 / 1.022 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002537/1.119, allocations: 326 kB / 1.022 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/1.12, allocations: 55.02 kB / 1.022 GB, free: 1.441 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/1.12, allocations: 91.47 kB / 1.022 GB, free: 1.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002102/1.12, allocations: 57.83 kB / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.512e-06/1.12, allocations: 0 / 1.022 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0006572/1.121, allocations: 175.3 kB / 1.022 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 4.504e-05/1.121, allocations: 4 kB / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/1.121, allocations: 0 / 1.022 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.766e-05/1.121, allocations: 4 kB / 1.022 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000254/1.121, allocations: 23.92 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.121, allocations: 3.938 kB / 1.022 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002329/1.121, allocations: 19.91 kB / 1.022 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/1.122, allocations: 7.984 kB / 1.022 GB, free: 1.07 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001617/1.122, allocations: 187.1 kB / 1.023 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001511/1.122, allocations: 112.8 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001393/1.122, allocations: 124.6 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001114/1.122, allocations: 176.3 kB / 1.023 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.000113/1.122, allocations: 176.3 kB / 1.023 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001052/1.122, allocations: 191.5 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006147/1.123, allocations: 457.9 kB / 1.024 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001204/1.123, allocations: 101 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.517e-05/1.123, allocations: 105.3 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/1.123, allocations: 180.2 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001089/1.123, allocations: 187.8 kB / 1.024 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.524e-05/1.124, allocations: 184.2 kB / 1.024 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.982e-05/1.124, allocations: 180.2 kB / 1.025 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002628/1.124, allocations: 311.6 kB / 1.025 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002114/1.124, allocations: 200.9 kB / 1.025 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001541/1.124, allocations: 180.3 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/1.125, allocations: 112.8 kB / 1.025 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/1.125, allocations: 180.9 kB / 1.026 GB, free: 13.63 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.367e-05/1.125, allocations: 108.2 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0003821/1.125, allocations: 182.1 kB / 1.026 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007495/1.126, allocations: 39.78 kB / 1.026 GB, free: 13.33 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.0002842/1.126, allocations: 182.5 kB / 1.026 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003092/1.127, allocations: 57.84 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.384e-06/1.127, allocations: 0 / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 3.346e-06/1.127, allocations: 3.938 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/1.128, allocations: 0.5378 MB / 1.027 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/1.129, allocations: 335.9 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000862/1.13, allocations: 0.7995 MB / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.292e-06/1.13, allocations: 0 / 1.028 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.007422/1.137, allocations: 1.017 MB / 1.029 GB, free: 10.4 MB / 0.6511 GB