Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0.0/package.mo): time 2.141/2.141, allocations: 284.8 MB / 292.1 MB, free: 10.76 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.00159/0.00159, allocations: 179.6 kB / 360.3 MB, free: 7.57 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.627/1.627, allocations: 205.1 MB / 0.6187 GB, free: 13.24 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.001228/0.001227, allocations: 90.53 kB / 0.7317 GB, free: 45.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2456/0.2469, allocations: 121.4 MB / 0.8502 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5526/0.7995, allocations: 115.2 MB / 0.9628 GB, free: 78.68 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2133/1.013, allocations: 140.5 MB / 1.1 GB, free: 344 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002821/1.013, allocations: 77.55 kB / 1.1 GB, free: 268 kB / 0.698 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.03146/1.045, allocations: 7.033 MB / 1.107 GB, free: 9.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/1.045, allocations: 11.19 kB / 1.107 GB, free: 9.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/1.045, allocations: 23.72 kB / 1.107 GB, free: 9.242 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008771/1.046, allocations: 330.9 kB / 1.107 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/1.046, allocations: 4 kB / 1.107 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.938e-05/1.046, allocations: 4 kB / 1.107 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001578/1.046, allocations: 41.48 kB / 1.107 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/1.046, allocations: 73.66 kB / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.717e-06/1.046, allocations: 0 / 1.107 GB, free: 8.754 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.985e-05/1.046, allocations: 3.906 kB / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.14e-06/1.046, allocations: 0 / 1.107 GB, free: 8.75 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000883/1.047, allocations: 413.1 kB / 1.108 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/1.047, allocations: 78.67 kB / 1.108 GB, free: 8.223 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/1.047, allocations: 24.98 kB / 1.108 GB, free: 8.195 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.999e-05/1.047, allocations: 3.984 kB / 1.108 GB, free: 8.191 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000157/1.048, allocations: 75.25 kB / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/1.048, allocations: 0 / 1.108 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0003384/1.048, allocations: 99.81 kB / 1.108 GB, free: 8.004 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/1.048, allocations: 55.41 kB / 1.108 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005942/1.049, allocations: 319.4 kB / 1.108 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.049, allocations: 25.7 kB / 1.108 GB, free: 7.586 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.361e-05/1.049, allocations: 112 kB / 1.109 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/1.049, allocations: 15.75 kB / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.675e-05/1.049, allocations: 0 / 1.109 GB, free: 7.457 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001559/1.049, allocations: 342.7 kB / 1.109 GB, free: 7.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/1.049, allocations: 63.98 kB / 1.109 GB, free: 7.051 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/1.049, allocations: 90.55 kB / 1.109 GB, free: 6.953 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003571/1.05, allocations: 75.88 kB / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/1.05, allocations: 0 / 1.109 GB, free: 6.879 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000649/1.051, allocations: 205.3 kB / 1.109 GB, free: 6.672 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/1.051, allocations: 4 kB / 1.109 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/1.051, allocations: 4.062 kB / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/1.051, allocations: 0 / 1.109 GB, free: 6.664 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/1.051, allocations: 27.92 kB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/1.051, allocations: 0.8125 kB / 1.109 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002272/1.051, allocations: 25.89 kB / 1.109 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.294e-05/1.051, allocations: 8 kB / 1.109 GB, free: 6.605 MB / 0.7136 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 0.0001169/1.051, allocations: 119.9 kB / 1.11 GB, free: 6.484 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.378e-05/1.051, allocations: 27.7 kB / 1.11 GB, free: 6.457 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003333/1.052, allocations: 115.3 kB / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.285e-05/1.052, allocations: 0 / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/1.052, allocations: 0 / 1.11 GB, free: 6.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.052, allocations: 5.969 kB / 1.11 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002823/1.052, allocations: 218.1 kB / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/1.052, allocations: 0 / 1.11 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.389e-05/1.052, allocations: 4 kB / 1.11 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.984e-06/1.052, allocations: 4 kB / 1.11 GB, free: 6.078 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/1.052, allocations: 4 kB / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/1.052, allocations: 0 / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/1.052, allocations: 0 / 1.11 GB, free: 6.074 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000336/1.053, allocations: 132.7 kB / 1.11 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004221/1.053, allocations: 0.4986 MB / 1.11 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/1.053, allocations: 108.8 kB / 1.111 GB, free: 5.281 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.392e-05/1.053, allocations: 4 kB / 1.111 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000172/1.053, allocations: 11.98 kB / 1.111 GB, free: 5.266 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/1.053, allocations: 11.98 kB / 1.111 GB, free: 5.254 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/1.053, allocations: 9.609 kB / 1.111 GB, free: 5.246 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0003591/1.054, allocations: 215.8 kB / 1.111 GB, free: 5.035 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001293/1.055, allocations: 63.97 kB / 1.111 GB, free: 4.973 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: 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.0009172/1.056, allocations: 329.2 kB / 1.111 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003363/1.056, allocations: 95.98 kB / 1.111 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.056, allocations: 0 / 1.111 GB, free: 4.688 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001088/1.057, allocations: 35.94 kB / 1.111 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004879/1.057, allocations: 45 kB / 1.111 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008755/1.058, allocations: 285.3 kB / 1.112 GB, free: 4.305 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/1.058, allocations: 0.7666 MB / 1.112 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of SimCode: time 8.42e-07/1.058, allocations: 0.9375 kB / 1.112 GB, free: 3.512 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)