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.MultiMax.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.MultiMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMax") [: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.217/2.217, allocations: 253.1 MB / 260.4 MB, free: 7.527 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.001759/0.001759, allocations: 185.2 kB / 319.6 MB, free: 3.305 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.18/2.18, 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.001377/0.001377, allocations: 92.81 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.354e-05/1.366e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2381, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.77/1.008, allocations: 131 MB / 1.016 GB, free: 7.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/1.009, allocations: 71.02 kB / 1.016 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002176/1.011, allocations: 393.2 kB / 1.016 GB, free: 6.949 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.574e-05/1.011, allocations: 4 kB / 1.016 GB, free: 6.945 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0003924/1.011, allocations: 337.3 kB / 1.017 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/1.011, allocations: 8.031 kB / 1.017 GB, free: 6.566 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/1.011, allocations: 6.312 kB / 1.017 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/1.012, allocations: 182.1 kB / 1.017 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/1.012, allocations: 0 / 1.017 GB, free: 6.348 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.747e-05/1.012, allocations: 4.844 kB / 1.017 GB, free: 6.344 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/1.012, allocations: 41.72 kB / 1.017 GB, free: 6.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/1.012, allocations: 79.59 kB / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.719e-06/1.012, allocations: 0 / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/1.012, allocations: 0 / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.463e-05/1.012, allocations: 0 / 1.017 GB, free: 6.238 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006229/1.013, allocations: 459.5 kB / 1.018 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/1.013, allocations: 165.1 kB / 1.018 GB, free: 5.598 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/1.013, allocations: 80.14 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.417e-05/1.013, allocations: 83.12 kB / 1.018 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.117e-05/1.013, allocations: 109.8 kB / 1.018 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 1.452e-06/1.013, allocations: 4 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 9.482e-05/1.013, allocations: 33.64 kB / 1.018 GB, free: 5.273 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.391e-05/1.013, allocations: 51.41 kB / 1.018 GB, free: 5.211 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002297/1.013, allocations: 115.2 kB / 1.018 GB, free: 5.102 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/1.013, allocations: 25.7 kB / 1.018 GB, free: 5.07 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.165e-05/1.014, allocations: 95.94 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.175e-06/1.014, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/1.014, allocations: 0 / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001396/1.014, allocations: 314.2 kB / 1.019 GB, free: 4.66 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/1.014, allocations: 15.98 kB / 1.019 GB, free: 4.645 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.387e-05/1.014, allocations: 7.062 kB / 1.019 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.146e-05/1.014, allocations: 10.42 kB / 1.019 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.014, allocations: 0 / 1.019 GB, free: 4.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001676/1.014, allocations: 53.53 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.014, allocations: 6.188 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.582e-06/1.014, allocations: 3.312 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.61e-05/1.014, allocations: 0 / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.827e-05/1.014, allocations: 4.094 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.854e-06/1.014, allocations: 4 kB / 1.019 GB, free: 4.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/1.014, allocations: 11.92 kB / 1.019 GB, free: 4.555 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/1.014, allocations: 0 / 1.019 GB, free: 4.555 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.0001098/1.014, allocations: 176.3 kB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.839e-05/1.014, allocations: 112.4 kB / 1.019 GB, free: 4.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.674e-05/1.015, allocations: 104.5 kB / 1.019 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.431e-05/1.015, allocations: 184.2 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.737e-05/1.015, allocations: 184.2 kB / 1.019 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.148e-05/1.015, allocations: 176.4 kB / 1.02 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/1.015, allocations: 403.8 kB / 1.02 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-05/1.015, allocations: 105 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-05/1.015, allocations: 101 kB / 1.02 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.786e-05/1.015, allocations: 188.2 kB / 1.02 GB, free: 2.758 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.696e-05/1.015, allocations: 176.3 kB / 1.02 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.124e-05/1.016, allocations: 179.8 kB / 1.021 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.917e-05/1.016, allocations: 180.5 kB / 1.021 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001841/1.016, allocations: 311.7 kB / 1.021 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/1.016, allocations: 188.8 kB / 1.021 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.517e-05/1.016, allocations: 180.2 kB / 1.021 GB, free: 1.496 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/1.016, allocations: 105 kB / 1.022 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.528e-05/1.016, allocations: 180.8 kB / 1.022 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/1.016, allocations: 104.9 kB / 1.022 GB, free: 1.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.943e-05/1.017, allocations: 106 kB / 1.022 GB, free: 0.9961 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003158/1.017, allocations: 7.938 kB / 1.022 GB, free: 0.9883 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: 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.0002126/1.017, allocations: 174.5 kB / 1.022 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.658e-05/1.017, allocations: 11.86 kB / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.017, allocations: 0 / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.093e-06/1.017, allocations: 0 / 1.022 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000511/1.018, allocations: 0.5263 MB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003415/1.018, allocations: 158.1 kB / 1.023 GB, free: 96 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003974/1.018, allocations: 0.6997 MB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of SimCode: time 6.32e-07/1.019, allocations: 0 / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of Templates: time 0.002818/1.021, allocations: 310.6 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB