Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Integers.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less",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.309/1.309, allocations: 285.5 MB / 292.8 MB, free: 10.47 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.0009148/0.0009146, allocations: 173.3 kB / 361.1 MB, free: 7.117 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.015/1.015, allocations: 205.1 MB / 0.6195 GB, free: 11.95 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.0007673/0.0007673, allocations: 96.59 kB / 0.7326 GB, free: 44.48 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.1723/0.1731, allocations: 121.5 MB / 0.8512 GB, free: 3.141 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.5897, allocations: 115.3 MB / 0.9638 GB, free: 77.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1344/0.7241, allocations: 140.9 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001876/0.7243, allocations: 75.95 kB / 1.101 GB, free: 15.17 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.02648/0.7508, allocations: 10.91 MB / 1.112 GB, free: 4.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.7509, allocations: 8.5 kB / 1.112 GB, free: 4.309 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.147e-05/0.7509, allocations: 35.61 kB / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005786/0.7515, allocations: 401.4 kB / 1.112 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.7516, allocations: 4 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.131e-05/0.7516, allocations: 12 kB / 1.112 GB, free: 3.824 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001218/0.7517, allocations: 55.97 kB / 1.113 GB, free: 3.77 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.7519, allocations: 103.8 kB / 1.113 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.7519, allocations: 0 / 1.113 GB, free: 3.664 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.7519, allocations: 3.984 kB / 1.113 GB, free: 3.66 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.7519, allocations: 3.906 kB / 1.113 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000597/0.7525, allocations: 489.2 kB / 1.113 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001776/0.7527, allocations: 118.7 kB / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.7e-05/0.7528, allocations: 44.86 kB / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.394e-05/0.7528, allocations: 0 / 1.113 GB, free: 2.969 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001326/0.7529, allocations: 105.1 kB / 1.113 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.7529, allocations: 0 / 1.113 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002684/0.7532, allocations: 149.2 kB / 1.114 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.754e-05/0.7532, allocations: 55.31 kB / 1.114 GB, free: 2.637 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004547/0.7537, allocations: 458.1 kB / 1.114 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.7537, allocations: 29.7 kB / 1.114 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.7538, allocations: 124.3 kB / 1.114 GB, free: 2.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.7538, allocations: 39.55 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.7539, allocations: 0 / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.528e-05/0.754, allocations: 350.8 kB / 1.115 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/0.7541, allocations: 112.5 kB / 1.115 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001609/0.7543, allocations: 135.4 kB / 1.115 GB, free: 1.375 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003278/0.7546, allocations: 148.6 kB / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.7546, allocations: 0 / 1.115 GB, free: 1.23 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006273/0.7553, allocations: 357.6 kB / 1.115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.35e-05/0.7553, allocations: 7.984 kB / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.7553, allocations: 0 / 1.115 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7553, allocations: 4 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.7555, allocations: 51.91 kB / 1.115 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.7556, allocations: 4 kB / 1.115 GB, free: 0.8086 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.7557, allocations: 19.19 kB / 1.115 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.7558, allocations: 25.22 kB / 1.115 GB, free: 0.7695 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition2,$PRE.timTabLin1.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLin.tab.nextTimeEvent,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,$PRE.timTabLin1.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.006e-05/0.7559, allocations: 112.7 kB / 1.115 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.303e-05/0.7559, allocations: 31.53 kB / 1.115 GB, free: 0.6211 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002812/0.7562, allocations: 172.4 kB / 1.116 GB, free: 464 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.7562, allocations: 4 kB / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.7562, allocations: 0 / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.7562, allocations: 0 / 1.116 GB, free: 460 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002163/0.7564, allocations: 285.9 kB / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.7565, allocations: 0 / 1.116 GB, free: 136 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.977e-05/0.7565, allocations: 23.86 kB / 1.116 GB, free: 112 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.7566, allocations: 6.156 kB / 1.116 GB, free: 108 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.448e-05/0.7566, allocations: 3.984 kB / 1.116 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.7566, allocations: 0 / 1.116 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.7566, allocations: 0 / 1.116 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000245/0.7568, allocations: 190.9 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003069/0.7572, allocations: 0.5667 MB / 1.117 GB, free: 15.31 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.777e-05/0.7573, allocations: 120.7 kB / 1.117 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.797e-05/0.7573, allocations: 7.891 kB / 1.117 GB, free: 15.17 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001114/0.7574, allocations: 4 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.7575, allocations: 19.97 kB / 1.117 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.7575, allocations: 11.98 kB / 1.117 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000277/0.7578, allocations: 300.6 kB / 1.117 GB, free: 14.84 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008205/0.7586, allocations: 75.92 kB / 1.117 GB, free: 14.77 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: 9 ($whenCondition2,$whenCondition1,intLes.u1,intLes.u2,intLes.y,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEvent,timTabLin1.tab.nextTimeEventScaled) * Number of discrete states: 4 (timTabLin.tab.nextTimeEvent,timTabLin1.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,timTabLin1.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006173/0.7592, allocations: 319.7 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002808/0.7595, allocations: 187.8 kB / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7595, allocations: 128 / 1.118 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001245/0.7597, allocations: 71.92 kB / 1.118 GB, free: 14.31 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000379/0.7601, allocations: 72.84 kB / 1.118 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007598/0.7608, allocations: 420.9 kB / 1.118 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004418/0.7613, allocations: 0.8304 MB / 1.119 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.7613, allocations: 7.938 kB / 1.119 GB, free: 12.95 MB / 0.7292 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)