Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",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.298/1.298, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.0009215/0.0009215, allocations: 189.2 kB / 361.1 MB, free: 7.02 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: 10.23 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.0007668/0.0007668, allocations: 92.92 kB / 0.7326 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.169/0.1698, allocations: 121.5 MB / 0.8512 GB, free: 2.785 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.5682, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.6968, allocations: 137 MB / 1.098 GB, free: 2.934 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001613/0.697, allocations: 64.53 kB / 1.098 GB, free: 2.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002784/0.6998, allocations: 0.9972 MB / 1.099 GB, free: 1.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.6998, allocations: 8.688 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.741e-05/0.6999, allocations: 7.906 kB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001092/0.7, allocations: 173.6 kB / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.057e-05/0.7, allocations: 0 / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.926e-06/0.7, allocations: 0 / 1.099 GB, free: 1.648 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.75e-05/0.7001, allocations: 31.98 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.835e-05/0.7002, allocations: 49.62 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.498e-06/0.7002, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.7002, allocations: 0 / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.7002, allocations: 5.953 kB / 1.099 GB, free: 1.559 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003352/0.7005, allocations: 253.4 kB / 1.099 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.386e-05/0.7006, allocations: 48.45 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.941e-05/0.7007, allocations: 21.52 kB / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.7007, allocations: 0 / 1.099 GB, free: 1.195 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7007, allocations: 42.12 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.493e-06/0.7007, allocations: 0.8125 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001531/0.7009, allocations: 53.69 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.7009, allocations: 55.91 kB / 1.099 GB, free: 1.023 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.706e-05/0.701, allocations: 98.31 kB / 1.099 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.701, allocations: 26.73 kB / 1.099 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.7011, allocations: 92.03 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.7011, allocations: 4.406 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.7011, allocations: 1.156 kB / 1.1 GB, free: 0.793 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.976e-05/0.7012, allocations: 318.8 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.448e-05/0.7012, allocations: 9 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.29e-05/0.7012, allocations: 12.7 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.833e-05/0.7013, allocations: 11.98 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.7013, allocations: 0.6875 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.16e-05/0.7014, allocations: 62.47 kB / 1.1 GB, free: 384 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.057e-06/0.7014, allocations: 7.938 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.7014, allocations: 0.6562 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.7014, allocations: 1.797 kB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.7015, allocations: 18.2 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.966e-06/0.7015, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.7016, allocations: 21.7 kB / 1.1 GB, free: 340 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-06/0.7016, allocations: 0 / 1.1 GB, free: 340 kB / 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.504e-05/0.7017, allocations: 109.5 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.718e-05/0.7017, allocations: 6.531 kB / 1.1 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.445e-05/0.7018, allocations: 7.984 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.7018, allocations: 5.469 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.7018, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.7018, allocations: 0 / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001236/0.7019, allocations: 150.3 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7019, allocations: 2.375 kB / 1.1 GB, free: 16 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001057/0.702, allocations: 20.03 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.7021, allocations: 0 / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.7021, allocations: 8.438 kB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.7021, allocations: 3.906 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.7021, allocations: 2.109 kB / 1.1 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001205/0.7022, allocations: 159.5 kB / 1.1 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001877/0.7024, allocations: 0.5187 MB / 1.101 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.7024, allocations: 81.02 kB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.517e-05/0.7025, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.7026, allocations: 19.98 kB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.806e-05/0.7026, allocations: 8.828 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.7027, allocations: 4 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.184e-05/0.7027, allocations: 87.22 kB / 1.101 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007545/0.7035, allocations: 15.91 kB / 1.101 GB, free: 15.05 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: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0001126/0.7036, allocations: 107 kB / 1.101 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.738e-05/0.7037, allocations: 33.81 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.7037, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.695e-05/0.7037, allocations: 23.98 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.7039, allocations: 4 kB / 1.101 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002424/0.7041, allocations: 80.52 kB / 1.101 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.7044, allocations: 0.6998 MB / 1.102 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.7044, allocations: 0 / 1.102 GB, free: 14.05 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)