Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.Sources.Validation.Ramp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp") [: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.45/2.45, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001647/0.001646, allocations: 181.3 kB / 319.6 MB, free: 3.309 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.067/2.067, 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.001354/0.001353, allocations: 89.36 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.457e-05/1.477e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 106.3 MB / 0.8881 GB, free: 12.15 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7896/1.074, allocations: 131.2 MB / 1.016 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.074, allocations: 72.58 kB / 1.016 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.001811/1.076, allocations: 247 kB / 1.017 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.136e-06/1.076, allocations: 0 / 1.017 GB, free: 6.84 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004496/1.077, allocations: 327.4 kB / 1.017 GB, free: 6.48 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/1.077, allocations: 12.03 kB / 1.017 GB, free: 6.469 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/1.077, allocations: 3.906 kB / 1.017 GB, free: 6.465 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/1.077, allocations: 167 kB / 1.017 GB, free: 6.262 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/1.077, allocations: 4 kB / 1.017 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.486e-05/1.077, allocations: 4 kB / 1.017 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.325e-05/1.077, allocations: 10.97 kB / 1.017 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.399e-05/1.077, allocations: 29.7 kB / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/1.077, allocations: 0 / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/1.077, allocations: 0 / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/1.077, allocations: 0 / 1.017 GB, free: 6.211 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001788/1.077, allocations: 133.3 kB / 1.017 GB, free: 6.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.179e-05/1.078, allocations: 26.05 kB / 1.017 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.32e-05/1.078, allocations: 4.859 kB / 1.017 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.006e-05/1.078, allocations: 2.297 kB / 1.017 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/1.078, allocations: 43.39 kB / 1.017 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/1.078, allocations: 0 / 1.017 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001502/1.078, allocations: 36.3 kB / 1.017 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/1.078, allocations: 51.41 kB / 1.017 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.896e-05/1.078, allocations: 96.66 kB / 1.017 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/1.078, allocations: 25.7 kB / 1.017 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.27e-05/1.078, allocations: 80.14 kB / 1.018 GB, free: 5.645 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/1.078, allocations: 4 kB / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/1.078, allocations: 0 / 1.018 GB, free: 5.641 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.078, allocations: 326.2 kB / 1.018 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.884e-05/1.078, allocations: 0 / 1.018 GB, free: 5.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/1.078, allocations: 4 kB / 1.018 GB, free: 5.312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.322e-05/1.078, allocations: 7.375 kB / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/1.078, allocations: 0 / 1.018 GB, free: 5.309 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.262e-05/1.078, allocations: 37.64 kB / 1.018 GB, free: 5.266 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/1.078, allocations: 4 kB / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/1.078, allocations: 0 / 1.018 GB, free: 5.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/1.079, allocations: 4 kB / 1.018 GB, free: 5.258 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.079, allocations: 11.98 kB / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.079, allocations: 0 / 1.018 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.297e-05/1.079, allocations: 16.12 kB / 1.018 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/1.079, allocations: 0 / 1.018 GB, free: 5.234 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 8.971e-05/1.079, allocations: 112 kB / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.055e-05/1.079, allocations: 0 / 1.018 GB, free: 5.121 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/1.079, allocations: 7.109 kB / 1.018 GB, free: 5.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/1.079, allocations: 3.938 kB / 1.018 GB, free: 5.113 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/1.079, allocations: 4 kB / 1.018 GB, free: 5.109 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/1.079, allocations: 4 kB / 1.018 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001364/1.079, allocations: 133.6 kB / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/1.079, allocations: 0 / 1.018 GB, free: 4.941 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.079, allocations: 11.98 kB / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/1.079, allocations: 192 / 1.018 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/1.079, allocations: 4 kB / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/1.079, allocations: 0 / 1.018 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/1.079, allocations: 4 kB / 1.018 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001182/1.08, allocations: 72.77 kB / 1.018 GB, free: 4.836 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.735e-05/1.08, allocations: 77.11 kB / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.693e-05/1.08, allocations: 0 / 1.018 GB, free: 4.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.723e-05/1.08, allocations: 11.98 kB / 1.018 GB, free: 4.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.993e-05/1.08, allocations: 4.031 kB / 1.018 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/1.08, allocations: 0 / 1.018 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.33e-05/1.08, allocations: 79.28 kB / 1.018 GB, free: 4.648 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002351/1.08, allocations: 3.906 kB / 1.018 GB, free: 4.645 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 (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 Backend phase and start with SimCode phase: time 0.0001565/1.08, allocations: 102.8 kB / 1.019 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.49e-05/1.08, allocations: 4 kB / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/1.08, allocations: 0 / 1.019 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.967e-05/1.08, allocations: 10.94 kB / 1.019 GB, free: 4.52 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/1.081, allocations: 6.172 kB / 1.019 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002362/1.081, allocations: 63.23 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003685/1.081, allocations: 0.688 MB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of SimCode: time 6.91e-07/1.081, allocations: 0 / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of Templates: time 0.002869/1.084, allocations: 357 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB