Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.422/2.422, allocations: 253.1 MB / 260.4 MB, free: 7.477 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001774/0.001773, allocations: 177.3 kB / 319.6 MB, free: 3.316 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.302/2.302, allocations: 205.4 MB / 0.5704 GB, free: 15.11 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 89.95 kB / 0.6746 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.297e-05/1.31e-05, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.2605, allocations: 106.3 MB / 0.8881 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7757/1.036, allocations: 135.3 MB / 1.02 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004624/1.037, allocations: 77.2 kB / 1.02 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0597/1.096, allocations: 10.11 MB / 1.03 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.956e-05/1.097, allocations: 4 kB / 1.03 GB, free: 10.59 MB / 0.6511 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.001021/1.098, allocations: 0.5188 MB / 1.031 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.035e-05/1.098, allocations: 8.031 kB / 1.031 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001173/1.098, allocations: 39.53 kB / 1.031 GB, free: 10 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/1.099, allocations: 378.5 kB / 1.031 GB, free: 9.633 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.095e-05/1.099, allocations: 7.906 kB / 1.031 GB, free: 9.625 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.292e-05/1.099, allocations: 4 kB / 1.031 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002291/1.099, allocations: 59.66 kB / 1.031 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002575/1.099, allocations: 97.02 kB / 1.031 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/1.099, allocations: 3.984 kB / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/1.1, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.338e-06/1.1, allocations: 7.938 kB / 1.031 GB, free: 9.488 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001088/1.101, allocations: 470.4 kB / 1.032 GB, free: 9.066 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003326/1.101, allocations: 122.8 kB / 1.032 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/1.101, allocations: 51 kB / 1.032 GB, free: 8.93 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/1.101, allocations: 7.281 kB / 1.032 GB, free: 8.926 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002363/1.101, allocations: 102.6 kB / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=13): time 2.905e-06/1.101, allocations: 0 / 1.032 GB, free: 8.832 MB / 0.6511 GB Notification: Performance of matching and sorting (n=13): time 0.0005519/1.102, allocations: 146 kB / 1.032 GB, free: 8.707 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.478e-05/1.102, allocations: 55.34 kB / 1.032 GB, free: 8.641 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009133/1.103, allocations: 447.7 kB / 1.033 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.435e-05/1.103, allocations: 37.12 kB / 1.033 GB, free: 8.25 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001574/1.103, allocations: 116.9 kB / 1.033 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 6.47e-05/1.103, allocations: 38.36 kB / 1.033 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.791e-05/1.103, allocations: 0 / 1.033 GB, free: 8.109 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001944/1.104, allocations: 350.7 kB / 1.033 GB, free: 7.77 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/1.104, allocations: 108.9 kB / 1.033 GB, free: 7.699 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003261/1.104, allocations: 139.2 kB / 1.033 GB, free: 7.594 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000346/1.105, allocations: 121.2 kB / 1.033 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/1.105, allocations: 0 / 1.033 GB, free: 7.512 MB / 0.6511 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000893/1.105, allocations: 335.4 kB / 1.034 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.106, allocations: 8 kB / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.456e-06/1.106, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/1.106, allocations: 0 / 1.034 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005004/1.106, allocations: 51.91 kB / 1.034 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/1.106, allocations: 8 kB / 1.034 GB, free: 7.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002961/1.106, allocations: 15.91 kB / 1.034 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/1.106, allocations: 19.36 kB / 1.034 GB, free: 7.152 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,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 0.0001511/1.107, allocations: 116.6 kB / 1.034 GB, free: 7.035 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.345e-05/1.107, allocations: 31.62 kB / 1.034 GB, free: 7.004 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005687/1.107, allocations: 164 kB / 1.034 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.063e-05/1.107, allocations: 4 kB / 1.034 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/1.107, allocations: 4 kB / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.107, allocations: 0 / 1.034 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004225/1.108, allocations: 280.6 kB / 1.034 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/1.108, allocations: 0 / 1.034 GB, free: 6.598 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/1.108, allocations: 23.92 kB / 1.034 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/1.108, allocations: 0 / 1.034 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.126e-05/1.108, allocations: 3.438 kB / 1.034 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/1.108, allocations: 7.906 kB / 1.034 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.108, allocations: 0 / 1.034 GB, free: 6.566 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000456/1.109, allocations: 185.2 kB / 1.035 GB, free: 6.398 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001612/1.109, allocations: 123.8 kB / 1.035 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.952e-05/1.109, allocations: 3.062 kB / 1.035 GB, free: 6.262 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/1.109, allocations: 11.92 kB / 1.035 GB, free: 6.25 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.404e-05/1.109, allocations: 18.98 kB / 1.035 GB, free: 6.234 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/1.109, allocations: 11.48 kB / 1.035 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005403/1.11, allocations: 282.2 kB / 1.035 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00054/1.11, allocations: 63.48 kB / 1.035 GB, free: 5.953 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,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.000984/1.111, allocations: 321 kB / 1.035 GB, free: 5.723 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0005539/1.112, allocations: 184.2 kB / 1.036 GB, free: 5.594 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.042e-06/1.112, allocations: 4 kB / 1.036 GB, free: 5.59 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/1.112, allocations: 65.03 kB / 1.036 GB, free: 5.543 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007533/1.113, allocations: 81.25 kB / 1.036 GB, free: 5.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/1.114, allocations: 418.7 kB / 1.036 GB, free: 5.094 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007093/1.115, allocations: 0.8281 MB / 1.037 GB, free: 4.25 MB / 0.6511 GB Notification: Performance of SimCode: time 1.253e-06/1.115, allocations: 7.938 kB / 1.037 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of Templates: time 0.01253/1.128, allocations: 3.441 MB / 1.04 GB, free: 0.8398 MB / 0.6511 GB