Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.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.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [: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.259/2.259, allocations: 253.1 MB / 260.4 MB, free: 7.492 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.001745/0.001745, allocations: 181.2 kB / 319.6 MB, free: 3.285 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.171/2.171, 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.001825/0.001825, allocations: 93.38 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.145e-05/1.149e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.24/0.24, allocations: 106.2 MB / 0.8881 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7778/1.018, allocations: 131.5 MB / 1.016 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003176/1.018, allocations: 68.77 kB / 1.016 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01143/1.03, allocations: 432.2 kB / 1.017 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.908e-06/1.03, allocations: 0 / 1.017 GB, free: 6.434 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.0006151/1.03, allocations: 346.3 kB / 1.017 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/1.031, allocations: 8.031 kB / 1.017 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/1.031, allocations: 6.125 kB / 1.017 GB, free: 6.039 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/1.031, allocations: 159.1 kB / 1.017 GB, free: 5.844 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.053e-05/1.031, allocations: 11.73 kB / 1.017 GB, free: 5.836 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/1.031, allocations: 3.984 kB / 1.017 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001121/1.031, allocations: 15.62 kB / 1.017 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/1.031, allocations: 41.19 kB / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/1.031, allocations: 0 / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.406e-05/1.031, allocations: 0 / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.031, allocations: 0 / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000518/1.032, allocations: 231.4 kB / 1.018 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.73e-05/1.032, allocations: 31.05 kB / 1.018 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.518e-05/1.032, allocations: 12.05 kB / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.822e-05/1.032, allocations: 0 / 1.018 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.032, allocations: 34.5 kB / 1.018 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.074e-06/1.032, allocations: 0 / 1.018 GB, free: 5.434 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002701/1.032, allocations: 44.94 kB / 1.018 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.847e-05/1.032, allocations: 51.41 kB / 1.018 GB, free: 5.324 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/1.033, allocations: 96.22 kB / 1.018 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.354e-05/1.033, allocations: 25.7 kB / 1.018 GB, free: 5.195 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.082e-05/1.033, allocations: 87.98 kB / 1.018 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.137e-05/1.033, allocations: 3.75 kB / 1.018 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.163e-06/1.033, allocations: 0 / 1.018 GB, free: 5.105 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001843/1.033, allocations: 322.7 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.73e-05/1.033, allocations: 3.062 kB / 1.018 GB, free: 4.781 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.742e-05/1.033, allocations: 4 kB / 1.018 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.311e-05/1.033, allocations: 10.31 kB / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/1.033, allocations: 0 / 1.018 GB, free: 4.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001781/1.033, allocations: 45.39 kB / 1.018 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/1.033, allocations: 10.17 kB / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/1.033, allocations: 0 / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.033, allocations: 0 / 1.018 GB, free: 4.715 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002535/1.034, allocations: 12 kB / 1.018 GB, free: 4.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.037e-06/1.034, allocations: 8.016 kB / 1.018 GB, free: 4.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00457/1.038, allocations: 6.625 kB / 1.018 GB, free: 4.691 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/1.038, allocations: 4 kB / 1.018 GB, free: 4.688 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: 1 (reaToInt.y) * 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 0.0001337/1.038, allocations: 104.9 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.888e-05/1.038, allocations: 3.75 kB / 1.019 GB, free: 4.578 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.646e-05/1.039, allocations: 11.25 kB / 1.019 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.039, allocations: 8.5 kB / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.039, allocations: 0 / 1.019 GB, free: 4.562 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.274e-06/1.039, allocations: 3.906 kB / 1.019 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/1.039, allocations: 133.4 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.039, allocations: 0.6875 kB / 1.019 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/1.039, allocations: 11.98 kB / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/1.039, allocations: 192 / 1.019 GB, free: 4.383 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/1.039, allocations: 4 kB / 1.019 GB, free: 4.379 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/1.039, allocations: 4.5 kB / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/1.039, allocations: 0 / 1.019 GB, free: 4.375 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002324/1.039, allocations: 150.8 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/1.04, allocations: 77.11 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.615e-05/1.04, allocations: 4 kB / 1.019 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002269/1.04, allocations: 19.92 kB / 1.019 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.289e-05/1.04, allocations: 3.984 kB / 1.019 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.185e-05/1.04, allocations: 4 kB / 1.019 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.374e-05/1.04, allocations: 79.09 kB / 1.019 GB, free: 4.02 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005067/1.041, allocations: 11.94 kB / 1.019 GB, free: 4.008 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: 1 (reaToInt.y) * 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.0001881/1.041, allocations: 103.2 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001363/1.041, allocations: 15.06 kB / 1.019 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/1.041, allocations: 8 kB / 1.019 GB, free: 3.875 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.808e-05/1.041, allocations: 6.875 kB / 1.019 GB, free: 3.871 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/1.041, allocations: 9.688 kB / 1.019 GB, free: 3.863 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003622/1.042, allocations: 66.27 kB / 1.019 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004414/1.042, allocations: 0.6919 MB / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of SimCode: time 9.31e-07/1.042, allocations: 0 / 1.02 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of Templates: time 0.01209/1.054, allocations: 0.5258 MB / 1.02 GB, free: 2.543 MB / 0.6355 GB