Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.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.Integers.Validation.Less,fileNamePrefix="Buildings_8_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_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.1.4-maint.8.1.x/package.mo): time 1.441/1.441, allocations: 289.8 MB / 297.1 MB, free: 9.031 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.001015/0.001015, allocations: 177.3 kB / 366.3 MB, free: 11.22 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.097/1.097, allocations: 205.1 MB / 0.6256 GB, free: 11.5 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007925/0.0007926, allocations: 79.44 kB / 0.7396 GB, free: 6.699 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.382/0.3829, allocations: 122.4 MB / 0.8591 GB, free: 148 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.5405, allocations: 116.3 MB / 0.9727 GB, free: 31.64 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4523/0.9928, allocations: 141.8 MB / 1.111 GB, free: 16.21 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.993, allocations: 75.97 kB / 1.111 GB, free: 16.21 MB / 0.6823 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.02762/1.021, allocations: 10.91 MB / 1.122 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/1.021, allocations: 9.75 kB / 1.122 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.279e-05/1.021, allocations: 30.8 kB / 1.122 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006225/1.021, allocations: 400.9 kB / 1.122 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.021, allocations: 7.719 kB / 1.122 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.35e-05/1.021, allocations: 5.594 kB / 1.122 GB, free: 14.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000136/1.022, allocations: 62 kB / 1.122 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/1.022, allocations: 92.64 kB / 1.122 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/1.022, allocations: 1.641 kB / 1.122 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/1.022, allocations: 0 / 1.122 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/1.022, allocations: 2.797 kB / 1.122 GB, free: 14.91 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006944/1.023, allocations: 489.2 kB / 1.123 GB, free: 14.66 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/1.023, allocations: 118.8 kB / 1.123 GB, free: 14.64 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/1.023, allocations: 52.25 kB / 1.123 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.023, allocations: 2.578 kB / 1.123 GB, free: 14.62 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001389/1.023, allocations: 103.8 kB / 1.123 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.623e-06/1.023, allocations: 0.875 kB / 1.123 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0003127/1.023, allocations: 150.2 kB / 1.123 GB, free: 14.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.745e-05/1.023, allocations: 56.47 kB / 1.123 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004984/1.024, allocations: 461.5 kB / 1.124 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/1.024, allocations: 30.83 kB / 1.124 GB, free: 14.31 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.011e-05/1.024, allocations: 121.9 kB / 1.124 GB, free: 14.22 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/1.024, allocations: 36.81 kB / 1.124 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.598e-05/1.024, allocations: 0 / 1.124 GB, free: 14.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.685e-05/1.024, allocations: 353.3 kB / 1.124 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001513/1.024, allocations: 109.6 kB / 1.124 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/1.024, allocations: 137.7 kB / 1.125 GB, free: 13.86 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003432/1.025, allocations: 142.9 kB / 1.125 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/1.025, allocations: 0 / 1.125 GB, free: 13.85 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006094/1.025, allocations: 361 kB / 1.125 GB, free: 13.79 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/1.025, allocations: 12.94 kB / 1.125 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/1.025, allocations: 0 / 1.125 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.025, allocations: 3.25 kB / 1.125 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/1.026, allocations: 49.73 kB / 1.125 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/1.026, allocations: 1.656 kB / 1.125 GB, free: 13.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001578/1.026, allocations: 21.69 kB / 1.125 GB, free: 13.77 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.069e-05/1.026, allocations: 16.75 kB / 1.125 GB, free: 13.77 MB / 0.6823 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 7.052e-05/1.026, allocations: 118.6 kB / 1.125 GB, free: 13.65 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.597e-05/1.026, allocations: 34.59 kB / 1.125 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/1.026, allocations: 178.3 kB / 1.125 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.026, allocations: 1.594 kB / 1.125 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/1.026, allocations: 5.281 kB / 1.125 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.026, allocations: 0 / 1.125 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/1.027, allocations: 289.2 kB / 1.126 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/1.027, allocations: 1.469 kB / 1.126 GB, free: 13.37 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.093e-05/1.027, allocations: 14.67 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.027, allocations: 1.031 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/1.027, allocations: 2.094 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/1.027, allocations: 1.438 kB / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/1.027, allocations: 0 / 1.126 GB, free: 13.36 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002246/1.027, allocations: 194.3 kB / 1.126 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002552/1.027, allocations: 0.5634 MB / 1.127 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.148e-05/1.027, allocations: 114.3 kB / 1.127 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/1.027, allocations: 8.656 kB / 1.127 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001182/1.027, allocations: 14.23 kB / 1.127 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.993e-05/1.028, allocations: 18.12 kB / 1.127 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/1.028, allocations: 4.781 kB / 1.127 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002598/1.028, allocations: 298.5 kB / 1.127 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008976/1.029, allocations: 72.3 kB / 1.127 GB, free: 12.54 MB / 0.6823 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.0006028/1.029, allocations: 326.3 kB / 1.127 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002737/1.03, allocations: 190.1 kB / 1.128 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.03, allocations: 3.938 kB / 1.128 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.556e-05/1.03, allocations: 63.3 kB / 1.128 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/1.03, allocations: 75.05 kB / 1.128 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007303/1.031, allocations: 426.3 kB / 1.128 GB, free: 12.12 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003972/1.031, allocations: 0.8352 MB / 1.129 GB, free: 27.36 MB / 0.698 GB Notification: Performance of SimCode: time 2.9e-07/1.031, allocations: 0 / 1.129 GB, free: 27.36 MB / 0.698 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)