Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product") [: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.1-maint.8.0.x/package.mo): time 1.328/1.328, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.0009828/0.0009828, allocations: 185.3 kB / 361.1 MB, free: 7.074 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.007/1.007, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007317/0.0007317, allocations: 86.78 kB / 0.7325 GB, free: 44.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.065e-06/8.095e-06, allocations: 4 kB / 0.8511 GB, free: 2.953 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4053, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.5375, allocations: 140.8 MB / 1.101 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001865/0.5377, allocations: 76.52 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02764/0.5653, allocations: 10.36 MB / 1.111 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.5654, allocations: 4 kB / 1.111 GB, free: 4.848 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.0006785/0.5661, allocations: 0.5288 MB / 1.112 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.5661, allocations: 8.031 kB / 1.112 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.071e-05/0.5662, allocations: 31.62 kB / 1.112 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006785/0.5669, allocations: 403.5 kB / 1.112 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.142e-05/0.5669, allocations: 9.812 kB / 1.112 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.5669, allocations: 4 kB / 1.112 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001457/0.5671, allocations: 55.92 kB / 1.112 GB, free: 3.73 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001595/0.5673, allocations: 101.6 kB / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.5673, allocations: 0 / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.5673, allocations: 0 / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.821e-06/0.5673, allocations: 3.906 kB / 1.113 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007037/0.568, allocations: 489.2 kB / 1.113 GB, free: 3.105 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.5682, allocations: 114.7 kB / 1.113 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.462e-05/0.5683, allocations: 53.06 kB / 1.113 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.5683, allocations: 3.938 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.5685, allocations: 101.1 kB / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.5685, allocations: 0 / 1.113 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002913/0.5688, allocations: 157.1 kB / 1.113 GB, free: 2.656 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.5688, allocations: 51.41 kB / 1.113 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005048/0.5693, allocations: 461.9 kB / 1.114 GB, free: 2.133 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5694, allocations: 29.7 kB / 1.114 GB, free: 2.098 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.043e-05/0.5694, allocations: 124.4 kB / 1.114 GB, free: 1.973 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.395e-05/0.5695, allocations: 35.55 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.484e-05/0.5695, allocations: 0 / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.5696, allocations: 350.8 kB / 1.114 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.5698, allocations: 108.5 kB / 1.114 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001764/0.57, allocations: 143.4 kB / 1.115 GB, free: 1.328 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.5703, allocations: 141.5 kB / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5703, allocations: 0 / 1.115 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006276/0.571, allocations: 357 kB / 1.115 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.571, allocations: 8 kB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.571, allocations: 3.984 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.571, allocations: 3.984 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002337/0.5713, allocations: 55.97 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.5713, allocations: 4 kB / 1.115 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5714, allocations: 13.47 kB / 1.115 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.512e-05/0.5715, allocations: 26.55 kB / 1.115 GB, free: 0.7266 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,product.u1,product.u2,product.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.177e-05/0.5716, allocations: 116.7 kB / 1.115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.706e-05/0.5716, allocations: 35.53 kB / 1.115 GB, free: 0.5703 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002968/0.5719, allocations: 178.2 kB / 1.116 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.5719, allocations: 0 / 1.116 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.5719, allocations: 0 / 1.116 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.572, allocations: 4 kB / 1.116 GB, free: 400 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002302/0.5722, allocations: 281.9 kB / 1.116 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5722, allocations: 0 / 1.116 GB, free: 80 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.832e-05/0.5723, allocations: 17.05 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.5723, allocations: 4 kB / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.5723, allocations: 0 / 1.116 GB, free: 60 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5723, allocations: 3.984 kB / 1.116 GB, free: 56 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.5723, allocations: 4 kB / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002858/0.5726, allocations: 184.6 kB / 1.116 GB, free: 15.85 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.341e-05/0.5727, allocations: 128.5 kB / 1.116 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.992e-05/0.5728, allocations: 7.984 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5729, allocations: 5.062 kB / 1.116 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.391e-05/0.573, allocations: 19.97 kB / 1.116 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.573, allocations: 4 kB / 1.116 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002823/0.5733, allocations: 304.5 kB / 1.116 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003018/0.5736, allocations: 63.94 kB / 1.117 GB, free: 15.31 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,product.u1,product.u2,product.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.0005814/0.5742, allocations: 328.3 kB / 1.117 GB, free: 15.1 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000279/0.5745, allocations: 187.8 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.5745, allocations: 1.688 kB / 1.117 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.5746, allocations: 64.11 kB / 1.117 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.575, allocations: 74.86 kB / 1.117 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007254/0.5757, allocations: 424.8 kB / 1.118 GB, free: 14.35 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004/0.5761, allocations: 0.8304 MB / 1.118 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of SimCode: time 2.81e-07/0.5761, allocations: 0 / 1.118 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of Templates: time 0.006929/0.5831, allocations: 3.624 MB / 1.122 GB, free: 9.949 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)