Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_H,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.101/2.101, allocations: 284.9 MB / 292.2 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001568/0.001568, allocations: 177.3 kB / 360.4 MB, free: 7.5 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.587/1.587, allocations: 205.1 MB / 0.6188 GB, free: 12.41 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001203/0.001202, allocations: 86.56 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.356e-06/8.376e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5494/0.5494, allocations: 115.2 MB / 0.9628 GB, free: 78.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2016/0.751, allocations: 136.8 MB / 1.096 GB, free: 3.922 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002396/0.7513, allocations: 68.91 kB / 1.096 GB, free: 3.855 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004172/0.7555, allocations: 0.7755 MB / 1.097 GB, free: 3.113 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.264e-06/0.7555, allocations: 0.875 kB / 1.097 GB, free: 3.113 MB / 0.698 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.0004966/0.756, allocations: 352.7 kB / 1.098 GB, free: 2.727 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.7561, allocations: 9.156 kB / 1.098 GB, free: 2.719 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.7562, allocations: 7.906 kB / 1.098 GB, free: 2.711 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001665/0.7563, allocations: 173.6 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.7564, allocations: 1.375 kB / 1.098 GB, free: 2.504 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.7564, allocations: 8.625 kB / 1.098 GB, free: 2.496 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001062/0.7565, allocations: 23.98 kB / 1.098 GB, free: 2.473 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.7566, allocations: 50.38 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.7567, allocations: 0 / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.7567, allocations: 1.312 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.391e-06/0.7567, allocations: 0.5938 kB / 1.098 GB, free: 2.418 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.7572, allocations: 286.8 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001779/0.7574, allocations: 35.27 kB / 1.098 GB, free: 2.062 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.955e-05/0.7575, allocations: 16.92 kB / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.7575, allocations: 0 / 1.098 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/0.7576, allocations: 39.81 kB / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.522e-06/0.7576, allocations: 0 / 1.098 GB, free: 1.996 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0001969/0.7578, allocations: 49.55 kB / 1.098 GB, free: 1.941 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.231e-05/0.7578, allocations: 55.41 kB / 1.098 GB, free: 1.875 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001058/0.7579, allocations: 108.7 kB / 1.098 GB, free: 1.766 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.758, allocations: 25.7 kB / 1.098 GB, free: 1.734 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.228e-05/0.758, allocations: 100 kB / 1.099 GB, free: 1.633 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.7581, allocations: 3.906 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.7581, allocations: 1.5 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.7582, allocations: 318.8 kB / 1.099 GB, free: 1.309 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.59e-05/0.7583, allocations: 11.98 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.571e-05/0.7584, allocations: 29.66 kB / 1.099 GB, free: 1.262 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.509e-05/0.7584, allocations: 4 kB / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.7584, allocations: 0 / 1.099 GB, free: 1.258 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001451/0.7586, allocations: 66.08 kB / 1.099 GB, free: 1.188 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.7586, allocations: 4 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.7586, allocations: 0 / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.7586, allocations: 4 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.44e-05/0.7587, allocations: 9.922 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.7587, allocations: 0 / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/0.7589, allocations: 15.94 kB / 1.099 GB, free: 1.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.7589, allocations: 4 kB / 1.099 GB, free: 1.152 MB / 0.698 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 8.666e-05/0.759, allocations: 109.5 kB / 1.099 GB, free: 1.039 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.135e-05/0.7591, allocations: 11.89 kB / 1.099 GB, free: 1.027 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.7591, allocations: 9.969 kB / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.7591, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.7591, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.7591, allocations: 0 / 1.099 GB, free: 1.012 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001916/0.7593, allocations: 150.2 kB / 1.099 GB, free: 0.8281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.7594, allocations: 9.344 kB / 1.099 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.5e-05/0.7594, allocations: 4 kB / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.7595, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.458e-06/0.7595, allocations: 0 / 1.099 GB, free: 0.8164 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.07e-05/0.7595, allocations: 7.906 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.7595, allocations: 1.625 kB / 1.099 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001563/0.7597, allocations: 147.4 kB / 1.099 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.7597, allocations: 85.09 kB / 1.099 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.704e-05/0.7598, allocations: 7.906 kB / 1.099 GB, free: 0.5391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.7599, allocations: 6.469 kB / 1.099 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.061e-05/0.76, allocations: 11.98 kB / 1.1 GB, free: 0.5234 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.76, allocations: 3.984 kB / 1.1 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.762e-05/0.7601, allocations: 94.02 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002957/0.7604, allocations: 8 kB / 1.1 GB, free: 432 kB / 0.698 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 0.0001167/0.7605, allocations: 95.25 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001323/0.7607, allocations: 31.92 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.7607, allocations: 2.156 kB / 1.1 GB, free: 296 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 5.081e-05/0.7607, allocations: 17.3 kB / 1.1 GB, free: 280 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002217/0.761, allocations: 5.094 kB / 1.1 GB, free: 276 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.7613, allocations: 76.64 kB / 1.1 GB, free: 172 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003896/0.7617, allocations: 0.7032 MB / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of SimCode: time 6.92e-07/0.7617, allocations: 0 / 1.101 GB, free: 15.44 MB / 0.7136 GB Notification: Performance of Templates: time 0.003375/0.7651, allocations: 0.6102 MB / 1.101 GB, free: 14.86 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_H.pipe 2>&1)