Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn.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.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.BoilerReturn") [: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.094/2.094, allocations: 253.1 MB / 260.4 MB, free: 7.574 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.001602/0.001602, allocations: 185 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 1.721/1.721, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001391/0.001391, allocations: 97.98 kB / 0.6746 GB, free: 4.43 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.755e-06/7.865e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1853, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5748/0.7602, allocations: 134.7 MB / 1.02 GB, free: 3.652 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003775/0.7606, allocations: 86.38 kB / 1.02 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01689/0.7775, allocations: 4.348 MB / 1.024 GB, free: 36 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.376e-05/0.7776, allocations: 4 kB / 1.024 GB, free: 32 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0009692/0.7786, allocations: 0.4979 MB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.7786, allocations: 8.031 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.916e-05/0.7787, allocations: 31.62 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.7792, allocations: 268.9 kB / 1.025 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.775e-05/0.7793, allocations: 8 kB / 1.025 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.145e-05/0.7793, allocations: 12 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004242/0.7798, allocations: 135.8 kB / 1.025 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004758/0.7803, allocations: 190.4 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.7803, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.7803, allocations: 0 / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.7803, allocations: 8 kB / 1.025 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001656/0.782, allocations: 0.9359 MB / 1.026 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005734/0.7826, allocations: 157.6 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.7828, allocations: 80.11 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.7828, allocations: 4 kB / 1.026 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.7829, allocations: 30.56 kB / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.703e-06/0.7829, allocations: 0 / 1.026 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0004331/0.7833, allocations: 149.7 kB / 1.026 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.7834, allocations: 77.11 kB / 1.026 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000288/0.7837, allocations: 187.6 kB / 1.027 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.054e-05/0.7837, allocations: 32.77 kB / 1.027 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 9.157e-05/0.7838, allocations: 134.4 kB / 1.027 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.425e-05/0.7839, allocations: 53.02 kB / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.273e-05/0.7839, allocations: 0 / 1.027 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001315/0.7841, allocations: 330.1 kB / 1.027 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001331/0.7842, allocations: 44 kB / 1.027 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.7844, allocations: 75.72 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.7846, allocations: 55.42 kB / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.7846, allocations: 0 / 1.027 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003908/0.785, allocations: 158.4 kB / 1.027 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.7852, allocations: 189.6 kB / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.7852, allocations: 0 / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.7852, allocations: 0 / 1.028 GB, free: 12.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.7856, allocations: 43.91 kB / 1.028 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.7856, allocations: 7.906 kB / 1.028 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002704/0.7859, allocations: 27.97 kB / 1.028 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.867e-05/0.7859, allocations: 4 kB / 1.028 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 8.496e-06/0.7859, allocations: 4 kB / 1.028 GB, free: 12.49 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002878/0.7862, allocations: 103.2 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.7862, allocations: 4 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.7862, allocations: 3.906 kB / 1.028 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.7865, allocations: 35.11 kB / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.504e-06/0.7866, allocations: 0 / 1.028 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.7868, allocations: 20.02 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.7868, allocations: 8 kB / 1.028 GB, free: 12.36 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 1 (conBoiRet.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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.0001057/0.7869, allocations: 116.8 kB / 1.028 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.787, allocations: 15.81 kB / 1.028 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.187e-05/0.7871, allocations: 19.66 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.7871, allocations: 3.906 kB / 1.028 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.7871, allocations: 7.938 kB / 1.028 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.7871, allocations: 7.984 kB / 1.028 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007859/0.7879, allocations: 498 kB / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.788, allocations: 0 / 1.029 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003555/0.7883, allocations: 38.92 kB / 1.029 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.7883, allocations: 8.016 kB / 1.029 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.7884, allocations: 3.984 kB / 1.029 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.7884, allocations: 0 / 1.029 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.7884, allocations: 4 kB / 1.029 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006128/0.789, allocations: 324.8 kB / 1.029 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.605e-05/0.7891, allocations: 96.83 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.712e-05/0.7892, allocations: 8 kB / 1.029 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002825/0.7895, allocations: 19.97 kB / 1.029 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.7895, allocations: 4 kB / 1.029 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.7896, allocations: 11.73 kB / 1.029 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002007/0.7898, allocations: 154.3 kB / 1.029 GB, free: 11.16 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005065/0.7903, allocations: 71.53 kB / 1.029 GB, free: 11.09 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (conBoiRet.conPID.I.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 14 * 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.0001643/0.7905, allocations: 103.4 kB / 1.029 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005012/0.791, allocations: 180.9 kB / 1.03 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.791, allocations: 0 / 1.03 GB, free: 10.87 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.7912, allocations: 65.92 kB / 1.03 GB, free: 10.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005095/0.7917, allocations: 43.58 kB / 1.03 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.7927, allocations: 281.8 kB / 1.03 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004863/0.7932, allocations: 0.7688 MB / 1.031 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/0.7932, allocations: 0 / 1.031 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of Templates: time 0.009758/0.803, allocations: 2.773 MB / 1.033 GB, free: 7.004 MB / 0.6511 GB