Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.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 8.0.0/package.mo): time 2.119/2.119, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 189.2 kB / 360.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.661/1.661, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00122/0.00122, allocations: 94.84 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.034e-05, allocations: 4 kB / 0.8503 GB, free: 3.844 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5341/0.5341, allocations: 115.2 MB / 0.9628 GB, free: 78.2 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.7553, allocations: 136.6 MB / 1.096 GB, free: 4.199 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/0.7556, allocations: 68.77 kB / 1.096 GB, free: 4.133 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.002588/0.7582, allocations: 423 kB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.7583, allocations: 0 / 1.097 GB, free: 3.746 MB / 0.698 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.0004343/0.7587, allocations: 337.3 kB / 1.097 GB, free: 3.379 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.7588, allocations: 8.031 kB / 1.097 GB, free: 3.371 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.775e-05/0.7588, allocations: 7.906 kB / 1.097 GB, free: 3.363 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.759, allocations: 169.2 kB / 1.097 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.759, allocations: 0 / 1.097 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.625e-05/0.759, allocations: 5.406 kB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.728e-05/0.7591, allocations: 8 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.021e-05/0.7592, allocations: 42.78 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.348e-06/0.7592, allocations: 1.125 kB / 1.097 GB, free: 3.102 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.7592, allocations: 4.906 kB / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.7593, allocations: 0 / 1.097 GB, free: 3.098 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.7596, allocations: 229.1 kB / 1.097 GB, free: 2.84 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.194e-05/0.7597, allocations: 30.52 kB / 1.097 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.109e-05/0.7598, allocations: 12.92 kB / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.7598, allocations: 0 / 1.097 GB, free: 2.785 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.7598, allocations: 34.47 kB / 1.097 GB, free: 2.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.363e-06/0.7598, allocations: 0.6562 kB / 1.097 GB, free: 2.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001804/0.76, allocations: 46.19 kB / 1.098 GB, free: 2.691 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/0.7601, allocations: 51.97 kB / 1.098 GB, free: 2.629 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.408e-05/0.7602, allocations: 94.53 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.993e-05/0.7602, allocations: 31.42 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.265e-05/0.7603, allocations: 80.83 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.939e-05/0.7603, allocations: 4.844 kB / 1.098 GB, free: 2.41 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-06/0.7603, allocations: 3.938 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.7604, allocations: 323.4 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.791e-05/0.7605, allocations: 4.688 kB / 1.098 GB, free: 2.078 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.7605, allocations: 4.781 kB / 1.098 GB, free: 2.074 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.912e-05/0.7605, allocations: 4 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.7606, allocations: 0.6562 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001163/0.7607, allocations: 50.75 kB / 1.098 GB, free: 2.016 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.7607, allocations: 4 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.038e-06/0.7607, allocations: 0 / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.7607, allocations: 0.625 kB / 1.098 GB, free: 2.012 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.7609, allocations: 19.58 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.7609, allocations: 0 / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.761, allocations: 9.156 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.7611, allocations: 0 / 1.098 GB, free: 1.988 MB / 0.698 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.367e-05/0.7611, allocations: 107.2 kB / 1.098 GB, free: 1.879 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.844e-05/0.7612, allocations: 9.25 kB / 1.098 GB, free: 1.871 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.572e-05/0.7612, allocations: 14.25 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.7612, allocations: 0.5 kB / 1.098 GB, free: 1.859 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.7613, allocations: 3.938 kB / 1.098 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.7613, allocations: 4.125 kB / 1.098 GB, free: 1.852 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001616/0.7614, allocations: 134.2 kB / 1.098 GB, free: 1.684 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.7615, allocations: 3.906 kB / 1.098 GB, free: 1.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001344/0.7616, allocations: 15.98 kB / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.7616, allocations: 1.562 kB / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.616e-06/0.7616, allocations: 0 / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.7616, allocations: 0 / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7616, allocations: 0 / 1.098 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000149/0.7618, allocations: 143.5 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.7619, allocations: 81.05 kB / 1.099 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.7619, allocations: 3.984 kB / 1.099 GB, free: 1.406 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001512/0.7621, allocations: 8 kB / 1.099 GB, free: 1.398 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.7621, allocations: 16.02 kB / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.841e-06/0.7621, allocations: 0 / 1.099 GB, free: 1.383 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.521e-05/0.7622, allocations: 79.84 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000292/0.7625, allocations: 8 kB / 1.099 GB, free: 1.297 MB / 0.698 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.0001396/0.7626, allocations: 107.1 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.769e-05/0.7628, allocations: 16 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.694e-06/0.7628, allocations: 0 / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.7628, allocations: 12.06 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002163/0.763, allocations: 10.75 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.7633, allocations: 60.73 kB / 1.099 GB, free: 1.066 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.7637, allocations: 0.688 MB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of SimCode: time 2.915e-06/0.7637, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of Templates: time 0.003025/0.7667, allocations: 0.5406 MB / 1.1 GB, free: 15.85 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)