Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.143/2.143, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001542/0.001542, allocations: 185.2 kB / 360.3 MB, free: 7.543 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.631/1.631, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001212/0.001212, allocations: 85.89 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2409/0.2422, allocations: 121.4 MB / 0.8502 GB, free: 3.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5495/0.7918, allocations: 115.2 MB / 0.9628 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2055/0.9973, allocations: 136.8 MB / 1.096 GB, free: 4.031 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.9977, allocations: 67.95 kB / 1.096 GB, free: 3.965 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.004442/1.002, allocations: 0.9819 MB / 1.097 GB, free: 2.977 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/1.002, allocations: 8 kB / 1.097 GB, free: 2.969 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.819e-05/1.002, allocations: 7.906 kB / 1.097 GB, free: 2.961 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001704/1.002, allocations: 178 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/1.002, allocations: 4 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.345e-05/1.002, allocations: 0.625 kB / 1.098 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/1.003, allocations: 27.98 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/1.003, allocations: 50.28 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/1.003, allocations: 1.688 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.003, allocations: 0 / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/1.003, allocations: 0.6562 kB / 1.098 GB, free: 2.664 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000558/1.003, allocations: 258.8 kB / 1.098 GB, free: 2.375 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001392/1.003, allocations: 51.84 kB / 1.098 GB, free: 2.316 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/1.004, allocations: 21.81 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.021e-05/1.004, allocations: 0.5312 kB / 1.098 GB, free: 2.293 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/1.004, allocations: 32.83 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of pre-optimization done (n=4): time 1.453e-06/1.004, allocations: 0 / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of matching and sorting (n=4): time 0.0002333/1.004, allocations: 59.2 kB / 1.098 GB, free: 2.191 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/1.004, allocations: 56.72 kB / 1.098 GB, free: 2.125 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.381e-05/1.004, allocations: 96.94 kB / 1.098 GB, free: 2.023 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/1.004, allocations: 29.7 kB / 1.098 GB, free: 1.988 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/1.004, allocations: 89.14 kB / 1.098 GB, free: 1.898 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.177e-05/1.004, allocations: 7.891 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/1.004, allocations: 1.125 kB / 1.098 GB, free: 1.891 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001265/1.004, allocations: 314.8 kB / 1.099 GB, free: 1.574 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/1.004, allocations: 12.91 kB / 1.099 GB, free: 1.562 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/1.004, allocations: 12 kB / 1.099 GB, free: 1.551 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/1.004, allocations: 8.578 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.004, allocations: 0 / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001615/1.005, allocations: 58.53 kB / 1.099 GB, free: 1.48 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/1.005, allocations: 8 kB / 1.099 GB, free: 1.473 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/1.005, allocations: 4.469 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/1.005, allocations: 3.75 kB / 1.099 GB, free: 1.469 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/1.005, allocations: 17.8 kB / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/1.005, allocations: 0 / 1.099 GB, free: 1.453 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/1.005, allocations: 19.89 kB / 1.099 GB, free: 1.434 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.005, allocations: 0 / 1.099 GB, free: 1.434 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 (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 9.276e-05/1.005, allocations: 116.6 kB / 1.099 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.353e-05/1.005, allocations: 7.906 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/1.005, allocations: 7.984 kB / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/1.005, allocations: 0 / 1.099 GB, free: 1.293 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.005, allocations: 5.562 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.005, allocations: 4 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/1.006, allocations: 151.3 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/1.006, allocations: 0 / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/1.006, allocations: 15.98 kB / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/1.006, allocations: 0 / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.094e-05/1.006, allocations: 0 / 1.099 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.579e-06/1.006, allocations: 3.906 kB / 1.099 GB, free: 1.082 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.006, allocations: 7.984 kB / 1.099 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002018/1.006, allocations: 155.5 kB / 1.099 GB, free: 0.9062 MB / 0.698 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003439/1.006, allocations: 0.5226 MB / 1.1 GB, free: 376 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.976e-05/1.006, allocations: 81.02 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/1.007, allocations: 1.688 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/1.007, allocations: 15.98 kB / 1.1 GB, free: 260 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/1.007, allocations: 11.98 kB / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/1.007, allocations: 0 / 1.1 GB, free: 248 kB / 0.698 GB Notification: Performance of sort global known variables: time 7.079e-05/1.007, allocations: 87.28 kB / 1.1 GB, free: 160 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.001179/1.008, allocations: 15.91 kB / 1.1 GB, free: 144 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 (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.0001562/1.008, allocations: 104.1 kB / 1.1 GB, free: 32 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001641/1.008, allocations: 31.94 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/1.008, allocations: 128 / 1.1 GB, free: 16 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.854e-05/1.009, allocations: 29.33 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/1.009, allocations: 0 / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/1.009, allocations: 80.58 kB / 1.1 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004208/1.01, allocations: 0.6954 MB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of SimCode: time 7.01e-07/1.01, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1)