Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Product,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.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 8.0.0/package.mo): time 2.17/2.17, allocations: 284.9 MB / 292.2 MB, free: 10.74 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001523/0.001523, allocations: 193.2 kB / 360.4 MB, free: 7.484 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.631/1.631, allocations: 205.1 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001214/0.001214, allocations: 93.62 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.564e-05/1.572e-05, allocations: 4 kB / 0.8503 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5363, allocations: 115.2 MB / 0.9628 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.7431, allocations: 140.7 MB / 1.1 GB, free: 88 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.7434, allocations: 78.02 kB / 1.1 GB, free: 12 kB / 0.698 GB Notification: Performance of FrontEnd: time 0.0455/0.789, allocations: 10.35 MB / 1.11 GB, free: 5.781 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.58e-05/0.789, allocations: 7.75 kB / 1.11 GB, free: 5.777 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.0009282/0.79, allocations: 0.5405 MB / 1.111 GB, free: 5.191 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.022e-05/0.79, allocations: 8.031 kB / 1.111 GB, free: 5.184 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.7902, allocations: 31.62 kB / 1.111 GB, free: 5.152 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.7912, allocations: 407.5 kB / 1.111 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.7913, allocations: 4 kB / 1.111 GB, free: 4.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.438e-05/0.7913, allocations: 4 kB / 1.111 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002155/0.7915, allocations: 59.92 kB / 1.111 GB, free: 4.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002629/0.7918, allocations: 100.1 kB / 1.111 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.7918, allocations: 0 / 1.111 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.7919, allocations: 1.125 kB / 1.111 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.7919, allocations: 7.906 kB / 1.111 GB, free: 4.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001004/0.7929, allocations: 481.2 kB / 1.112 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.7932, allocations: 118.7 kB / 1.112 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001326/0.7934, allocations: 45.06 kB / 1.112 GB, free: 3.855 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.59e-05/0.7934, allocations: 11.92 kB / 1.112 GB, free: 3.844 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002131/0.7936, allocations: 101.1 kB / 1.112 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 2.184e-06/0.7937, allocations: 0 / 1.112 GB, free: 3.734 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0004689/0.7941, allocations: 157.1 kB / 1.112 GB, free: 3.574 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.91e-05/0.7942, allocations: 55.41 kB / 1.112 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008673/0.7951, allocations: 457.9 kB / 1.113 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/0.7951, allocations: 29.7 kB / 1.113 GB, free: 3.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.7952, allocations: 120.4 kB / 1.113 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.443e-05/0.7953, allocations: 43.55 kB / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.669e-05/0.7953, allocations: 0 / 1.113 GB, free: 2.852 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.7955, allocations: 342.8 kB / 1.113 GB, free: 2.508 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003272/0.7958, allocations: 112.5 kB / 1.113 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003316/0.7962, allocations: 139.4 kB / 1.114 GB, free: 2.25 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.7968, allocations: 144.7 kB / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.7969, allocations: 0 / 1.114 GB, free: 2.109 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001115/0.798, allocations: 361 kB / 1.114 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.798, allocations: 7.984 kB / 1.114 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.798, allocations: 0 / 1.114 GB, free: 1.742 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.7981, allocations: 4 kB / 1.114 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004418/0.7985, allocations: 55.89 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.7985, allocations: 1.5 kB / 1.114 GB, free: 1.684 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.7988, allocations: 19.91 kB / 1.114 GB, free: 1.664 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.7989, allocations: 21.8 kB / 1.114 GB, free: 1.645 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 0.0001199/0.799, allocations: 116.7 kB / 1.114 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.488e-05/0.7991, allocations: 31.53 kB / 1.114 GB, free: 1.492 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005267/0.7997, allocations: 174.7 kB / 1.114 GB, free: 1.32 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/0.7997, allocations: 4 kB / 1.114 GB, free: 1.316 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.7997, allocations: 4 kB / 1.114 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.7997, allocations: 0 / 1.114 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003952/0.8001, allocations: 289.9 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.8001, allocations: 1 kB / 1.115 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001547/0.8003, allocations: 15.98 kB / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.8003, allocations: 0 / 1.115 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.8003, allocations: 4 kB / 1.115 GB, free: 0.9727 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.8003, allocations: 3.984 kB / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.8004, allocations: 0 / 1.115 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004145/0.8008, allocations: 190 kB / 1.115 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/0.8009, allocations: 124.6 kB / 1.115 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/0.801, allocations: 11.92 kB / 1.115 GB, free: 0.6172 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001892/0.8012, allocations: 4 kB / 1.115 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.92e-05/0.8013, allocations: 15.97 kB / 1.115 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-05/0.8013, allocations: 8 kB / 1.115 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of sort global known variables: time 0.0005192/0.8019, allocations: 303.2 kB / 1.115 GB, free: 304 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004865/0.8024, allocations: 63.94 kB / 1.115 GB, free: 240 kB / 0.7136 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.0008904/0.8033, allocations: 322.4 kB / 1.116 GB, free: 44 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005338/0.8038, allocations: 191 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.8038, allocations: 0 / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001765/0.804, allocations: 60.92 kB / 1.116 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006906/0.8047, allocations: 80.2 kB / 1.116 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.806, allocations: 421.7 kB / 1.116 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005669/0.8066, allocations: 0.8264 MB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of SimCode: time 8.61e-07/0.8066, allocations: 4 kB / 1.117 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.01233/0.819, allocations: 3.627 MB / 1.121 GB, free: 10.89 MB / 0.7292 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)