Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.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: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T") [: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.311/1.311, allocations: 285.5 MB / 292.8 MB, free: 14.37 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 186.6 kB / 361.1 MB, free: 11.71 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.012/1.012, allocations: 205.1 MB / 0.6195 GB, free: 2.961 MB / 462.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007437/0.0007437, allocations: 89.02 kB / 0.7326 GB, free: 54.09 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 5.34e-06/5.36e-06, allocations: 0 / 0.8511 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1759, allocations: 115.3 MB / 0.9637 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3926/0.5685, allocations: 137 MB / 1.097 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001591/0.5687, allocations: 67.86 kB / 1.098 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of FrontEnd: time 0.002407/0.5712, allocations: 0.7734 MB / 1.098 GB, free: 13.42 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 6.021e-06/0.5712, allocations: 0 / 1.098 GB, free: 13.42 MB / 0.7012 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.0002547/0.5714, allocations: 357.3 kB / 1.099 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.5715, allocations: 9.281 kB / 1.099 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.582e-05/0.5715, allocations: 7.906 kB / 1.099 GB, free: 13.02 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.731e-05/0.5716, allocations: 171 kB / 1.099 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.5716, allocations: 0 / 1.099 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.5717, allocations: 8.656 kB / 1.099 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.538e-05/0.5717, allocations: 20 kB / 1.099 GB, free: 12.78 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.294e-05/0.5718, allocations: 46.23 kB / 1.099 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.5718, allocations: 1 kB / 1.099 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.5718, allocations: 3.938 kB / 1.099 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.5719, allocations: 6.344 kB / 1.099 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003178/0.5722, allocations: 279.5 kB / 1.099 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.5723, allocations: 35.83 kB / 1.099 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.643e-05/0.5724, allocations: 16.11 kB / 1.099 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.5724, allocations: 0 / 1.099 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.046e-05/0.5724, allocations: 38.5 kB / 1.099 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=3): time 8.71e-07/0.5724, allocations: 0 / 1.099 GB, free: 12.31 MB / 0.7012 GB Notification: Performance of matching and sorting (n=3): time 0.0001364/0.5725, allocations: 49.69 kB / 1.099 GB, free: 12.25 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.846e-05/0.5726, allocations: 55.41 kB / 1.099 GB, free: 12.19 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.192e-05/0.5726, allocations: 114.9 kB / 1.099 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.5726, allocations: 25.7 kB / 1.099 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 2.251e-05/0.5727, allocations: 88.05 kB / 1.1 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.5727, allocations: 11.89 kB / 1.1 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-06/0.5727, allocations: 0 / 1.1 GB, free: 11.94 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 3.385e-05/0.5727, allocations: 310.8 kB / 1.1 GB, free: 11.63 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.341e-05/0.5728, allocations: 16.72 kB / 1.1 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.137e-05/0.5728, allocations: 24.97 kB / 1.1 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.252e-05/0.5728, allocations: 14.23 kB / 1.1 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.5728, allocations: 0.75 kB / 1.1 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.943e-05/0.5729, allocations: 61.53 kB / 1.1 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.819e-06/0.5729, allocations: 4 kB / 1.1 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.573, allocations: 0.875 kB / 1.1 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.573, allocations: 0 / 1.1 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/0.573, allocations: 9.094 kB / 1.1 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.573, allocations: 1.797 kB / 1.1 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.157e-05/0.5731, allocations: 18.39 kB / 1.1 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.5731, allocations: 1.031 kB / 1.1 GB, free: 11.48 MB / 0.7012 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.shaT.hys.y,shaT.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 4.277e-05/0.5732, allocations: 112.4 kB / 1.1 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.624e-05/0.5732, allocations: 3.906 kB / 1.1 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.564e-05/0.5732, allocations: 8 kB / 1.1 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5732, allocations: 5.031 kB / 1.1 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.5733, allocations: 3.984 kB / 1.1 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.5733, allocations: 0 / 1.1 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.908e-05/0.5734, allocations: 154 kB / 1.1 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5734, allocations: 4.562 kB / 1.1 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.5734, allocations: 9.172 kB / 1.1 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.5734, allocations: 0 / 1.1 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.5734, allocations: 6 kB / 1.1 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.5734, allocations: 4.844 kB / 1.1 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.5735, allocations: 0 / 1.1 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 8.477e-05/0.5735, allocations: 151.8 kB / 1.1 GB, free: 10.98 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.5736, allocations: 77.11 kB / 1.101 GB, free: 10.89 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.5736, allocations: 7.906 kB / 1.101 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.401e-05/0.5737, allocations: 12.11 kB / 1.101 GB, free: 10.88 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.757e-05/0.5737, allocations: 7.984 kB / 1.101 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.569e-06/0.5737, allocations: 0 / 1.101 GB, free: 10.87 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.672e-05/0.5738, allocations: 92.25 kB / 1.101 GB, free: 10.78 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0002001/0.574, allocations: 8.625 kB / 1.101 GB, free: 10.77 MB / 0.7012 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 (shaT.hys.y) * Number of discrete states: 1 (shaT.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.291e-05/0.5741, allocations: 107.1 kB / 1.101 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.908e-05/0.5741, allocations: 27.94 kB / 1.101 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.542e-06/0.5742, allocations: 0 / 1.101 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-05/0.5742, allocations: 12 kB / 1.101 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.5744, allocations: 4.969 kB / 1.101 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.5746, allocations: 80.64 kB / 1.101 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001176/0.5747, allocations: 0.7025 MB / 1.102 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of SimCode: time 2.81e-07/0.5747, allocations: 3.844 kB / 1.102 GB, free: 9.785 MB / 0.7012 GB Notification: Performance of Templates: time 0.002015/0.5767, allocations: 0.625 MB / 1.102 GB, free: 9.195 MB / 0.7012 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)