Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.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.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.337/1.337, allocations: 285.5 MB / 292.8 MB, free: 9.781 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.0009043/0.0009045, allocations: 195.1 kB / 361.1 MB, free: 336 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.038/1.038, allocations: 205.1 MB / 0.6195 GB, free: 2.82 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008174/0.0008174, allocations: 98.02 kB / 0.7326 GB, free: 1.012 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.3555/0.3564, allocations: 121.5 MB / 0.8512 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1456/0.502, allocations: 115.3 MB / 0.9638 GB, free: 56.23 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4306/0.9326, allocations: 140.7 MB / 1.101 GB, free: 32.1 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001702/0.9328, allocations: 77.64 kB / 1.101 GB, free: 32.1 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.01543/0.9483, allocations: 7.026 MB / 1.108 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.9483, allocations: 12.22 kB / 1.108 GB, free: 31.32 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.9484, allocations: 27.38 kB / 1.108 GB, free: 31.31 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004323/0.9488, allocations: 325.4 kB / 1.108 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.9489, allocations: 3.938 kB / 1.108 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.9489, allocations: 3.875 kB / 1.108 GB, free: 31.08 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.399e-05/0.949, allocations: 42.02 kB / 1.109 GB, free: 31.07 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.696e-05/0.9491, allocations: 69.69 kB / 1.109 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.251e-06/0.9491, allocations: 0 / 1.109 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.9491, allocations: 3.875 kB / 1.109 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-06/0.9491, allocations: 3.906 kB / 1.109 GB, free: 31.04 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004587/0.9496, allocations: 411.1 kB / 1.109 GB, free: 30.8 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.9497, allocations: 82.2 kB / 1.109 GB, free: 30.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.746e-05/0.9498, allocations: 26.59 kB / 1.109 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.9498, allocations: 0 / 1.109 GB, free: 30.76 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.587e-05/0.9499, allocations: 75 kB / 1.109 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.9499, allocations: 0 / 1.109 GB, free: 30.7 MB / 0.7136 GB Notification: Performance of matching and sorting (n=7): time 0.0001693/0.95, allocations: 102.5 kB / 1.109 GB, free: 30.66 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.502e-05/0.9501, allocations: 51.41 kB / 1.109 GB, free: 30.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.9503, allocations: 315.3 kB / 1.11 GB, free: 30.49 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.38e-05/0.9503, allocations: 25.7 kB / 1.11 GB, free: 30.46 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.9504, allocations: 113.4 kB / 1.11 GB, free: 30.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.9504, allocations: 22.17 kB / 1.11 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/0.9504, allocations: 0 / 1.11 GB, free: 30.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 4.593e-05/0.9505, allocations: 341.8 kB / 1.11 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.712e-05/0.9505, allocations: 61.64 kB / 1.11 GB, free: 30.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.526e-05/0.9506, allocations: 85.88 kB / 1.11 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.9508, allocations: 78.22 kB / 1.11 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.9508, allocations: 0 / 1.11 GB, free: 30.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003177/0.9512, allocations: 214.6 kB / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.298e-06/0.9512, allocations: 5.906 kB / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.9512, allocations: 0 / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/0.9512, allocations: 2.938 kB / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.9513, allocations: 21.67 kB / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.9513, allocations: 0 / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.9514, allocations: 19.66 kB / 1.111 GB, free: 29.96 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.9515, allocations: 9.422 kB / 1.111 GB, free: 29.96 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 5.019e-05/0.9515, allocations: 118.7 kB / 1.111 GB, free: 29.84 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.9516, allocations: 20.81 kB / 1.111 GB, free: 29.83 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001617/0.9517, allocations: 108 kB / 1.111 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9517, allocations: 7.812 kB / 1.111 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.9517, allocations: 0 / 1.111 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.9517, allocations: 0 / 1.111 GB, free: 29.79 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001203/0.9519, allocations: 223.8 kB / 1.111 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.9519, allocations: 2.812 kB / 1.111 GB, free: 29.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.928e-05/0.9519, allocations: 11.84 kB / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.9519, allocations: 0 / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/0.9519, allocations: 0 / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9519, allocations: 3.875 kB / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9519, allocations: 0 / 1.111 GB, free: 29.62 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001259/0.9521, allocations: 136.2 kB / 1.111 GB, free: 29.54 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.000255/0.9523, allocations: 0.5017 MB / 1.112 GB, free: 45.09 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.9524, allocations: 103.1 kB / 1.112 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.392e-05/0.9524, allocations: 0 / 1.112 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.599e-05/0.9525, allocations: 10.31 kB / 1.112 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.338e-05/0.9526, allocations: 18.45 kB / 1.112 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.203e-06/0.9526, allocations: 0 / 1.112 GB, free: 44.98 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000151/0.9528, allocations: 225.2 kB / 1.112 GB, free: 44.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0007782/0.9535, allocations: 60.44 kB / 1.112 GB, free: 44.88 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.0005267/0.9541, allocations: 328.7 kB / 1.112 GB, free: 44.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.9542, allocations: 104.1 kB / 1.112 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.9542, allocations: 0 / 1.112 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.962e-05/0.9543, allocations: 33.72 kB / 1.113 GB, free: 44.7 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002456/0.9546, allocations: 40.42 kB / 1.113 GB, free: 44.69 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004144/0.955, allocations: 279.2 kB / 1.113 GB, free: 44.58 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.9553, allocations: 0.78 MB / 1.114 GB, free: 43.87 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.9553, allocations: 0 / 1.114 GB, free: 43.87 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_LessThreshold.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.LessThreshold.pipe 2>&1)