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.MultiMin.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.MultiMin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.MultiMin") [: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.567/2.567, allocations: 253.1 MB / 260.4 MB, free: 7.516 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.002784/0.002784, allocations: 173.3 kB / 319.6 MB, free: 3.312 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.175/2.175, 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.001826/0.001826, allocations: 79.41 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.935e-05/1.955e-05, allocations: 8 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2571, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7936/1.051, allocations: 131 MB / 1.016 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003632/1.051, allocations: 70.95 kB / 1.016 GB, free: 7.234 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.003231/1.054, allocations: 465.4 kB / 1.017 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.577e-05/1.054, allocations: 0 / 1.017 GB, free: 6.855 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.0005236/1.055, allocations: 341.5 kB / 1.017 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.012e-05/1.055, allocations: 8.031 kB / 1.017 GB, free: 6.473 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.804e-05/1.055, allocations: 8.656 kB / 1.017 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003589/1.056, allocations: 190 kB / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/1.056, allocations: 0 / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/1.056, allocations: 4 kB / 1.017 GB, free: 6.242 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001969/1.056, allocations: 45.72 kB / 1.017 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002396/1.056, allocations: 71.23 kB / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/1.056, allocations: 0 / 1.017 GB, free: 6.141 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.138e-05/1.056, allocations: 3.984 kB / 1.017 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.847e-06/1.056, allocations: 3.938 kB / 1.017 GB, free: 6.133 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/1.057, allocations: 452.5 kB / 1.018 GB, free: 5.668 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/1.057, allocations: 172.6 kB / 1.018 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.939e-05/1.057, allocations: 80.14 kB / 1.018 GB, free: 5.41 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.208e-05/1.058, allocations: 79.19 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.579e-05/1.058, allocations: 109.8 kB / 1.018 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/1.058, allocations: 0 / 1.018 GB, free: 5.215 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 0.0001482/1.058, allocations: 33.64 kB / 1.018 GB, free: 5.176 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/1.058, allocations: 51.41 kB / 1.018 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/1.058, allocations: 112.3 kB / 1.018 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/1.058, allocations: 25.7 kB / 1.018 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/1.058, allocations: 101.4 kB / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-06/1.058, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-06/1.058, allocations: 0 / 1.018 GB, free: 4.875 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002056/1.058, allocations: 318.5 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.692e-05/1.059, allocations: 7.984 kB / 1.019 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.014e-05/1.059, allocations: 7.5 kB / 1.019 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.584e-05/1.059, allocations: 14.42 kB / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/1.059, allocations: 0 / 1.019 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002423/1.059, allocations: 48.72 kB / 1.019 GB, free: 4.484 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/1.059, allocations: 6.5 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.059, allocations: 7.312 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/1.059, allocations: 4.094 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/1.059, allocations: 7.922 kB / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/1.059, allocations: 0 / 1.019 GB, free: 4.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.527e-05/1.059, allocations: 4 kB / 1.019 GB, free: 4.461 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.059, allocations: 4 kB / 1.019 GB, free: 4.457 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.000157/1.059, allocations: 176.3 kB / 1.019 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001318/1.06, allocations: 104.9 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000108/1.06, allocations: 115.8 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/1.06, allocations: 184.2 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001135/1.06, allocations: 176.3 kB / 1.019 GB, free: 3.684 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001141/1.06, allocations: 180.3 kB / 1.02 GB, free: 3.5 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/1.061, allocations: 404.1 kB / 1.02 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.708e-05/1.061, allocations: 101 kB / 1.02 GB, free: 2.961 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.579e-05/1.061, allocations: 105.1 kB / 1.02 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001126/1.061, allocations: 184.1 kB / 1.02 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001171/1.061, allocations: 180.3 kB / 1.021 GB, free: 2.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001684/1.061, allocations: 180.2 kB / 1.021 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001149/1.061, allocations: 184.5 kB / 1.021 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002624/1.062, allocations: 307.7 kB / 1.021 GB, free: 1.789 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001563/1.062, allocations: 190 kB / 1.021 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001406/1.062, allocations: 183.3 kB / 1.022 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002159/1.062, allocations: 101 kB / 1.022 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/1.062, allocations: 184.8 kB / 1.022 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.035e-05/1.062, allocations: 108.9 kB / 1.022 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.0001501/1.063, allocations: 99.08 kB / 1.022 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005808/1.063, allocations: 7.938 kB / 1.022 GB, free: 0.8906 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.0003075/1.064, allocations: 170.5 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001199/1.064, allocations: 11.98 kB / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.064, allocations: 0 / 1.022 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.013e-06/1.064, allocations: 3.938 kB / 1.022 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/1.064, allocations: 0.5263 MB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005432/1.065, allocations: 156.6 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006168/1.066, allocations: 0.7071 MB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.282e-06/1.066, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of Templates: time 0.004199/1.07, allocations: 310.2 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB