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.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.299/1.299, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.0008963/0.0008963, allocations: 181.2 kB / 361.1 MB, free: 7.098 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.001/1.001, allocations: 205.1 MB / 0.6195 GB, free: 10.26 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.0007656/0.0007656, allocations: 97.31 kB / 0.7326 GB, free: 44.2 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1764/0.1772, allocations: 121.5 MB / 0.8512 GB, free: 2.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.5924, allocations: 115.3 MB / 0.9638 GB, free: 78.15 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1326/0.7251, allocations: 137 MB / 1.098 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.7253, allocations: 72.89 kB / 1.098 GB, free: 2.926 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.002841/0.7282, allocations: 0.9837 MB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.7282, allocations: 8 kB / 1.099 GB, free: 1.93 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.45e-05/0.7282, allocations: 8.5 kB / 1.099 GB, free: 1.922 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.7284, allocations: 168.3 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.7284, allocations: 4 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.041e-05/0.7284, allocations: 0 / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.025e-05/0.7285, allocations: 27.98 kB / 1.099 GB, free: 1.688 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.807e-05/0.7286, allocations: 46.84 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.7286, allocations: 1.75 kB / 1.099 GB, free: 1.637 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.7286, allocations: 4 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.7287, allocations: 3.984 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003722/0.729, allocations: 262.4 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.969e-05/0.7291, allocations: 49 kB / 1.099 GB, free: 1.281 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.764e-05/0.7292, allocations: 21.36 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.7292, allocations: 1.531 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.7292, allocations: 34.02 kB / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.7292, allocations: 0 / 1.099 GB, free: 1.219 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0001794/0.7294, allocations: 63.11 kB / 1.099 GB, free: 1.152 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.351e-05/0.7295, allocations: 51.41 kB / 1.099 GB, free: 1.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.963e-05/0.7295, allocations: 97 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.295e-05/0.7296, allocations: 27.45 kB / 1.099 GB, free: 0.957 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.7296, allocations: 96.03 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.7296, allocations: 3.906 kB / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.779e-06/0.7296, allocations: 0 / 1.1 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.748e-05/0.7297, allocations: 315.4 kB / 1.1 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.602e-05/0.7298, allocations: 9.281 kB / 1.1 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.279e-05/0.7298, allocations: 13.31 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.161e-05/0.7298, allocations: 11.98 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.7298, allocations: 0 / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001385/0.73, allocations: 62.19 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.73, allocations: 8.75 kB / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.73, allocations: 0 / 1.1 GB, free: 444 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.73, allocations: 6.625 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.7302, allocations: 17.33 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.216e-06/0.7302, allocations: 0.5625 kB / 1.1 GB, free: 424 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.062e-05/0.7303, allocations: 17.27 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.7303, allocations: 0.625 kB / 1.1 GB, free: 408 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 (intLesEquThr.u,intLesEquThr.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 6.793e-05/0.7304, allocations: 106.4 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.008e-05/0.7304, allocations: 8.781 kB / 1.1 GB, free: 288 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.7304, allocations: 11.98 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7305, allocations: 0.5 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.7305, allocations: 0 / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.7305, allocations: 0.5312 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001453/0.7306, allocations: 154.2 kB / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.7306, allocations: 0 / 1.1 GB, free: 80 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.567e-05/0.7307, allocations: 12.5 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.7307, allocations: 4 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.7308, allocations: 1.938 kB / 1.1 GB, free: 64 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.7308, allocations: 3.906 kB / 1.1 GB, free: 60 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7308, allocations: 3.984 kB / 1.1 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001435/0.7309, allocations: 160.1 kB / 1.1 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002256/0.7311, allocations: 0.5202 MB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.308e-05/0.7312, allocations: 85.02 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.7312, allocations: 0 / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.7313, allocations: 19.69 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.7314, allocations: 11.98 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.751e-06/0.7314, allocations: 0 / 1.101 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.179e-05/0.7314, allocations: 83.28 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000819/0.7323, allocations: 19.91 kB / 1.101 GB, free: 15.12 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 (intLesEquThr.u,intLesEquThr.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.0001207/0.7324, allocations: 114.9 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.7325, allocations: 24 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7325, allocations: 4 kB / 1.101 GB, free: 14.97 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.101e-05/0.7326, allocations: 23.98 kB / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001697/0.7327, allocations: 0 / 1.101 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002601/0.733, allocations: 88.58 kB / 1.101 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002525/0.7333, allocations: 0.6954 MB / 1.102 GB, free: 14.12 MB / 0.7136 GB Notification: Performance of SimCode: time 3.21e-07/0.7333, allocations: 0 / 1.102 GB, free: 14.12 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)