Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 1.835/1.835, allocations: 387.2 MB / 394.5 MB, free: 13.57 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009763/0.0009763, allocations: 181.3 kB / 487 MB, free: 5.312 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.159/1.159, allocations: 221.3 MB / 0.7819 GB, free: 1.316 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009154/0.0009154, allocations: 97.45 kB / 0.9213 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4423/0.4433, allocations: 148.5 MB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.6326, allocations: 142.3 MB / 1.205 GB, free: 26.1 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5356/1.168, allocations: 152.6 MB / 1.354 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002037/1.168, allocations: 77.56 kB / 1.354 GB, free: 15.84 MB / 0.8073 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.02786/1.196, allocations: 11.2 MB / 1.365 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/1.196, allocations: 15.98 kB / 1.365 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.655e-05/1.196, allocations: 31.62 kB / 1.365 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005609/1.197, allocations: 396.8 kB / 1.366 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.197, allocations: 7.812 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.874e-05/1.197, allocations: 4 kB / 1.366 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001136/1.197, allocations: 58.78 kB / 1.366 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001294/1.197, allocations: 95.89 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.013e-06/1.197, allocations: 3.938 kB / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.197, allocations: 0 / 1.366 GB, free: 10.79 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/1.197, allocations: 3.906 kB / 1.366 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005351/1.198, allocations: 494.6 kB / 1.366 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/1.198, allocations: 122.8 kB / 1.366 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.611e-05/1.198, allocations: 47.53 kB / 1.367 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.159e-05/1.198, allocations: 7.984 kB / 1.367 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001086/1.198, allocations: 94.88 kB / 1.367 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=13): time 1.302e-06/1.198, allocations: 0 / 1.367 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of matching and sorting (n=13): time 0.0002088/1.198, allocations: 144.7 kB / 1.367 GB, free: 9.992 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.575e-05/1.198, allocations: 59.33 kB / 1.367 GB, free: 9.922 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003843/1.199, allocations: 456 kB / 1.367 GB, free: 9.566 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/1.199, allocations: 29.27 kB / 1.367 GB, free: 9.535 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.111e-05/1.199, allocations: 127.5 kB / 1.367 GB, free: 9.418 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.444e-05/1.199, allocations: 35.38 kB / 1.367 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.458e-05/1.199, allocations: 0 / 1.367 GB, free: 9.391 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/1.199, allocations: 348.2 kB / 1.368 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/1.199, allocations: 110.6 kB / 1.368 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000144/1.199, allocations: 141.8 kB / 1.368 GB, free: 8.875 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/1.2, allocations: 147.1 kB / 1.368 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/1.2, allocations: 0 / 1.368 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005152/1.2, allocations: 360.1 kB / 1.369 GB, free: 8.484 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/1.2, allocations: 4 kB / 1.369 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/1.2, allocations: 0 / 1.369 GB, free: 8.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.827e-06/1.2, allocations: 4 kB / 1.369 GB, free: 8.477 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001982/1.2, allocations: 52.06 kB / 1.369 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/1.2, allocations: 4 kB / 1.369 GB, free: 8.422 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001437/1.201, allocations: 27.84 kB / 1.369 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.414e-05/1.201, allocations: 15.8 kB / 1.369 GB, free: 8.383 MB / 0.8073 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 6.055e-05/1.201, allocations: 113.6 kB / 1.369 GB, free: 8.266 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/1.201, allocations: 31.53 kB / 1.369 GB, free: 8.234 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002552/1.201, allocations: 182.4 kB / 1.369 GB, free: 8.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.201, allocations: 4 kB / 1.369 GB, free: 8.09 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.953e-06/1.201, allocations: 4 kB / 1.369 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.201, allocations: 0 / 1.369 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001827/1.201, allocations: 279.3 kB / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/1.201, allocations: 0 / 1.369 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.45e-05/1.201, allocations: 15.94 kB / 1.369 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/1.201, allocations: 4 kB / 1.369 GB, free: 7.801 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/1.201, allocations: 7.047 kB / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/1.201, allocations: 0 / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/1.201, allocations: 0 / 1.369 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002005/1.202, allocations: 193.8 kB / 1.369 GB, free: 7.617 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002403/1.202, allocations: 0.5625 MB / 1.37 GB, free: 7.066 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.895e-05/1.202, allocations: 119.8 kB / 1.37 GB, free: 6.934 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.473e-05/1.202, allocations: 7.469 kB / 1.37 GB, free: 6.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/1.202, allocations: 11.98 kB / 1.37 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.645e-05/1.202, allocations: 15.61 kB / 1.37 GB, free: 6.906 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.25e-05/1.202, allocations: 7.984 kB / 1.37 GB, free: 6.898 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.0002331/1.202, allocations: 301.9 kB / 1.37 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008796/1.203, allocations: 71.67 kB / 1.37 GB, free: 6.609 MB / 0.8073 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.000552/1.204, allocations: 332.2 kB / 1.371 GB, free: 6.375 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002251/1.204, allocations: 192.5 kB / 1.371 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.41e-07/1.204, allocations: 0 / 1.371 GB, free: 6.238 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 8.241e-05/1.204, allocations: 61.55 kB / 1.371 GB, free: 6.195 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003478/1.204, allocations: 75.3 kB / 1.371 GB, free: 6.133 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006252/1.205, allocations: 426.1 kB / 1.372 GB, free: 5.742 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002673/1.205, allocations: 0.8306 MB / 1.372 GB, free: 4.891 MB / 0.8073 GB Notification: Performance of SimCode: time 2.91e-07/1.205, allocations: 0 / 1.372 GB, free: 4.891 MB / 0.8073 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)