Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.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.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H") [: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.327/1.327, allocations: 289.8 MB / 297.1 MB, free: 6.652 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.000932/0.000932, allocations: 173.3 kB / 366.3 MB, free: 1.953 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.032/1.032, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.0008052/0.0008054, allocations: 81.95 kB / 0.7395 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.484e-06, allocations: 4 kB / 0.859 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3865/0.3865, allocations: 116.3 MB / 0.9726 GB, free: 68.73 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.5142, allocations: 138 MB / 1.107 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001789/0.5144, allocations: 71.89 kB / 1.107 GB, free: 10.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 0.002512/0.5169, allocations: 0.7806 MB / 1.108 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.517, allocations: 0 / 1.108 GB, free: 9.711 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003068/0.5173, allocations: 350.3 kB / 1.108 GB, free: 9.324 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.5173, allocations: 8.031 kB / 1.108 GB, free: 9.316 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.5173, allocations: 11.91 kB / 1.108 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.5175, allocations: 173.2 kB / 1.109 GB, free: 9.098 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.5175, allocations: 7.938 kB / 1.109 GB, free: 9.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5175, allocations: 3.906 kB / 1.109 GB, free: 9.086 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.114e-05/0.5176, allocations: 20 kB / 1.109 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.909e-05/0.5177, allocations: 46.94 kB / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.47e-06/0.5177, allocations: 0 / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.5177, allocations: 0 / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.5177, allocations: 0.9375 kB / 1.109 GB, free: 9.016 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003622/0.5181, allocations: 281.3 kB / 1.109 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.5182, allocations: 38.61 kB / 1.109 GB, free: 8.656 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.881e-05/0.5182, allocations: 16.91 kB / 1.109 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.368e-05/0.5183, allocations: 12.06 kB / 1.109 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.5183, allocations: 30.56 kB / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.81e-07/0.5183, allocations: 0 / 1.109 GB, free: 8.586 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001331/0.5184, allocations: 49.64 kB / 1.109 GB, free: 8.531 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.679e-05/0.5185, allocations: 51.41 kB / 1.109 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.691e-05/0.5185, allocations: 108.9 kB / 1.109 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.5186, allocations: 26.55 kB / 1.109 GB, free: 8.324 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5186, allocations: 96.03 kB / 1.109 GB, free: 8.227 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.5186, allocations: 7.906 kB / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-06/0.5186, allocations: 0 / 1.109 GB, free: 8.219 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.5187, allocations: 322.8 kB / 1.11 GB, free: 7.895 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.5188, allocations: 11.94 kB / 1.11 GB, free: 7.883 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.5188, allocations: 25.7 kB / 1.11 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.154e-05/0.5188, allocations: 8 kB / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.5188, allocations: 0 / 1.11 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.238e-05/0.5189, allocations: 59.28 kB / 1.11 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.056e-06/0.5189, allocations: 8.031 kB / 1.11 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.519, allocations: 4 kB / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.519, allocations: 0 / 1.11 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.69e-05/0.519, allocations: 7.984 kB / 1.11 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.71e-06/0.519, allocations: 3.938 kB / 1.11 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.283e-05/0.5191, allocations: 15.92 kB / 1.11 GB, free: 7.742 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5191, allocations: 8 kB / 1.11 GB, free: 7.734 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.shaH.hys.y,shaH.hys.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.406e-05/0.5192, allocations: 104.9 kB / 1.11 GB, free: 7.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.5192, allocations: 7.906 kB / 1.11 GB, free: 7.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.515e-05/0.5192, allocations: 8 kB / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.5193, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.5193, allocations: 0 / 1.11 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.5193, allocations: 4 kB / 1.11 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000136/0.5194, allocations: 150.2 kB / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5194, allocations: 0 / 1.11 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.464e-05/0.5195, allocations: 8 kB / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.5195, allocations: 0 / 1.11 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.5195, allocations: 4.656 kB / 1.11 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.5195, allocations: 7.906 kB / 1.11 GB, free: 7.395 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.5195, allocations: 3.984 kB / 1.11 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001212/0.5196, allocations: 143.5 kB / 1.11 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.222e-05/0.5197, allocations: 85.05 kB / 1.11 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.5197, allocations: 7.906 kB / 1.11 GB, free: 7.125 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.314e-05/0.5198, allocations: 10.47 kB / 1.11 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.578e-05/0.5198, allocations: 8.625 kB / 1.11 GB, free: 7.109 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.5198, allocations: 4 kB / 1.11 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.955e-05/0.5199, allocations: 93.58 kB / 1.11 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002026/0.5201, allocations: 8 kB / 1.111 GB, free: 7.008 MB / 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: 1 (shaH.hys.y) * Number of discrete states: 1 (shaH.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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 Backend phase and start with SimCode phase: time 7.929e-05/0.5202, allocations: 103.2 kB / 1.111 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.033e-05/0.5203, allocations: 23.98 kB / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-06/0.5203, allocations: 0 / 1.111 GB, free: 6.875 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.626e-05/0.5203, allocations: 12.56 kB / 1.111 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000151/0.5205, allocations: 4 kB / 1.111 GB, free: 6.859 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002267/0.5207, allocations: 84.78 kB / 1.111 GB, free: 6.75 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.521, allocations: 0.7032 MB / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.521, allocations: 0 / 1.111 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of Templates: time 0.002084/0.5231, allocations: 0.61 MB / 1.112 GB, free: 5.441 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)