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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.368/1.368, allocations: 289.8 MB / 297.1 MB, free: 6.688 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.000974/0.0009738, allocations: 181.2 kB / 366.3 MB, free: 2.016 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.095/1.095, allocations: 205.1 MB / 0.6256 GB, free: 5.836 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.0008426/0.0008425, allocations: 90.59 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1966/0.1974, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4547/0.6521, allocations: 116.3 MB / 0.9727 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.7927, allocations: 137.7 MB / 1.107 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001962/0.7929, allocations: 72.55 kB / 1.107 GB, free: 10.7 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.002227/0.7952, allocations: 0.7466 MB / 1.108 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.7952, allocations: 8 kB / 1.108 GB, free: 9.914 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.22e-05/0.7952, allocations: 3.906 kB / 1.108 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.7954, allocations: 163.1 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.7954, allocations: 0 / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.7954, allocations: 1.5 kB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.292e-05/0.7955, allocations: 15.98 kB / 1.108 GB, free: 9.695 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.872e-05/0.7956, allocations: 45.62 kB / 1.108 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.654e-06/0.7956, allocations: 0 / 1.108 GB, free: 9.645 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.7956, allocations: 3.906 kB / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7956, allocations: 0 / 1.108 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003149/0.796, allocations: 225.5 kB / 1.108 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.632e-05/0.796, allocations: 26.61 kB / 1.108 GB, free: 9.348 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.662e-05/0.7961, allocations: 16.92 kB / 1.108 GB, free: 9.328 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.7961, allocations: 3.984 kB / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.433e-05/0.7961, allocations: 38.47 kB / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.7961, allocations: 0 / 1.108 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001616/0.7963, allocations: 41.64 kB / 1.109 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.7963, allocations: 51.41 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.457e-05/0.7964, allocations: 96.98 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.7964, allocations: 29.73 kB / 1.109 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.259e-05/0.7965, allocations: 86.02 kB / 1.109 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.68e-05/0.7965, allocations: 7.844 kB / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/0.7965, allocations: 0 / 1.109 GB, free: 8.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.7966, allocations: 310.8 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.7966, allocations: 8 kB / 1.109 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.608e-05/0.7966, allocations: 8 kB / 1.109 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.32e-05/0.7967, allocations: 7.984 kB / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.7967, allocations: 64 / 1.109 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.888e-05/0.7968, allocations: 45.61 kB / 1.109 GB, free: 8.551 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.7968, allocations: 11.94 kB / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7968, allocations: 0 / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.799e-06/0.7968, allocations: 0 / 1.109 GB, free: 8.539 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.7969, allocations: 11.98 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.7969, allocations: 2.266 kB / 1.109 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.491e-05/0.797, allocations: 16.02 kB / 1.109 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.797, allocations: 0 / 1.109 GB, free: 8.512 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 6.944e-05/0.7971, allocations: 105 kB / 1.109 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.645e-05/0.7971, allocations: 3.906 kB / 1.109 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.413e-05/0.7972, allocations: 7.312 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7972, allocations: 0 / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.7972, allocations: 0.8438 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.7972, allocations: 7.984 kB / 1.109 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.7973, allocations: 130.2 kB / 1.109 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.7973, allocations: 7.906 kB / 1.109 GB, free: 8.207 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.438e-05/0.7974, allocations: 15.98 kB / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.7974, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.7974, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.7974, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.7974, allocations: 0 / 1.109 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001164/0.7976, allocations: 148.4 kB / 1.11 GB, free: 8.031 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002357/0.7978, allocations: 0.5078 MB / 1.11 GB, free: 7.504 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/0.7979, allocations: 85.02 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.7979, allocations: 3.938 kB / 1.11 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.886e-05/0.798, allocations: 18.64 kB / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.798, allocations: 0 / 1.11 GB, free: 7.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.798, allocations: 3.984 kB / 1.11 GB, free: 7.379 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.712e-05/0.7981, allocations: 83.28 kB / 1.11 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007987/0.7989, allocations: 12 kB / 1.11 GB, free: 7.285 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.0001328/0.799, allocations: 103.2 kB / 1.11 GB, free: 7.172 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.167e-05/0.7991, allocations: 23.92 kB / 1.11 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.7991, allocations: 0.75 kB / 1.11 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.7992, allocations: 8 kB / 1.11 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.7993, allocations: 7.906 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002275/0.7996, allocations: 55.92 kB / 1.11 GB, free: 7.055 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002658/0.7999, allocations: 0.6924 MB / 1.111 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of SimCode: time 2.51e-07/0.7999, allocations: 4.125 kB / 1.111 GB, free: 6.332 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)