Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.35/1.35, allocations: 285.5 MB / 292.8 MB, free: 10.41 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.0009862/0.0009862, allocations: 177.3 kB / 361.1 MB, free: 7.07 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.005/1.005, allocations: 205.1 MB / 0.6195 GB, free: 11.91 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.0007361/0.0007361, allocations: 85.19 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.213e-06/7.243e-06, allocations: 4 kB / 0.8511 GB, free: 3.191 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4145/0.4145, allocations: 115.3 MB / 0.9637 GB, free: 77.64 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.5462, allocations: 136.8 MB / 1.097 GB, free: 3.289 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.5464, allocations: 64.77 kB / 1.097 GB, free: 3.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.001717/0.5481, allocations: 416.5 kB / 1.098 GB, free: 2.844 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.5481, allocations: 0 / 1.098 GB, free: 2.844 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.0003253/0.5485, allocations: 341.4 kB / 1.098 GB, free: 2.469 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.5485, allocations: 10.72 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.917e-05/0.5485, allocations: 4.875 kB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.5487, allocations: 163.7 kB / 1.098 GB, free: 2.258 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.99e-05/0.5487, allocations: 6.594 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.5487, allocations: 0 / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.023e-05/0.5488, allocations: 17.64 kB / 1.098 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.826e-05/0.5488, allocations: 38.3 kB / 1.098 GB, free: 2.195 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.5489, allocations: 4 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/0.5489, allocations: 3.906 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.5489, allocations: 1.422 kB / 1.098 GB, free: 2.188 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002912/0.5492, allocations: 229 kB / 1.098 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.12e-05/0.5492, allocations: 34.55 kB / 1.099 GB, free: 1.887 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.48e-05/0.5493, allocations: 9.578 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.633e-05/0.5493, allocations: 0.5 kB / 1.099 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5493, allocations: 40.53 kB / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.5493, allocations: 0 / 1.099 GB, free: 1.828 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001421/0.5495, allocations: 38.27 kB / 1.099 GB, free: 1.785 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.332e-05/0.5495, allocations: 56.22 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/0.5496, allocations: 96.92 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.5496, allocations: 26.3 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.5496, allocations: 84.98 kB / 1.099 GB, free: 1.5 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.355e-05/0.5497, allocations: 3.906 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.426e-06/0.5497, allocations: 0.5625 kB / 1.099 GB, free: 1.496 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.5498, allocations: 311.4 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.639e-05/0.5498, allocations: 8.531 kB / 1.099 GB, free: 1.176 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.404e-05/0.5498, allocations: 9.094 kB / 1.099 GB, free: 1.168 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.068e-05/0.5498, allocations: 13.2 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5498, allocations: 1.75 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.692e-05/0.5499, allocations: 46.92 kB / 1.099 GB, free: 1.105 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.437e-06/0.5499, allocations: 4 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.5499, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.55, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001141/0.5501, allocations: 18.58 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.958e-06/0.5501, allocations: 1.562 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.295e-05/0.5502, allocations: 8.766 kB / 1.099 GB, free: 1.078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.5502, allocations: 4.656 kB / 1.099 GB, free: 1.074 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 6.55e-05/0.5502, allocations: 102 kB / 1.099 GB, free: 0.9688 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.5503, allocations: 4.562 kB / 1.099 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.986e-05/0.5503, allocations: 3.875 kB / 1.099 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5503, allocations: 5.406 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.5503, allocations: 0.5625 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5503, allocations: 8.109 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.5505, allocations: 135.5 kB / 1.099 GB, free: 0.7812 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.5505, allocations: 3.906 kB / 1.1 GB, free: 0.7773 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.054e-05/0.5506, allocations: 15.92 kB / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5506, allocations: 0 / 1.1 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.5506, allocations: 4 kB / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.5506, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.5506, allocations: 0 / 1.1 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001078/0.5507, allocations: 147.5 kB / 1.1 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.449e-05/0.5508, allocations: 81.61 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.5508, allocations: 1.375 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.85e-05/0.5509, allocations: 11.98 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.5509, allocations: 3.984 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.5509, allocations: 8.781 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of sort global known variables: time 2.985e-05/0.551, allocations: 79.98 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002027/0.5512, allocations: 12 kB / 1.1 GB, free: 396 kB / 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.0001041/0.5513, allocations: 103 kB / 1.1 GB, free: 284 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.79e-05/0.5514, allocations: 23.92 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5514, allocations: 0 / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.5514, allocations: 12 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.5516, allocations: 10 kB / 1.1 GB, free: 240 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/0.5518, allocations: 60.73 kB / 1.1 GB, free: 156 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002553/0.552, allocations: 0.688 MB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of SimCode: time 2.31e-07/0.5521, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.001986/0.554, allocations: 0.5338 MB / 1.101 GB, free: 14.94 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)