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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Product,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.408/1.408, allocations: 289.8 MB / 297.1 MB, free: 6.633 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.0009566/0.0009566, allocations: 177.2 kB / 366.3 MB, free: 2.004 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.086/1.086, allocations: 205.1 MB / 0.6256 GB, free: 5.84 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.0007804/0.0007806, allocations: 87.48 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2032/0.204, allocations: 122.4 MB / 0.8591 GB, free: 13.26 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.6525, allocations: 116.3 MB / 0.9727 GB, free: 68.52 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1441/0.7967, allocations: 141.8 MB / 1.111 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002019/0.7969, allocations: 79.94 kB / 1.111 GB, free: 6.559 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.02725/0.8242, allocations: 10.89 MB / 1.122 GB, free: 11.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.8242, allocations: 12 kB / 1.122 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.386e-05/0.8243, allocations: 27.62 kB / 1.122 GB, free: 11.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006878/0.825, allocations: 399.5 kB / 1.122 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.825, allocations: 8.844 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.8251, allocations: 4 kB / 1.122 GB, free: 11.16 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001304/0.8252, allocations: 63.91 kB / 1.122 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.8254, allocations: 93.64 kB / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.782e-06/0.8254, allocations: 0 / 1.122 GB, free: 11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.8254, allocations: 4 kB / 1.122 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.8254, allocations: 3.906 kB / 1.122 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006671/0.8261, allocations: 489.2 kB / 1.123 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.8263, allocations: 119.8 kB / 1.123 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.318e-05/0.8264, allocations: 49.06 kB / 1.123 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.8264, allocations: 3.938 kB / 1.123 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001338/0.8265, allocations: 97.09 kB / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=13): time 1.583e-06/0.8265, allocations: 0 / 1.123 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of matching and sorting (n=13): time 0.0002966/0.8268, allocations: 161.1 kB / 1.123 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.8269, allocations: 55.39 kB / 1.123 GB, free: 9.957 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.8274, allocations: 453.9 kB / 1.124 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.8274, allocations: 29.7 kB / 1.124 GB, free: 9.469 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.221e-05/0.8275, allocations: 125.2 kB / 1.124 GB, free: 9.344 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.597e-05/0.8275, allocations: 39.55 kB / 1.124 GB, free: 9.305 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.681e-05/0.8275, allocations: 4 kB / 1.124 GB, free: 9.301 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.8276, allocations: 342.8 kB / 1.124 GB, free: 8.957 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001579/0.8278, allocations: 112.5 kB / 1.124 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001658/0.828, allocations: 135.4 kB / 1.125 GB, free: 8.703 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003518/0.8283, allocations: 147.9 kB / 1.125 GB, free: 8.559 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.8284, allocations: 4 kB / 1.125 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006167/0.829, allocations: 361.5 kB / 1.125 GB, free: 8.195 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.829, allocations: 7.469 kB / 1.125 GB, free: 8.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.829, allocations: 4 kB / 1.125 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.829, allocations: 0 / 1.125 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002307/0.8293, allocations: 51.91 kB / 1.125 GB, free: 8.137 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.8293, allocations: 4 kB / 1.125 GB, free: 8.133 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000153/0.8294, allocations: 19.84 kB / 1.125 GB, free: 8.113 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.8295, allocations: 19.98 kB / 1.125 GB, free: 8.094 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.05e-05/0.8296, allocations: 118.2 kB / 1.125 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.913e-05/0.8296, allocations: 35.53 kB / 1.125 GB, free: 7.938 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002984/0.8299, allocations: 179.4 kB / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.8299, allocations: 0 / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.83, allocations: 0 / 1.125 GB, free: 7.758 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.83, allocations: 4 kB / 1.125 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.8302, allocations: 293.9 kB / 1.126 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.8302, allocations: 0 / 1.126 GB, free: 7.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-05/0.8303, allocations: 12 kB / 1.126 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.8303, allocations: 0 / 1.126 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.746e-05/0.8303, allocations: 7.984 kB / 1.126 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.8303, allocations: 0 / 1.126 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.8304, allocations: 0 / 1.126 GB, free: 7.41 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002446/0.8306, allocations: 191.6 kB / 1.126 GB, free: 7.207 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0003276/0.8309, allocations: 0.5679 MB / 1.126 GB, free: 6.617 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.8311, allocations: 120.6 kB / 1.127 GB, free: 6.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.19e-05/0.8311, allocations: 4 kB / 1.127 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.8312, allocations: 4 kB / 1.127 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/0.8313, allocations: 19.97 kB / 1.127 GB, free: 6.453 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.444e-05/0.8313, allocations: 8 kB / 1.127 GB, free: 6.445 MB / 0.7292 GB Notification: Performance of sort global known variables: time 0.0002933/0.8316, allocations: 300.5 kB / 1.127 GB, free: 6.152 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0009014/0.8325, allocations: 81.61 kB / 1.127 GB, free: 6.074 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.0006844/0.8332, allocations: 322.2 kB / 1.127 GB, free: 5.844 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003372/0.8336, allocations: 190.6 kB / 1.128 GB, free: 5.66 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8336, allocations: 4.125 kB / 1.128 GB, free: 5.656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000121/0.8337, allocations: 63.92 kB / 1.128 GB, free: 5.594 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.8341, allocations: 77.12 kB / 1.128 GB, free: 5.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008813/0.835, allocations: 420.1 kB / 1.128 GB, free: 5.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005483/0.8356, allocations: 0.8335 MB / 1.129 GB, free: 4.223 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8356, allocations: 0 / 1.129 GB, free: 4.223 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Validation_Product.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Validation.Product.pipe 2>&1)