Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",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.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.609 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.001011/0.001011, allocations: 177.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.1/1.1, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.0008309/0.0008309, allocations: 91.59 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1902/0.1911, allocations: 122.4 MB / 0.8591 GB, free: 13.27 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.6367, allocations: 116.3 MB / 0.9727 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.7824, allocations: 141.7 MB / 1.111 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.7826, allocations: 72.94 kB / 1.111 GB, free: 6.723 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.01807/0.8007, allocations: 7.024 MB / 1.118 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.8008, allocations: 8 kB / 1.118 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.461e-05/0.8008, allocations: 23.72 kB / 1.118 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000535/0.8014, allocations: 335 kB / 1.118 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.8014, allocations: 11.94 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.899e-05/0.8014, allocations: 4 kB / 1.118 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.317e-05/0.8015, allocations: 35.98 kB / 1.118 GB, free: 15.23 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.8017, allocations: 69.67 kB / 1.118 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.754e-06/0.8017, allocations: 7.938 kB / 1.118 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.8017, allocations: 3.906 kB / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.8017, allocations: 0 / 1.118 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.8023, allocations: 411.4 kB / 1.119 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.8025, allocations: 78.61 kB / 1.119 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.553e-05/0.8025, allocations: 28.98 kB / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.157e-05/0.8025, allocations: 0 / 1.119 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.525e-05/0.8026, allocations: 75.3 kB / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.313e-06/0.8027, allocations: 0 / 1.119 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0002009/0.8029, allocations: 98.62 kB / 1.119 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.8029, allocations: 55.41 kB / 1.119 GB, free: 14.34 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/0.8032, allocations: 315.4 kB / 1.119 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.8033, allocations: 25.7 kB / 1.119 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.279e-05/0.8033, allocations: 116 kB / 1.12 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.495e-05/0.8034, allocations: 23.67 kB / 1.12 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.979e-06/0.8034, allocations: 0 / 1.12 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.8035, allocations: 342.7 kB / 1.12 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.706e-05/0.8036, allocations: 59.98 kB / 1.12 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.8037, allocations: 90.55 kB / 1.12 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001959/0.8039, allocations: 75.5 kB / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.8039, allocations: 0 / 1.12 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003745/0.8043, allocations: 213.3 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.8043, allocations: 5.094 kB / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.8043, allocations: 0 / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.8043, allocations: 0 / 1.12 GB, free: 13.06 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.8045, allocations: 23.98 kB / 1.12 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.8045, allocations: 0 / 1.12 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001239/0.8046, allocations: 29.55 kB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.8046, allocations: 8 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.ram.tab.nextTimeEvent,les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,$PRE.ram.tab.nextTimeEventScaled,ram.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.515e-05/0.8047, allocations: 108.9 kB / 1.121 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.8048, allocations: 19.72 kB / 1.121 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.805, allocations: 112.6 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.805, allocations: 3.938 kB / 1.121 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.805, allocations: 4 kB / 1.121 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/0.805, allocations: 3.906 kB / 1.121 GB, free: 12.74 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001752/0.8052, allocations: 222.1 kB / 1.121 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.8052, allocations: 0 / 1.121 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.151e-05/0.8052, allocations: 8 kB / 1.121 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.8052, allocations: 4 kB / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.8052, allocations: 3.984 kB / 1.121 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.8053, allocations: 3.938 kB / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.8053, allocations: 0 / 1.121 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001613/0.8054, allocations: 130.8 kB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002662/0.8057, allocations: 0.5012 MB / 1.122 GB, free: 11.8 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.8058, allocations: 104.8 kB / 1.122 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.8058, allocations: 5.781 kB / 1.122 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.415e-05/0.8059, allocations: 12 kB / 1.122 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.806, allocations: 15.97 kB / 1.122 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.997e-06/0.806, allocations: 4 kB / 1.122 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0001936/0.8062, allocations: 215.1 kB / 1.122 GB, free: 11.43 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008481/0.807, allocations: 67.89 kB / 1.122 GB, free: 11.37 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,les.y,lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Number of discrete states: 3 (lesHys.lesHys.y,ram.tab.nextTimeEvent,ram.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006103/0.8077, allocations: 320.1 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001816/0.8078, allocations: 103.9 kB / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.8079, allocations: 0 / 1.122 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/0.8079, allocations: 35.98 kB / 1.122 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002887/0.8082, allocations: 45.34 kB / 1.122 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.8088, allocations: 283.4 kB / 1.123 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004228/0.8092, allocations: 0.7784 MB / 1.123 GB, free: 9.871 MB / 0.7292 GB Notification: Performance of SimCode: time 2.5e-07/0.8092, allocations: 0 / 1.123 GB, free: 9.871 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)