Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.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.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.122/2.122, allocations: 284.8 MB / 292.1 MB, free: 10.8 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.001596/0.001596, allocations: 181.2 kB / 360.3 MB, free: 7.555 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.659/1.659, allocations: 205.1 MB / 0.6187 GB, free: 13.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.001215/0.001215, allocations: 89.78 kB / 0.7317 GB, free: 45.14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2456/0.2469, allocations: 121.4 MB / 0.8502 GB, free: 3.941 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.7956, allocations: 115.2 MB / 0.9628 GB, free: 78.81 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.001, allocations: 136.8 MB / 1.096 GB, free: 4.078 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/1.001, allocations: 73.22 kB / 1.096 GB, free: 4.008 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.004529/1.006, allocations: 0.9864 MB / 1.097 GB, free: 3.02 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.006, allocations: 13.12 kB / 1.097 GB, free: 3.008 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.6e-05/1.006, allocations: 3.906 kB / 1.097 GB, free: 3.004 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001713/1.006, allocations: 170.9 kB / 1.098 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/1.006, allocations: 4.734 kB / 1.098 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/1.006, allocations: 4 kB / 1.098 GB, free: 2.789 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001179/1.006, allocations: 24.5 kB / 1.098 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/1.006, allocations: 54.25 kB / 1.098 GB, free: 2.707 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.006, allocations: 3.938 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/1.006, allocations: 1.469 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/1.006, allocations: 0.5156 kB / 1.098 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005082/1.007, allocations: 258.8 kB / 1.098 GB, free: 2.414 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/1.007, allocations: 47.45 kB / 1.098 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.251e-05/1.007, allocations: 18.83 kB / 1.098 GB, free: 2.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/1.007, allocations: 8.516 kB / 1.098 GB, free: 2.332 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.723e-05/1.007, allocations: 35.03 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/1.007, allocations: 1.125 kB / 1.098 GB, free: 2.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002902/1.008, allocations: 53.69 kB / 1.098 GB, free: 2.23 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/1.008, allocations: 53.28 kB / 1.098 GB, free: 2.168 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.808e-05/1.008, allocations: 97 kB / 1.098 GB, free: 2.066 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/1.008, allocations: 25.7 kB / 1.098 GB, free: 2.035 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/1.008, allocations: 92.03 kB / 1.098 GB, free: 1.941 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/1.008, allocations: 8.5 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/1.008, allocations: 0.6562 kB / 1.098 GB, free: 1.934 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001425/1.008, allocations: 315.4 kB / 1.099 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.717e-05/1.008, allocations: 16 kB / 1.099 GB, free: 1.602 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.342e-05/1.008, allocations: 11.98 kB / 1.099 GB, free: 1.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/1.008, allocations: 12 kB / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/1.008, allocations: 0 / 1.099 GB, free: 1.578 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001635/1.008, allocations: 58.14 kB / 1.099 GB, free: 1.516 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/1.008, allocations: 5.781 kB / 1.099 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.008, allocations: 4.641 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/1.008, allocations: 1.312 kB / 1.099 GB, free: 1.508 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/1.009, allocations: 23.98 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/1.009, allocations: 0 / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001525/1.009, allocations: 15.89 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.206e-05/1.009, allocations: 4 kB / 1.099 GB, free: 1.465 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: 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 8.747e-05/1.009, allocations: 109.2 kB / 1.099 GB, free: 1.352 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.42e-05/1.009, allocations: 15.89 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.008e-05/1.009, allocations: 4 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/1.009, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/1.009, allocations: 0.8906 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.009, allocations: 0 / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000248/1.009, allocations: 146.2 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/1.009, allocations: 1.25 kB / 1.099 GB, free: 1.148 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/1.01, allocations: 15.98 kB / 1.099 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/1.01, allocations: 7.984 kB / 1.099 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.69e-05/1.01, allocations: 4 kB / 1.099 GB, free: 1.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/1.01, allocations: 3.906 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/1.01, allocations: 4.594 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000198/1.01, allocations: 152 kB / 1.099 GB, free: 0.9492 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003233/1.01, allocations: 0.5221 MB / 1.1 GB, free: 420 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.895e-05/1.01, allocations: 89.72 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.258e-05/1.01, allocations: 0.6875 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/1.01, allocations: 11.98 kB / 1.1 GB, free: 300 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.76e-05/1.011, allocations: 7.984 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/1.011, allocations: 3.75 kB / 1.1 GB, free: 292 kB / 0.698 GB Notification: Performance of sort global known variables: time 5.98e-05/1.011, allocations: 93.45 kB / 1.1 GB, free: 200 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001143/1.012, allocations: 23.89 kB / 1.1 GB, free: 176 kB / 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: 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.0001451/1.012, allocations: 99.19 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001534/1.012, allocations: 36.69 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.012, allocations: 3.938 kB / 1.1 GB, free: 28 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.084e-05/1.012, allocations: 16 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/1.012, allocations: 0 / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/1.013, allocations: 88.52 kB / 1.1 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003581/1.013, allocations: 0.6954 MB / 1.101 GB, free: 15.18 MB / 0.7136 GB Notification: Performance of SimCode: time 7.22e-07/1.013, allocations: 0 / 1.101 GB, free: 15.18 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.pipe 2>&1)