Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.194/1.194, allocations: 249.4 MB / 256.7 MB, free: 15.82 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00121/0.00121, allocations: 187.9 kB / 316 MB, free: 7.191 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.309/1.309, allocations: 205.1 MB / 0.5667 GB, free: 23.63 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008007/0.0008007, allocations: 82.34 kB / 0.671 GB, free: 0.9297 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 0.1905/0.1914, allocations: 112.5 MB / 0.7808 GB, free: 332 kB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3696/0.561, allocations: 106.3 MB / 0.8847 GB, free: 76.23 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1431/0.7041, allocations: 134.5 MB / 1.016 GB, free: 5.551 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.7044, allocations: 83.94 kB / 1.016 GB, free: 5.469 MB / 0.6667 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.02743/0.7318, allocations: 10.64 MB / 1.026 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.7319, allocations: 12 kB / 1.026 GB, free: 10.76 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.2e-05/0.732, allocations: 31.53 kB / 1.027 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.7325, allocations: 375.7 kB / 1.027 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.7325, allocations: 4 kB / 1.027 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.014e-05/0.7326, allocations: 4 kB / 1.027 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/0.7327, allocations: 63.91 kB / 1.027 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001495/0.7329, allocations: 93.64 kB / 1.027 GB, free: 10.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.7329, allocations: 4 kB / 1.027 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.7329, allocations: 0 / 1.027 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.7329, allocations: 0 / 1.027 GB, free: 10.15 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006087/0.7335, allocations: 473.1 kB / 1.027 GB, free: 9.652 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001836/0.7337, allocations: 126.6 kB / 1.028 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.531e-05/0.7338, allocations: 56.77 kB / 1.028 GB, free: 9.461 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.566e-05/0.7338, allocations: 7.984 kB / 1.028 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00013/0.734, allocations: 98.09 kB / 1.028 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=13): time 1.453e-06/0.734, allocations: 0 / 1.028 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of matching and sorting (n=13): time 0.000274/0.7342, allocations: 145.2 kB / 1.028 GB, free: 9.199 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.704e-05/0.7343, allocations: 59.39 kB / 1.028 GB, free: 9.129 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004869/0.7348, allocations: 445.8 kB / 1.028 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.7348, allocations: 33.7 kB / 1.028 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.898e-05/0.7349, allocations: 116.5 kB / 1.029 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.213e-05/0.7349, allocations: 35.55 kB / 1.029 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.529e-05/0.7349, allocations: 0 / 1.029 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.735, allocations: 350.7 kB / 1.029 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001911/0.7352, allocations: 108.5 kB / 1.029 GB, free: 8.031 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.7354, allocations: 143.2 kB / 1.029 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.7356, allocations: 123.9 kB / 1.029 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.7356, allocations: 0 / 1.029 GB, free: 7.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004564/0.7361, allocations: 338.1 kB / 1.03 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.7361, allocations: 4 kB / 1.03 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7361, allocations: 224 / 1.03 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.7361, allocations: 4 kB / 1.03 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002292/0.7363, allocations: 55.84 kB / 1.03 GB, free: 7.363 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.7364, allocations: 3.906 kB / 1.03 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.7365, allocations: 12 kB / 1.03 GB, free: 7.348 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.873e-05/0.7366, allocations: 19.98 kB / 1.03 GB, free: 7.328 MB / 0.6823 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.694e-05/0.7367, allocations: 119.4 kB / 1.03 GB, free: 7.207 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.602e-05/0.7367, allocations: 31.62 kB / 1.03 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002913/0.737, allocations: 176.5 kB / 1.03 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.737, allocations: 0 / 1.03 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.737, allocations: 0 / 1.03 GB, free: 7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.737, allocations: 7.906 kB / 1.03 GB, free: 6.992 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.7373, allocations: 282 kB / 1.03 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.7373, allocations: 0 / 1.03 GB, free: 6.68 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.665e-05/0.7374, allocations: 15.98 kB / 1.03 GB, free: 6.664 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.7374, allocations: 3.906 kB / 1.03 GB, free: 6.66 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.7374, allocations: 8 kB / 1.03 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.7374, allocations: 0 / 1.03 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.674e-06/0.7374, allocations: 0 / 1.03 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002401/0.7377, allocations: 188.1 kB / 1.03 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003353/0.738, allocations: 0.5673 MB / 1.031 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.393e-05/0.7381, allocations: 116.6 kB / 1.031 GB, free: 5.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.85e-05/0.7382, allocations: 4 kB / 1.031 GB, free: 5.727 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.7383, allocations: 3.984 kB / 1.031 GB, free: 5.723 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.221e-05/0.7383, allocations: 27.97 kB / 1.031 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.269e-05/0.7384, allocations: 4 kB / 1.031 GB, free: 5.691 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0002776/0.7387, allocations: 288.6 kB / 1.031 GB, free: 5.414 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008308/0.7395, allocations: 79.77 kB / 1.032 GB, free: 5.336 MB / 0.6823 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.0005947/0.7401, allocations: 317.1 kB / 1.032 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0002704/0.7404, allocations: 183.8 kB / 1.032 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.7404, allocations: 4.125 kB / 1.032 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.7405, allocations: 71.42 kB / 1.032 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003839/0.7409, allocations: 71.48 kB / 1.032 GB, free: 4.785 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006793/0.7416, allocations: 416 kB / 1.033 GB, free: 4.348 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004087/0.742, allocations: 0.8296 MB / 1.033 GB, free: 3.488 MB / 0.6823 GB Notification: Performance of SimCode: time 2.51e-07/0.742, allocations: 0 / 1.033 GB, free: 3.488 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)