Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.105/2.105, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.001583/0.001582, allocations: 193.2 kB / 360.3 MB, free: 7.52 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.636/1.636, allocations: 205.1 MB / 0.6187 GB, free: 13.21 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.00121/0.00121, allocations: 85.72 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2578/0.2591, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5516/0.8107, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2046/1.015, allocations: 136.6 MB / 1.096 GB, free: 4.246 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/1.016, allocations: 63.95 kB / 1.096 GB, free: 4.184 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.003214/1.019, allocations: 0.7463 MB / 1.097 GB, free: 3.43 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/1.019, allocations: 11.94 kB / 1.097 GB, free: 3.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.7e-05/1.019, allocations: 3.906 kB / 1.097 GB, free: 3.414 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000147/1.019, allocations: 168 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.2e-05/1.019, allocations: 3.75 kB / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.3e-05/1.019, allocations: 0 / 1.097 GB, free: 3.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.739e-05/1.019, allocations: 16 kB / 1.097 GB, free: 3.195 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.283e-05/1.019, allocations: 33.69 kB / 1.097 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/1.019, allocations: 8.734 kB / 1.097 GB, free: 3.148 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.331e-05/1.019, allocations: 7 kB / 1.097 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/1.019, allocations: 0 / 1.097 GB, free: 3.145 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003797/1.02, allocations: 227 kB / 1.097 GB, free: 2.887 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.516e-05/1.02, allocations: 26.58 kB / 1.097 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.239e-05/1.02, allocations: 15.45 kB / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/1.02, allocations: 0 / 1.097 GB, free: 2.836 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/1.02, allocations: 35.17 kB / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/1.02, allocations: 0 / 1.097 GB, free: 2.793 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001924/1.02, allocations: 45.62 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/1.02, allocations: 56.53 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.024e-05/1.02, allocations: 93 kB / 1.098 GB, free: 2.578 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.842e-05/1.02, allocations: 26.55 kB / 1.098 GB, free: 2.547 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.951e-05/1.02, allocations: 84.89 kB / 1.098 GB, free: 2.461 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.881e-05/1.021, allocations: 3.906 kB / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-06/1.021, allocations: 0 / 1.098 GB, free: 2.457 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001289/1.021, allocations: 320.3 kB / 1.098 GB, free: 2.137 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.603e-05/1.021, allocations: 4 kB / 1.098 GB, free: 2.133 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.637e-05/1.021, allocations: 8.531 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.942e-05/1.021, allocations: 4.531 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/1.021, allocations: 0.8438 kB / 1.098 GB, free: 2.121 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001212/1.021, allocations: 50.39 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/1.021, allocations: 4.688 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/1.021, allocations: 0 / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.519e-05/1.021, allocations: 2.5 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/1.021, allocations: 19.92 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.837e-06/1.021, allocations: 0 / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001051/1.021, allocations: 5.5 kB / 1.098 GB, free: 2.039 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/1.021, allocations: 4 kB / 1.098 GB, free: 2.035 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 8.271e-05/1.021, allocations: 110.4 kB / 1.098 GB, free: 1.922 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.49e-05/1.021, allocations: 3.906 kB / 1.098 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.624e-05/1.021, allocations: 7.312 kB / 1.098 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.021, allocations: 4 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.021, allocations: 1.625 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/1.022, allocations: 0.5156 kB / 1.098 GB, free: 1.906 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001663/1.022, allocations: 134.2 kB / 1.098 GB, free: 1.738 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/1.022, allocations: 6.156 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001314/1.022, allocations: 15.98 kB / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/1.022, allocations: 0 / 1.098 GB, free: 1.719 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/1.022, allocations: 4 kB / 1.098 GB, free: 1.715 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/1.022, allocations: 3.984 kB / 1.098 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.022, allocations: 0 / 1.098 GB, free: 1.711 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001552/1.022, allocations: 139.4 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002762/1.022, allocations: 0.5109 MB / 1.099 GB, free: 1.031 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.777e-05/1.022, allocations: 86.95 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/1.022, allocations: 3.984 kB / 1.099 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001576/1.023, allocations: 8 kB / 1.099 GB, free: 0.918 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/1.023, allocations: 7.984 kB / 1.099 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.023, allocations: 8.031 kB / 1.099 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.331e-05/1.023, allocations: 76.17 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001095/1.024, allocations: 8 kB / 1.099 GB, free: 0.8203 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.0001479/1.024, allocations: 107.2 kB / 1.099 GB, free: 0.707 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001078/1.024, allocations: 23.94 kB / 1.099 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.024, allocations: 0 / 1.099 GB, free: 0.6836 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.301e-05/1.024, allocations: 4 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/1.024, allocations: 13.12 kB / 1.099 GB, free: 0.668 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002979/1.025, allocations: 64.72 kB / 1.099 GB, free: 0.582 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003799/1.025, allocations: 0.6857 MB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of SimCode: time 9.02e-07/1.025, allocations: 0 / 1.1 GB, free: 15.87 MB / 0.7136 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)