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.Log.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.Log,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Log") [: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.329/2.329, allocations: 253.1 MB / 260.4 MB, free: 7.504 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.001596/0.001596, allocations: 177.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.197/2.197, 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.001351/0.001351, allocations: 87.39 kB / 0.6746 GB, free: 4.441 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.588e-05/1.608e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2983/0.2984, allocations: 106.2 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7533/1.052, allocations: 131.4 MB / 1.016 GB, free: 6.918 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.052, allocations: 70.95 kB / 1.016 GB, free: 6.879 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.002484/1.055, allocations: 363.8 kB / 1.017 GB, free: 6.582 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.438e-06/1.055, allocations: 0 / 1.017 GB, free: 6.582 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004992/1.055, allocations: 338 kB / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.953e-05/1.055, allocations: 12.03 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.773e-05/1.055, allocations: 2 kB / 1.017 GB, free: 6.199 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/1.056, allocations: 167 kB / 1.017 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/1.056, allocations: 7.906 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/1.056, allocations: 0.8438 kB / 1.017 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.776e-05/1.056, allocations: 10.69 kB / 1.017 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/1.056, allocations: 41.25 kB / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/1.056, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/1.056, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/1.056, allocations: 0 / 1.017 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005591/1.056, allocations: 248.8 kB / 1.018 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.658e-05/1.056, allocations: 25.77 kB / 1.018 GB, free: 5.629 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.991e-05/1.057, allocations: 12.23 kB / 1.018 GB, free: 5.617 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.06e-05/1.057, allocations: 3.938 kB / 1.018 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.742e-05/1.057, allocations: 38.5 kB / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.957e-06/1.057, allocations: 0 / 1.018 GB, free: 5.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002183/1.057, allocations: 44.12 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/1.057, allocations: 51.41 kB / 1.018 GB, free: 5.461 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.807e-05/1.057, allocations: 96.84 kB / 1.018 GB, free: 5.363 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.02e-05/1.057, allocations: 25.7 kB / 1.018 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.799e-05/1.057, allocations: 84.05 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.908e-05/1.057, allocations: 0 / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/1.057, allocations: 4 kB / 1.018 GB, free: 5.242 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.057, allocations: 318.7 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.297e-05/1.057, allocations: 3.312 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.351e-05/1.057, allocations: 4 kB / 1.018 GB, free: 4.918 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.977e-05/1.057, allocations: 7.625 kB / 1.018 GB, free: 4.914 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/1.057, allocations: 4 kB / 1.018 GB, free: 4.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001043/1.058, allocations: 40.7 kB / 1.018 GB, free: 4.867 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.058, allocations: 10.5 kB / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/1.058, allocations: 0 / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/1.058, allocations: 0 / 1.018 GB, free: 4.859 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/1.058, allocations: 11.98 kB / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.058, allocations: 0 / 1.018 GB, free: 4.848 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/1.058, allocations: 19.92 kB / 1.018 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.486e-06/1.058, allocations: 0 / 1.018 GB, free: 4.828 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 (2): * Single equations (assignments): 2 * 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 9.176e-05/1.058, allocations: 101 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/1.058, allocations: 4.562 kB / 1.018 GB, free: 4.719 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/1.058, allocations: 48.33 kB / 1.019 GB, free: 4.672 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/1.058, allocations: 3.906 kB / 1.019 GB, free: 4.668 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/1.058, allocations: 11.91 kB / 1.019 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.058, allocations: 0 / 1.019 GB, free: 4.656 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001928/1.059, allocations: 134.2 kB / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.059, allocations: 0 / 1.019 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001153/1.059, allocations: 11.98 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/1.059, allocations: 4 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/1.059, allocations: 0.6875 kB / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/1.059, allocations: 0 / 1.019 GB, free: 4.477 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/1.059, allocations: 4.625 kB / 1.019 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002147/1.059, allocations: 138.6 kB / 1.019 GB, free: 4.328 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.804e-05/1.059, allocations: 85.02 kB / 1.019 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/1.059, allocations: 4 kB / 1.019 GB, free: 4.223 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/1.059, allocations: 16.02 kB / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/1.059, allocations: 0 / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/1.059, allocations: 0 / 1.019 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.674e-05/1.059, allocations: 90.77 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002923/1.06, allocations: 4 kB / 1.019 GB, free: 4.117 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 (2): * Single equations (assignments): 2 * 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.0001921/1.06, allocations: 99.23 kB / 1.019 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001054/1.06, allocations: 15.38 kB / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.06, allocations: 0 / 1.019 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.554e-05/1.06, allocations: 8.062 kB / 1.019 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/1.06, allocations: 7.5 kB / 1.019 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00029/1.061, allocations: 65.39 kB / 1.019 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003999/1.061, allocations: 0.688 MB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of SimCode: time 1.132e-06/1.061, allocations: 0 / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of Templates: time 0.003123/1.064, allocations: 413.4 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB