Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.381/1.381, 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.0009872/0.0009871, allocations: 181.3 kB / 366.3 MB, free: 2.008 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.069/1.069, allocations: 205.1 MB / 0.6256 GB, free: 5.852 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.0008114/0.0008114, allocations: 91.12 kB / 0.7395 GB, free: 39.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1954/0.1963, allocations: 122.4 MB / 0.8591 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4426/0.6389, allocations: 116.3 MB / 0.9727 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1409/0.7798, allocations: 138 MB / 1.107 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.7801, allocations: 71.91 kB / 1.107 GB, free: 10.44 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.002774/0.7828, allocations: 0.9969 MB / 1.108 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.7829, allocations: 12 kB / 1.108 GB, free: 9.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.877e-05/0.7829, allocations: 3.906 kB / 1.108 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001229/0.7831, allocations: 174.9 kB / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.7831, allocations: 0 / 1.109 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.7831, allocations: 4.938 kB / 1.109 GB, free: 9.191 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.481e-05/0.7832, allocations: 23.98 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.874e-05/0.7833, allocations: 45.69 kB / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.7833, allocations: 0 / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.568e-06/0.7833, allocations: 0 / 1.109 GB, free: 9.117 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.7833, allocations: 4 kB / 1.109 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.7837, allocations: 269.3 kB / 1.109 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.7838, allocations: 50.58 kB / 1.109 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.395e-05/0.7838, allocations: 16.77 kB / 1.109 GB, free: 8.734 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.587e-05/0.7838, allocations: 4 kB / 1.109 GB, free: 8.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.7839, allocations: 39.22 kB / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.7839, allocations: 0 / 1.109 GB, free: 8.684 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001677/0.784, allocations: 57.77 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.7841, allocations: 51.41 kB / 1.109 GB, free: 8.559 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.262e-05/0.7841, allocations: 101 kB / 1.109 GB, free: 8.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.7842, allocations: 25.7 kB / 1.109 GB, free: 8.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.187e-05/0.7842, allocations: 84.05 kB / 1.109 GB, free: 8.336 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.7842, allocations: 8.938 kB / 1.109 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.7842, allocations: 4 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.631e-05/0.7843, allocations: 318.8 kB / 1.11 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.7844, allocations: 12 kB / 1.11 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.125e-05/0.7844, allocations: 8 kB / 1.11 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.656e-05/0.7844, allocations: 15.98 kB / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.7844, allocations: 0 / 1.11 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.649e-05/0.7845, allocations: 57.59 kB / 1.11 GB, free: 7.906 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.7846, allocations: 4 kB / 1.11 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.7846, allocations: 3.938 kB / 1.11 GB, free: 7.898 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.356e-06/0.7846, allocations: 4 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.7847, allocations: 20.77 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.7847, allocations: 2.734 kB / 1.11 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.818e-05/0.7848, allocations: 15.89 kB / 1.11 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.405e-06/0.7848, allocations: 4 kB / 1.11 GB, free: 7.855 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: 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.746e-05/0.7849, allocations: 108.9 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.7849, allocations: 7.906 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.785, allocations: 8 kB / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.785, allocations: 0 / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.785, allocations: 0 / 1.11 GB, free: 7.715 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.785, allocations: 5.109 kB / 1.11 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000129/0.7851, allocations: 142.2 kB / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.7851, allocations: 0 / 1.11 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.742e-05/0.7852, allocations: 19.98 kB / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.7852, allocations: 0 / 1.11 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.107e-06/0.7853, allocations: 4 kB / 1.11 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.7853, allocations: 11.91 kB / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.7853, allocations: 0 / 1.11 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001292/0.7854, allocations: 155.4 kB / 1.11 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002059/0.7856, allocations: 0.522 MB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.798e-05/0.7857, allocations: 89.28 kB / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/0.7857, allocations: 0 / 1.111 GB, free: 6.688 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.7858, allocations: 12.55 kB / 1.111 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.7859, allocations: 15.98 kB / 1.111 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.7859, allocations: 3.984 kB / 1.111 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.05e-05/0.7859, allocations: 79.28 kB / 1.111 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008255/0.7867, allocations: 15.91 kB / 1.111 GB, free: 6.562 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.0001178/0.7869, allocations: 107.2 kB / 1.111 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.76e-05/0.787, allocations: 33.06 kB / 1.111 GB, free: 6.418 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.787, allocations: 3.938 kB / 1.111 GB, free: 6.414 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.165e-05/0.787, allocations: 19.98 kB / 1.111 GB, free: 6.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001577/0.7872, allocations: 4.516 kB / 1.111 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002378/0.7874, allocations: 79.77 kB / 1.111 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002669/0.7877, allocations: 0.6954 MB / 1.112 GB, free: 5.57 MB / 0.7136 GB Notification: Performance of SimCode: time 1.583e-06/0.7877, allocations: 0 / 1.112 GB, free: 5.57 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)