Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.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.GreaterEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold",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.403/1.403, allocations: 289.8 MB / 297.1 MB, free: 6.699 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.0009892/0.0009892, 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.09/1.09, allocations: 205.1 MB / 0.6256 GB, free: 5.863 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.0008467/0.0008467, allocations: 92.86 kB / 0.7396 GB, free: 39.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1852/0.1861, allocations: 122.4 MB / 0.8591 GB, free: 13.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.412/0.5981, allocations: 116.3 MB / 0.9727 GB, free: 68.24 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1345/0.7327, allocations: 138 MB / 1.107 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001753/0.7329, allocations: 67.97 kB / 1.107 GB, free: 10.48 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.002879/0.7358, allocations: 0.9805 MB / 1.108 GB, free: 9.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.7358, allocations: 8 kB / 1.108 GB, free: 9.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.903e-05/0.7358, allocations: 7.906 kB / 1.108 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.736, allocations: 174.9 kB / 1.109 GB, free: 9.254 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.736, allocations: 8 kB / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.736, allocations: 0 / 1.109 GB, free: 9.246 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.306e-05/0.7361, allocations: 24 kB / 1.109 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.011e-05/0.7362, allocations: 49.67 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.26e-06/0.7362, allocations: 1.594 kB / 1.109 GB, free: 9.168 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-06/0.7362, allocations: 4 kB / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.7362, allocations: 0 / 1.109 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.7366, allocations: 265.3 kB / 1.109 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.52e-05/0.7367, allocations: 42.58 kB / 1.109 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.849e-05/0.7367, allocations: 24.92 kB / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.7367, allocations: 0 / 1.109 GB, free: 8.789 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.7367, allocations: 30.56 kB / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=4): time 9.12e-07/0.7367, allocations: 0 / 1.109 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4): time 0.0001717/0.7369, allocations: 57.62 kB / 1.109 GB, free: 8.688 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.737, allocations: 55.41 kB / 1.109 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.467e-05/0.737, allocations: 97 kB / 1.109 GB, free: 8.52 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.205e-05/0.737, allocations: 25.7 kB / 1.109 GB, free: 8.488 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.7371, allocations: 96.03 kB / 1.109 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.563e-05/0.7371, allocations: 3.906 kB / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.519e-06/0.7371, allocations: 0 / 1.109 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.51e-05/0.7372, allocations: 314.8 kB / 1.11 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.836e-05/0.7372, allocations: 16.83 kB / 1.11 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.246e-05/0.7373, allocations: 16 kB / 1.11 GB, free: 8.039 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.626e-05/0.7373, allocations: 4 kB / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.7373, allocations: 0 / 1.11 GB, free: 8.035 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.977e-05/0.7374, allocations: 57.59 kB / 1.11 GB, free: 7.973 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.7374, allocations: 11.94 kB / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.7374, allocations: 0 / 1.11 GB, free: 7.961 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.7374, allocations: 3.938 kB / 1.11 GB, free: 7.957 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.7376, allocations: 11.98 kB / 1.11 GB, free: 7.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.577e-06/0.7376, allocations: 8.938 kB / 1.11 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.406e-05/0.7377, allocations: 15.89 kB / 1.11 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.7377, allocations: 1.406 kB / 1.11 GB, free: 7.922 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 (intGreEquThr.u,intGreEquThr.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.986e-05/0.7378, allocations: 109.8 kB / 1.11 GB, free: 7.809 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.196e-05/0.7378, allocations: 11.89 kB / 1.11 GB, free: 7.797 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.563e-05/0.7378, allocations: 8.188 kB / 1.11 GB, free: 7.777 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.7378, allocations: 7.984 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.7378, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7378, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001348/0.738, allocations: 154.3 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.738, allocations: 2.062 kB / 1.11 GB, free: 7.582 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.601e-05/0.7381, allocations: 11.98 kB / 1.11 GB, free: 7.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.7381, allocations: 3.984 kB / 1.11 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.775e-06/0.7381, allocations: 4 kB / 1.11 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.7381, allocations: 7.906 kB / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.7381, allocations: 0 / 1.11 GB, free: 7.555 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001231/0.7383, allocations: 155.4 kB / 1.11 GB, free: 7.387 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0001854/0.7385, allocations: 0.5181 MB / 1.111 GB, free: 6.852 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.038e-05/0.7385, allocations: 89.02 kB / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.628e-05/0.7385, allocations: 0 / 1.111 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.7386, allocations: 11.98 kB / 1.111 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.7387, allocations: 11.98 kB / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.7387, allocations: 0 / 1.111 GB, free: 6.723 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.425e-05/0.7388, allocations: 83.28 kB / 1.111 GB, free: 6.641 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008056/0.7396, allocations: 19.89 kB / 1.111 GB, free: 6.621 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 (intGreEquThr.u,intGreEquThr.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.0001081/0.7397, allocations: 111.2 kB / 1.111 GB, free: 6.504 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.844e-05/0.7398, allocations: 27.94 kB / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.7398, allocations: 0 / 1.111 GB, free: 6.477 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.7398, allocations: 23.98 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001618/0.74, allocations: 0.9375 kB / 1.111 GB, free: 6.453 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002432/0.7402, allocations: 83.7 kB / 1.111 GB, free: 6.348 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002725/0.7405, allocations: 0.6993 MB / 1.112 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of SimCode: time 2.41e-07/0.7405, allocations: 0 / 1.112 GB, free: 5.625 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterEqualThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterEqualThreshold.pipe 2>&1)