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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) [: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.316/1.316, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0009188/0.0009188, allocations: 177.3 kB / 361.1 MB, free: 7.105 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.002/1.002, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.0007785/0.0007785, allocations: 95.2 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1731/0.1739, allocations: 121.5 MB / 0.8512 GB, free: 2.902 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3989/0.5728, allocations: 115.3 MB / 0.9638 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1293/0.7021, allocations: 136.8 MB / 1.097 GB, free: 3.328 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001655/0.7023, allocations: 67.95 kB / 1.097 GB, free: 3.262 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.001936/0.7042, allocations: 0.7461 MB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.7043, allocations: 8 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.7043, allocations: 7.906 kB / 1.098 GB, free: 2.488 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001186/0.7044, allocations: 172.1 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.7044, allocations: 2.344 kB / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.669e-06/0.7045, allocations: 0 / 1.098 GB, free: 2.285 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.259e-05/0.7045, allocations: 13.97 kB / 1.098 GB, free: 2.273 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.205e-05/0.7046, allocations: 37.69 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.4e-06/0.7046, allocations: 0 / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.7046, allocations: 3.906 kB / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.7046, allocations: 0 / 1.098 GB, free: 2.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002616/0.7049, allocations: 230.7 kB / 1.099 GB, free: 1.965 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.11e-05/0.705, allocations: 32.47 kB / 1.099 GB, free: 1.926 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.508e-05/0.705, allocations: 10.61 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.103e-05/0.705, allocations: 0 / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.705, allocations: 36.53 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 7.82e-07/0.705, allocations: 0.625 kB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001295/0.7052, allocations: 42.41 kB / 1.099 GB, free: 1.824 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.7052, allocations: 59.41 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.194e-05/0.7053, allocations: 90.62 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.7053, allocations: 25.7 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.684e-05/0.7053, allocations: 81.27 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.7053, allocations: 11.89 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/0.7053, allocations: 0.6875 kB / 1.099 GB, free: 1.535 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.897e-05/0.7054, allocations: 311.6 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.391e-05/0.7054, allocations: 4 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.604e-05/0.7055, allocations: 12.94 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.835e-05/0.7055, allocations: 4.719 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7055, allocations: 0 / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.295e-05/0.7056, allocations: 50.28 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/0.7056, allocations: 4 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.7056, allocations: 0.5 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.7056, allocations: 0.5312 kB / 1.099 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.7057, allocations: 17.42 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.457e-06/0.7057, allocations: 2.578 kB / 1.099 GB, free: 1.129 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.229e-05/0.7058, allocations: 12 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.7058, allocations: 7.984 kB / 1.099 GB, free: 1.113 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 5.134e-05/0.7059, allocations: 102.2 kB / 1.099 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.562e-05/0.7059, allocations: 3.906 kB / 1.099 GB, free: 1.004 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.117e-05/0.7059, allocations: 4.656 kB / 1.099 GB, free: 1 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.7059, allocations: 4.844 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.7059, allocations: 0 / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-06/0.7059, allocations: 0.5625 kB / 1.099 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.7061, allocations: 138.2 kB / 1.1 GB, free: 0.8242 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.7061, allocations: 5.625 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.653e-05/0.7062, allocations: 13.91 kB / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.7062, allocations: 0 / 1.1 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.7062, allocations: 7.984 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7062, allocations: 0.5312 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.7062, allocations: 3.641 kB / 1.1 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001025/0.7063, allocations: 143.6 kB / 1.1 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000201/0.7065, allocations: 0.5038 MB / 1.1 GB, free: 124 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.572e-05/0.7066, allocations: 85 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.7066, allocations: 0 / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.697e-05/0.7067, allocations: 14.66 kB / 1.1 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.508e-05/0.7067, allocations: 16 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.7067, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.188e-05/0.7068, allocations: 81.06 kB / 1.1 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007355/0.7075, allocations: 4 kB / 1.1 GB, free: 15.91 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.0001253/0.7077, allocations: 119 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.179e-05/0.7077, allocations: 16 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.7077, allocations: 0 / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.781e-05/0.7078, allocations: 8 kB / 1.101 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/0.708, allocations: 10.02 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000243/0.7082, allocations: 68.66 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002937/0.7085, allocations: 0.6899 MB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of SimCode: time 2.7e-07/0.7085, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)