Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Less,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.122/2.122, allocations: 284.8 MB / 292.1 MB, free: 10.74 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.00152/0.00152, 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.636/1.636, allocations: 205.1 MB / 0.6187 GB, free: 13.2 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.001154/0.001154, allocations: 88.69 kB / 0.7317 GB, free: 45.09 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2477/0.2489, allocations: 121.4 MB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5437/0.7926, allocations: 115.2 MB / 0.9628 GB, free: 78.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2119/1.005, allocations: 140.7 MB / 1.1 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/1.005, allocations: 73.67 kB / 1.1 GB, free: 15.92 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.04863/1.054, allocations: 10.92 MB / 1.111 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/1.054, allocations: 12.48 kB / 1.111 GB, free: 5.074 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/1.054, allocations: 35.56 kB / 1.111 GB, free: 5.039 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/1.055, allocations: 403.5 kB / 1.111 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.519e-05/1.055, allocations: 4 kB / 1.111 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.214e-05/1.055, allocations: 6 kB / 1.111 GB, free: 4.594 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002168/1.055, allocations: 59.97 kB / 1.111 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/1.056, allocations: 97.58 kB / 1.111 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.056, allocations: 0 / 1.111 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/1.056, allocations: 0 / 1.111 GB, free: 4.434 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.064e-05/1.056, allocations: 7.906 kB / 1.111 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001065/1.057, allocations: 485.2 kB / 1.112 GB, free: 3.914 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/1.057, allocations: 130.7 kB / 1.112 GB, free: 3.777 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001264/1.057, allocations: 39.38 kB / 1.112 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/1.057, allocations: 7.984 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/1.057, allocations: 99.59 kB / 1.112 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.404e-06/1.057, allocations: 4 kB / 1.112 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0004816/1.058, allocations: 145.2 kB / 1.112 GB, free: 3.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.257e-05/1.058, allocations: 63.3 kB / 1.112 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009017/1.059, allocations: 453.9 kB / 1.113 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.707e-05/1.059, allocations: 29.92 kB / 1.113 GB, free: 2.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/1.059, allocations: 128.3 kB / 1.113 GB, free: 2.781 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.517e-05/1.059, allocations: 35.56 kB / 1.113 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.748e-05/1.059, allocations: 0 / 1.113 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002352/1.059, allocations: 346.8 kB / 1.113 GB, free: 2.398 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003357/1.06, allocations: 120.3 kB / 1.113 GB, free: 2.281 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003399/1.06, allocations: 139.4 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/1.061, allocations: 144.6 kB / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.061, allocations: 0 / 1.114 GB, free: 1.996 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001138/1.062, allocations: 361 kB / 1.114 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/1.062, allocations: 9.25 kB / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/1.062, allocations: 0 / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.993e-05/1.062, allocations: 0 / 1.114 GB, free: 1.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004263/1.062, allocations: 51.91 kB / 1.114 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.463e-06/1.063, allocations: 0 / 1.114 GB, free: 1.578 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003073/1.063, allocations: 15.84 kB / 1.114 GB, free: 1.562 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.395e-05/1.063, allocations: 19.98 kB / 1.114 GB, free: 1.543 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 0.0001337/1.063, allocations: 118.3 kB / 1.114 GB, free: 1.422 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.777e-05/1.063, allocations: 35.53 kB / 1.114 GB, free: 1.387 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005613/1.064, allocations: 172.6 kB / 1.114 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/1.064, allocations: 0 / 1.114 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/1.064, allocations: 0 / 1.114 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/1.064, allocations: 0 / 1.114 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004066/1.064, allocations: 293.8 kB / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.064, allocations: 0 / 1.115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/1.064, allocations: 20 kB / 1.115 GB, free: 0.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/1.064, allocations: 3.938 kB / 1.115 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.693e-05/1.064, allocations: 9.672 kB / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/1.064, allocations: 0 / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/1.064, allocations: 0 / 1.115 GB, free: 0.8633 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004232/1.065, allocations: 183.7 kB / 1.115 GB, free: 0.668 MB / 0.7136 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005815/1.065, allocations: 0.5712 MB / 1.116 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001704/1.066, allocations: 120.6 kB / 1.116 GB, free: 15.94 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.751e-05/1.066, allocations: 4 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002147/1.066, allocations: 7.984 kB / 1.116 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.105e-05/1.066, allocations: 15.98 kB / 1.116 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.563e-05/1.066, allocations: 11.98 kB / 1.116 GB, free: 15.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0005877/1.067, allocations: 300.6 kB / 1.116 GB, free: 15.61 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.00135/1.068, allocations: 71.92 kB / 1.116 GB, free: 15.54 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.0009283/1.069, allocations: 327.6 kB / 1.116 GB, free: 15.34 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005315/1.07, allocations: 183.8 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.07, allocations: 4 kB / 1.117 GB, free: 15.16 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/1.07, allocations: 62.59 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007195/1.07, allocations: 73.25 kB / 1.117 GB, free: 15.03 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/1.072, allocations: 424.9 kB / 1.117 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006638/1.072, allocations: 0.8335 MB / 1.118 GB, free: 13.73 MB / 0.7292 GB Notification: Performance of SimCode: time 2.835e-06/1.072, allocations: 0 / 1.118 GB, free: 13.73 MB / 0.7292 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)