Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.364/1.364, allocations: 289.8 MB / 297.1 MB, free: 6.648 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009599/0.00096, allocations: 184.2 kB / 366.3 MB, free: 1.977 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.088/1.088, allocations: 205.1 MB / 0.6256 GB, free: 5.824 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008186/0.0008187, allocations: 86.48 kB / 0.7395 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.674e-06/7.794e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4502/0.4502, allocations: 116.3 MB / 0.9726 GB, free: 68.62 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.153/0.6032, allocations: 137.7 MB / 1.107 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.6035, allocations: 71.89 kB / 1.107 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.001802/0.6053, allocations: 410.1 kB / 1.108 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.311e-06/0.6053, allocations: 0 / 1.108 GB, free: 10.29 MB / 0.7136 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.0003645/0.6057, allocations: 346.4 kB / 1.108 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.6057, allocations: 8.031 kB / 1.108 GB, free: 9.895 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.148e-05/0.6058, allocations: 3.906 kB / 1.108 GB, free: 9.891 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.6059, allocations: 171 kB / 1.108 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.314e-05/0.6059, allocations: 4 kB / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.606, allocations: 0 / 1.108 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.534e-05/0.606, allocations: 12 kB / 1.108 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.027e-05/0.6061, allocations: 37.69 kB / 1.108 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.6061, allocations: 1.781 kB / 1.108 GB, free: 9.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.6062, allocations: 3.906 kB / 1.108 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6062, allocations: 4 kB / 1.108 GB, free: 9.617 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.6065, allocations: 237.5 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.531e-05/0.6066, allocations: 22.58 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.863e-05/0.6066, allocations: 8.922 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/0.6066, allocations: 0 / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6066, allocations: 46.47 kB / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6067, allocations: 0 / 1.108 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001608/0.6068, allocations: 41.69 kB / 1.108 GB, free: 9.203 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.775e-05/0.6069, allocations: 51.41 kB / 1.108 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.6069, allocations: 96.88 kB / 1.109 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.607, allocations: 25.7 kB / 1.109 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.014e-05/0.607, allocations: 88.14 kB / 1.109 GB, free: 8.918 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.607, allocations: 3.906 kB / 1.109 GB, free: 8.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.607, allocations: 4.031 kB / 1.109 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.6072, allocations: 314.8 kB / 1.109 GB, free: 8.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.78e-05/0.6072, allocations: 8 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.322e-05/0.6072, allocations: 4 kB / 1.109 GB, free: 8.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.975e-05/0.6072, allocations: 9.312 kB / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6072, allocations: 0 / 1.109 GB, free: 8.574 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.396e-05/0.6073, allocations: 45.59 kB / 1.109 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.6073, allocations: 8 kB / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.6074, allocations: 96 / 1.109 GB, free: 8.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.6074, allocations: 4 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.6075, allocations: 11.98 kB / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.6075, allocations: 0 / 1.109 GB, free: 8.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.155e-05/0.6076, allocations: 8 kB / 1.109 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.6076, allocations: 0 / 1.109 GB, free: 8.492 MB / 0.7136 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 7.358e-05/0.6077, allocations: 116.9 kB / 1.109 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.681e-05/0.6077, allocations: 3.906 kB / 1.109 GB, free: 8.367 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.6077, allocations: 3.312 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-06/0.6077, allocations: 0 / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6077, allocations: 0.75 kB / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.6077, allocations: 0 / 1.109 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.6079, allocations: 134.2 kB / 1.109 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.6079, allocations: 7.906 kB / 1.109 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.608, allocations: 15.98 kB / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.608, allocations: 0 / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.782e-06/0.608, allocations: 0 / 1.109 GB, free: 8.164 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.608, allocations: 3.984 kB / 1.109 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.608, allocations: 0.5625 kB / 1.109 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000109/0.6081, allocations: 139.5 kB / 1.109 GB, free: 8.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.89e-05/0.6082, allocations: 93.06 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.6082, allocations: 0 / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.237e-05/0.6083, allocations: 4 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.814e-05/0.6083, allocations: 8.172 kB / 1.11 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.6084, allocations: 4.75 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.4e-05/0.6084, allocations: 91.2 kB / 1.11 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002051/0.6086, allocations: 8 kB / 1.11 GB, free: 7.785 MB / 0.7136 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.000127/0.6087, allocations: 111.2 kB / 1.11 GB, free: 7.664 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.928e-05/0.6088, allocations: 12 kB / 1.11 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.6088, allocations: 4 kB / 1.11 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.458e-05/0.6089, allocations: 8 kB / 1.11 GB, free: 7.641 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/0.609, allocations: 15.41 kB / 1.11 GB, free: 7.629 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000218/0.6093, allocations: 63.97 kB / 1.11 GB, free: 7.543 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002536/0.6095, allocations: 0.6919 MB / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/0.6095, allocations: 0 / 1.111 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of Templates: time 0.001998/0.6115, allocations: 0.5209 MB / 1.111 GB, free: 6.312 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)