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.Equal.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.Equal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Equal,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal",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.264/1.264, allocations: 249.4 MB / 256.7 MB, free: 7.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 177.3 kB / 316 MB, free: 3.617 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.183/1.183, allocations: 205.1 MB / 0.5667 GB, free: 15.73 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.00089/0.00089, allocations: 98.31 kB / 0.671 GB, free: 4.859 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3361/0.337, allocations: 112.5 MB / 0.7808 GB, free: 103 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1628/0.4998, allocations: 106.3 MB / 0.8847 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4535/0.9534, allocations: 135.6 MB / 1.017 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000191/0.9536, allocations: 79.89 kB / 1.017 GB, free: 3.324 MB / 0.6355 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.02657/0.9802, allocations: 10.62 MB / 1.028 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.227e-05/0.9802, allocations: 8 kB / 1.028 GB, free: 10.38 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.058e-05/0.9803, allocations: 35.53 kB / 1.028 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005175/0.9808, allocations: 373.7 kB / 1.028 GB, free: 9.98 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.9809, allocations: 4 kB / 1.028 GB, free: 9.977 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.9809, allocations: 15.92 kB / 1.028 GB, free: 9.961 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001185/0.981, allocations: 54.55 kB / 1.028 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000142/0.9812, allocations: 99.19 kB / 1.028 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.9812, allocations: 0 / 1.028 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.403e-05/0.9812, allocations: 0 / 1.028 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.521e-06/0.9812, allocations: 4 kB / 1.028 GB, free: 9.84 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005774/0.9818, allocations: 468.3 kB / 1.029 GB, free: 9.418 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001686/0.982, allocations: 125.4 kB / 1.029 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.76e-05/0.9821, allocations: 50.75 kB / 1.029 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.9821, allocations: 0 / 1.029 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001196/0.9822, allocations: 102.2 kB / 1.029 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 1.192e-06/0.9822, allocations: 0 / 1.029 GB, free: 9.188 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0002535/0.9825, allocations: 153.1 kB / 1.029 GB, free: 9.059 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.438e-05/0.9825, allocations: 51.41 kB / 1.029 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004206/0.9829, allocations: 442 kB / 1.029 GB, free: 8.648 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.983, allocations: 29.7 kB / 1.029 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 5.432e-05/0.983, allocations: 122.4 kB / 1.03 GB, free: 8.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.087e-05/0.9831, allocations: 34.94 kB / 1.03 GB, free: 8.473 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.521e-05/0.9831, allocations: 4 kB / 1.03 GB, free: 8.469 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.9832, allocations: 347.5 kB / 1.03 GB, free: 8.133 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.9833, allocations: 113.7 kB / 1.03 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001561/0.9835, allocations: 146.2 kB / 1.03 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.9837, allocations: 114.5 kB / 1.03 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.9837, allocations: 0 / 1.03 GB, free: 7.867 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004378/0.9841, allocations: 336 kB / 1.031 GB, free: 7.605 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 9.477e-06/0.9841, allocations: 4 kB / 1.031 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.9841, allocations: 0 / 1.031 GB, free: 7.602 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.9841, allocations: 4 kB / 1.031 GB, free: 7.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002191/0.9844, allocations: 54.84 kB / 1.031 GB, free: 7.547 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.9844, allocations: 4 kB / 1.031 GB, free: 7.543 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001439/0.9845, allocations: 19.98 kB / 1.031 GB, free: 7.523 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.563e-05/0.9846, allocations: 15.06 kB / 1.031 GB, free: 7.512 MB / 0.6511 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,intEqu.u1,intEqu.u2,intEqu.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.0001199/0.9847, allocations: 120.9 kB / 1.031 GB, free: 7.387 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.458e-05/0.9848, allocations: 31.62 kB / 1.031 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002752/0.985, allocations: 173.6 kB / 1.031 GB, free: 7.223 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.985, allocations: 4 kB / 1.031 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.9851, allocations: 0 / 1.031 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9851, allocations: 3.984 kB / 1.031 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.9853, allocations: 277.6 kB / 1.031 GB, free: 6.949 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.9853, allocations: 4 kB / 1.031 GB, free: 6.945 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.945e-05/0.9854, allocations: 15.98 kB / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.9854, allocations: 0 / 1.031 GB, free: 6.93 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.9854, allocations: 7.984 kB / 1.031 GB, free: 6.922 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.234e-06/0.9854, allocations: 3.906 kB / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.9854, allocations: 0 / 1.031 GB, free: 6.918 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002216/0.9856, allocations: 180 kB / 1.031 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003217/0.986, allocations: 0.5649 MB / 1.032 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.9861, allocations: 116 kB / 1.032 GB, free: 6.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.926e-05/0.9861, allocations: 11.58 kB / 1.032 GB, free: 6.062 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.9862, allocations: 4 kB / 1.032 GB, free: 6.059 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.184e-05/0.9863, allocations: 19.47 kB / 1.032 GB, free: 6.043 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.9863, allocations: 4 kB / 1.032 GB, free: 6.039 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0002537/0.9866, allocations: 296.5 kB / 1.032 GB, free: 5.812 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008238/0.9874, allocations: 67 kB / 1.033 GB, free: 5.754 MB / 0.6511 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,intEqu.u1,intEqu.u2,intEqu.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.0006053/0.988, allocations: 329 kB / 1.033 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.9883, allocations: 191.3 kB / 1.033 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.9883, allocations: 0 / 1.033 GB, free: 5.379 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.269e-05/0.9884, allocations: 66.55 kB / 1.033 GB, free: 5.332 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.9888, allocations: 77.52 kB / 1.033 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006611/0.9895, allocations: 421.4 kB / 1.034 GB, free: 4.887 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003564/0.9898, allocations: 0.8244 MB / 1.034 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of SimCode: time 2.51e-07/0.9898, allocations: 0 / 1.034 GB, free: 4.043 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Equal.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Equal.pipe 2>&1)