Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_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.1.4-maint.8.1.x/package.mo): time 1.339/1.339, allocations: 289.8 MB / 297.1 MB, free: 6.684 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.0008931/0.0008931, allocations: 181.3 kB / 366.3 MB, free: 1.996 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.044/1.044, allocations: 205.1 MB / 0.6256 GB, free: 5.832 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.0007898/0.0007897, allocations: 85.98 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.462e-06/6.553e-06, allocations: 0 / 0.859 GB, free: 13.38 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4549, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.6033, allocations: 141.8 MB / 1.111 GB, free: 6.711 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001978/0.6035, allocations: 76.69 kB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.02584/0.6294, allocations: 10.35 MB / 1.121 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.309e-05/0.6294, allocations: 12.75 kB / 1.121 GB, free: 12.31 MB / 0.7292 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.0006005/0.6301, allocations: 0.5249 MB / 1.122 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.6301, allocations: 8.031 kB / 1.122 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.364e-05/0.6302, allocations: 35.62 kB / 1.122 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000641/0.6308, allocations: 403.5 kB / 1.122 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.6309, allocations: 7.984 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.017e-05/0.6309, allocations: 4 kB / 1.122 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/0.631, allocations: 55.98 kB / 1.122 GB, free: 11.19 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.6312, allocations: 102.3 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.6312, allocations: 0 / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.6312, allocations: 3.984 kB / 1.122 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.6312, allocations: 11.91 kB / 1.122 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006147/0.6318, allocations: 473.2 kB / 1.123 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.632, allocations: 131.5 kB / 1.123 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.6321, allocations: 45.06 kB / 1.123 GB, free: 10.39 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.461e-05/0.6321, allocations: 7.938 kB / 1.123 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001359/0.6323, allocations: 97.08 kB / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 3.055e-06/0.6323, allocations: 0 / 1.123 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002796/0.6326, allocations: 162.9 kB / 1.123 GB, free: 10.11 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.6326, allocations: 51.41 kB / 1.123 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004793/0.6331, allocations: 465.9 kB / 1.124 GB, free: 9.582 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.6331, allocations: 26.36 kB / 1.124 GB, free: 9.551 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.744e-05/0.6332, allocations: 120.4 kB / 1.124 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.433e-05/0.6332, allocations: 39.55 kB / 1.124 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.491e-05/0.6333, allocations: 0 / 1.124 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001126/0.6334, allocations: 346.8 kB / 1.124 GB, free: 9.043 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.6335, allocations: 108.5 kB / 1.124 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.6337, allocations: 143.4 kB / 1.124 GB, free: 8.785 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003383/0.6341, allocations: 141.2 kB / 1.125 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6341, allocations: 0 / 1.125 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005951/0.6347, allocations: 365.5 kB / 1.125 GB, free: 8.285 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.6347, allocations: 4.938 kB / 1.125 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.6347, allocations: 0 / 1.125 GB, free: 8.281 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.032e-05/0.6347, allocations: 8.062 kB / 1.125 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.635, allocations: 55.91 kB / 1.125 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.635, allocations: 0 / 1.125 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.6351, allocations: 23.77 kB / 1.125 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.6352, allocations: 16 kB / 1.125 GB, free: 8.18 MB / 0.7292 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.359e-05/0.6353, allocations: 116.9 kB / 1.125 GB, free: 8.059 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.438e-05/0.6353, allocations: 35.53 kB / 1.125 GB, free: 8.023 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002806/0.6356, allocations: 175.8 kB / 1.125 GB, free: 7.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.6356, allocations: 4 kB / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.6356, allocations: 2.062 kB / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.6356, allocations: 0 / 1.125 GB, free: 7.844 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.6359, allocations: 285.9 kB / 1.126 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.6359, allocations: 3.938 kB / 1.126 GB, free: 7.523 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.574e-05/0.636, allocations: 15.98 kB / 1.126 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.636, allocations: 0 / 1.126 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.636, allocations: 4 kB / 1.126 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.636, allocations: 4 kB / 1.126 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.636, allocations: 0 / 1.126 GB, free: 7.5 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002639/0.6363, allocations: 189.5 kB / 1.126 GB, free: 7.297 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.676e-05/0.6364, allocations: 120.6 kB / 1.126 GB, free: 7.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.84e-05/0.6364, allocations: 4 kB / 1.126 GB, free: 7.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001075/0.6365, allocations: 7.984 kB / 1.126 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.233e-05/0.6366, allocations: 19.97 kB / 1.126 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.6366, allocations: 12 kB / 1.126 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000277/0.6369, allocations: 304.5 kB / 1.126 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002723/0.6372, allocations: 59.94 kB / 1.126 GB, free: 6.762 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.0006003/0.6378, allocations: 339.9 kB / 1.127 GB, free: 6.512 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.6381, allocations: 178.7 kB / 1.127 GB, free: 6.34 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.6381, allocations: 4.125 kB / 1.127 GB, free: 6.336 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.356e-05/0.6382, allocations: 63.92 kB / 1.127 GB, free: 6.273 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003654/0.6385, allocations: 76.55 kB / 1.127 GB, free: 6.203 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.6392, allocations: 420 kB / 1.127 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004021/0.6396, allocations: 0.8296 MB / 1.128 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of SimCode: time 2.41e-07/0.6396, allocations: 4 kB / 1.128 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of Templates: time 0.00669/0.6463, allocations: 3.618 MB / 1.132 GB, free: 1.32 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)