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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product",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 8.0.1-maint.8.0.x/package.mo): time 1.302/1.302, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.0009505/0.0009505, allocations: 189.2 kB / 361.1 MB, free: 7.094 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.011/1.011, allocations: 205.1 MB / 0.6195 GB, free: 10.31 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.0007543/0.0007543, allocations: 85.11 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.174/0.1748, allocations: 121.5 MB / 0.8512 GB, free: 2.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3925/0.5673, allocations: 115.3 MB / 0.9638 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1333/0.7006, allocations: 140.8 MB / 1.101 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.7008, allocations: 80.58 kB / 1.101 GB, free: 15.09 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.02676/0.7276, allocations: 10.89 MB / 1.112 GB, free: 4.281 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.7276, allocations: 12.5 kB / 1.112 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.099e-05/0.7277, allocations: 31.62 kB / 1.112 GB, free: 4.238 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006283/0.7283, allocations: 407.5 kB / 1.112 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.7283, allocations: 5.938 kB / 1.112 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.7284, allocations: 7.984 kB / 1.112 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001234/0.7285, allocations: 59.97 kB / 1.113 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.7287, allocations: 97.58 kB / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.7287, allocations: 0 / 1.113 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.7287, allocations: 4 kB / 1.113 GB, free: 3.621 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.964e-06/0.7287, allocations: 7.906 kB / 1.113 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006306/0.7293, allocations: 477.2 kB / 1.113 GB, free: 3.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001815/0.7295, allocations: 126.7 kB / 1.113 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.494e-05/0.7296, allocations: 41.08 kB / 1.113 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.7296, allocations: 7.938 kB / 1.113 GB, free: 2.926 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001256/0.7298, allocations: 97.08 kB / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=13): time 1.402e-06/0.7298, allocations: 0 / 1.113 GB, free: 2.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13): time 0.0002837/0.7301, allocations: 153.1 kB / 1.113 GB, free: 2.664 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.508e-05/0.7301, allocations: 59.41 kB / 1.114 GB, free: 2.594 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004864/0.7306, allocations: 457.9 kB / 1.114 GB, free: 2.137 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.7306, allocations: 29.7 kB / 1.114 GB, free: 2.102 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.745e-05/0.7307, allocations: 120.4 kB / 1.114 GB, free: 1.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.7307, allocations: 43.53 kB / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/0.7308, allocations: 0 / 1.114 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.7309, allocations: 342.8 kB / 1.114 GB, free: 1.594 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001649/0.7311, allocations: 116.5 kB / 1.115 GB, free: 1.477 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001714/0.7312, allocations: 140.5 kB / 1.115 GB, free: 1.332 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.7316, allocations: 148.6 kB / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.7316, allocations: 0 / 1.115 GB, free: 1.188 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006045/0.7322, allocations: 361 kB / 1.115 GB, free: 0.8281 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.7322, allocations: 4 kB / 1.115 GB, free: 0.8242 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.7322, allocations: 4.062 kB / 1.115 GB, free: 0.8203 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.143e-05/0.7323, allocations: 4 kB / 1.115 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.7325, allocations: 51.91 kB / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.7325, allocations: 0 / 1.115 GB, free: 0.7656 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001397/0.7326, allocations: 19.78 kB / 1.115 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.538e-05/0.7327, allocations: 15.98 kB / 1.115 GB, free: 0.7305 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.582e-05/0.7328, allocations: 119 kB / 1.115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.463e-05/0.7328, allocations: 35.28 kB / 1.115 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002838/0.7331, allocations: 178.6 kB / 1.116 GB, free: 412 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/0.7331, allocations: 4 kB / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.7331, allocations: 0 / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.7332, allocations: 0 / 1.116 GB, free: 408 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002336/0.7334, allocations: 281.9 kB / 1.116 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.7334, allocations: 4 kB / 1.116 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.7335, allocations: 19.92 kB / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.7335, allocations: 0 / 1.116 GB, free: 64 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.7335, allocations: 11.98 kB / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.7335, allocations: 0 / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7335, allocations: 0 / 1.116 GB, free: 52 kB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002596/0.7338, allocations: 183.2 kB / 1.116 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003522/0.7342, allocations: 0.5689 MB / 1.117 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.734e-05/0.7343, allocations: 124.6 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.013e-05/0.7343, allocations: 7.984 kB / 1.117 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.7344, allocations: 4 kB / 1.117 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.6e-05/0.7345, allocations: 19.97 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.7345, allocations: 4 kB / 1.117 GB, free: 15.09 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.000299/0.7348, allocations: 300.5 kB / 1.117 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008365/0.7357, allocations: 75.84 kB / 1.117 GB, free: 14.72 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.0005862/0.7363, allocations: 334.9 kB / 1.117 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002778/0.7366, allocations: 187.8 kB / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.353e-06/0.7366, allocations: 0 / 1.118 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.7367, allocations: 64.58 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003653/0.737, allocations: 71.72 kB / 1.118 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007156/0.7378, allocations: 426 kB / 1.118 GB, free: 13.76 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004301/0.7382, allocations: 0.8265 MB / 1.119 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of SimCode: time 2.6e-07/0.7382, allocations: 0 / 1.119 GB, free: 12.91 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)