Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Less,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.202/1.202, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009556/0.0009557, allocations: 186.4 kB / 316 MB, free: 7.199 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.1 MB / 0.5667 GB, free: 23.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000838/0.000838, allocations: 91.33 kB / 0.671 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1937/0.1946, allocations: 112.5 MB / 0.7808 GB, free: 296 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.5984, allocations: 106.3 MB / 0.8847 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1384/0.7369, allocations: 134.5 MB / 1.016 GB, free: 5.617 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000205/0.7371, allocations: 79.95 kB / 1.016 GB, free: 5.539 MB / 0.6667 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.0285/0.7656, allocations: 10.65 MB / 1.027 GB, free: 10.83 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.7657, allocations: 12 kB / 1.027 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.7658, allocations: 31.53 kB / 1.027 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006087/0.7664, allocations: 375.7 kB / 1.027 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/0.7665, allocations: 11.98 kB / 1.027 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.139e-05/0.7665, allocations: 4 kB / 1.027 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001309/0.7666, allocations: 55.92 kB / 1.027 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001596/0.7668, allocations: 105.6 kB / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.295e-06/0.7668, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.7668, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.7668, allocations: 0 / 1.027 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008/0.7676, allocations: 473 kB / 1.028 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000198/0.7679, allocations: 126.8 kB / 1.028 GB, free: 9.57 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.384e-05/0.7679, allocations: 49 kB / 1.028 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.768, allocations: 3.984 kB / 1.028 GB, free: 9.516 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001361/0.7681, allocations: 110.9 kB / 1.028 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.893e-06/0.7681, allocations: 0 / 1.028 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.0002934/0.7684, allocations: 141.3 kB / 1.028 GB, free: 9.254 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.741e-05/0.7684, allocations: 55.41 kB / 1.028 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004884/0.7689, allocations: 445.8 kB / 1.028 GB, free: 8.742 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.769, allocations: 25.7 kB / 1.028 GB, free: 8.711 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/0.7691, allocations: 124.4 kB / 1.029 GB, free: 8.586 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.7691, allocations: 39.55 kB / 1.029 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.62e-05/0.7691, allocations: 0 / 1.029 GB, free: 8.547 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.7692, allocations: 346.7 kB / 1.029 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.7694, allocations: 112.5 kB / 1.029 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001675/0.7696, allocations: 139.3 kB / 1.029 GB, free: 7.941 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000172/0.7698, allocations: 115.9 kB / 1.029 GB, free: 7.828 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.7698, allocations: 4 kB / 1.029 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004738/0.7703, allocations: 330.1 kB / 1.03 GB, free: 7.496 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7703, allocations: 8 kB / 1.03 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7703, allocations: 0 / 1.03 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.7703, allocations: 0 / 1.03 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002314/0.7705, allocations: 55.91 kB / 1.03 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.7706, allocations: 0 / 1.03 GB, free: 7.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000171/0.7707, allocations: 19.83 kB / 1.03 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.162e-05/0.7708, allocations: 24.05 kB / 1.03 GB, free: 7.391 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 8.106e-05/0.7709, allocations: 116.8 kB / 1.03 GB, free: 7.27 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.078e-05/0.7709, allocations: 31.62 kB / 1.03 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002887/0.7712, allocations: 179.2 kB / 1.03 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.7712, allocations: 4 kB / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.7712, allocations: 0 / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.7713, allocations: 0 / 1.03 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.7715, allocations: 285.9 kB / 1.03 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.7715, allocations: 0 / 1.03 GB, free: 6.742 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.902e-05/0.7716, allocations: 12 kB / 1.03 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.7716, allocations: 0 / 1.03 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.783e-05/0.7716, allocations: 7.984 kB / 1.03 GB, free: 6.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.7716, allocations: 3.906 kB / 1.03 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.7716, allocations: 0 / 1.03 GB, free: 6.719 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002426/0.7719, allocations: 184.6 kB / 1.03 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003759/0.7723, allocations: 0.5634 MB / 1.031 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.158e-05/0.7724, allocations: 116.7 kB / 1.031 GB, free: 5.801 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.079e-05/0.7724, allocations: 11.91 kB / 1.031 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.7726, allocations: 11.98 kB / 1.031 GB, free: 5.777 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.847e-05/0.7726, allocations: 11.98 kB / 1.031 GB, free: 5.766 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.424e-05/0.7726, allocations: 11.98 kB / 1.031 GB, free: 5.754 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002801/0.7729, allocations: 288.6 kB / 1.031 GB, free: 5.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008764/0.7738, allocations: 71.92 kB / 1.032 GB, free: 5.406 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.0006766/0.7745, allocations: 322 kB / 1.032 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003055/0.7748, allocations: 183.8 kB / 1.032 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.7748, allocations: 128 / 1.032 GB, free: 4.992 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001097/0.7749, allocations: 71.86 kB / 1.032 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004269/0.7754, allocations: 69.12 kB / 1.032 GB, free: 4.852 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007526/0.7761, allocations: 419.8 kB / 1.033 GB, free: 4.414 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.7765, allocations: 0.8296 MB / 1.033 GB, free: 3.555 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.7766, allocations: 0 / 1.033 GB, free: 3.555 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Less.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Less.pipe 2>&1)