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.Round.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.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Round") [: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.503/2.503, allocations: 253.1 MB / 260.4 MB, free: 7.543 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.002535/0.002535, allocations: 173.3 kB / 319.6 MB, free: 3.332 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.035/2.035, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.00129/0.001289, allocations: 95.33 kB / 0.6746 GB, free: 4.406 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.783e-05/1.801e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3056/0.3057, allocations: 106.3 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7742/1.08, allocations: 131.6 MB / 1.017 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003018/1.08, allocations: 74.31 kB / 1.017 GB, free: 6.676 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.005416/1.086, allocations: 0.8391 MB / 1.017 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.558e-06/1.086, allocations: 0 / 1.017 GB, free: 5.969 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.0008374/1.087, allocations: 376.8 kB / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.869e-05/1.087, allocations: 8.031 kB / 1.018 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.774e-05/1.087, allocations: 7.906 kB / 1.018 GB, free: 5.551 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000207/1.087, allocations: 171 kB / 1.018 GB, free: 5.344 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.518e-05/1.087, allocations: 4 kB / 1.018 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/1.087, allocations: 4 kB / 1.018 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001851/1.087, allocations: 37.05 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/1.087, allocations: 64.17 kB / 1.018 GB, free: 5.254 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/1.088, allocations: 3.906 kB / 1.018 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.783e-05/1.088, allocations: 4 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/1.088, allocations: 0 / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009219/1.088, allocations: 321.3 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002197/1.089, allocations: 71.69 kB / 1.018 GB, free: 4.863 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/1.089, allocations: 28.7 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/1.089, allocations: 2.625 kB / 1.018 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/1.089, allocations: 30.56 kB / 1.019 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 1.993e-06/1.089, allocations: 0 / 1.019 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0003243/1.089, allocations: 79.27 kB / 1.019 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.089, allocations: 51.41 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/1.089, allocations: 107.1 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.445e-05/1.089, allocations: 33.61 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.841e-05/1.09, allocations: 88.05 kB / 1.019 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.235e-05/1.09, allocations: 27.02 kB / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.848e-06/1.09, allocations: 0 / 1.019 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001532/1.09, allocations: 314.5 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.522e-05/1.09, allocations: 15 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/1.09, allocations: 22.86 kB / 1.019 GB, free: 4.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.208e-05/1.09, allocations: 18.06 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.09, allocations: 0 / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002251/1.09, allocations: 78.84 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/1.09, allocations: 8 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/1.09, allocations: 0 / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.133e-05/1.09, allocations: 3.984 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002875/1.091, allocations: 19.98 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/1.091, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001741/1.091, allocations: 12.09 kB / 1.019 GB, free: 3.953 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.661e-05/1.091, allocations: 11.92 kB / 1.019 GB, free: 3.941 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 (6): * Single equations (assignments): 6 * 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.0001042/1.091, allocations: 104.9 kB / 1.019 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/1.091, allocations: 7.906 kB / 1.019 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.535e-05/1.091, allocations: 7.75 kB / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/1.091, allocations: 0 / 1.019 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/1.091, allocations: 7.625 kB / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/1.091, allocations: 0 / 1.019 GB, free: 3.812 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002737/1.091, allocations: 175.3 kB / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/1.091, allocations: 0 / 1.02 GB, free: 3.617 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000232/1.092, allocations: 23.97 kB / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/1.092, allocations: 0 / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.624e-05/1.092, allocations: 0 / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/1.092, allocations: 0 / 1.02 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/1.092, allocations: 4 kB / 1.02 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003087/1.092, allocations: 171.1 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.253e-05/1.092, allocations: 85.02 kB / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/1.092, allocations: 0 / 1.02 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/1.092, allocations: 11.98 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.737e-05/1.093, allocations: 11.92 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.355e-05/1.093, allocations: 3.25 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 9.065e-05/1.093, allocations: 98.7 kB / 1.02 GB, free: 3.207 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003366/1.093, allocations: 15.84 kB / 1.02 GB, free: 3.191 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 (6): * Single equations (assignments): 6 * 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.0002261/1.093, allocations: 103.2 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002112/1.094, allocations: 49.36 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/1.094, allocations: 0 / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/1.094, allocations: 23.44 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/1.094, allocations: 7.938 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005868/1.095, allocations: 117.4 kB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004972/1.095, allocations: 0.7075 MB / 1.021 GB, free: 2.164 MB / 0.6355 GB Notification: Performance of SimCode: time 1.223e-06/1.095, allocations: 3.938 kB / 1.021 GB, free: 2.16 MB / 0.6355 GB Notification: Performance of Templates: time 0.005024/1.1, allocations: 1.06 MB / 1.022 GB, free: 1.121 MB / 0.6355 GB