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_T.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_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.126/2.126, allocations: 284.9 MB / 292.2 MB, free: 10.77 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.001508/0.001507, allocations: 177.2 kB / 360.4 MB, free: 7.52 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.628/1.628, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001232/0.001232, allocations: 90.69 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.015e-05/1.018e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/0.5505, allocations: 115.2 MB / 0.9628 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2002/0.7508, allocations: 136.8 MB / 1.096 GB, free: 3.961 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/0.7511, allocations: 67.95 kB / 1.096 GB, free: 3.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 0.004106/0.7552, allocations: 0.7841 MB / 1.097 GB, free: 3.145 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.313e-06/0.7552, allocations: 3.75 kB / 1.097 GB, free: 3.145 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.000509/0.7557, allocations: 353.6 kB / 1.098 GB, free: 2.758 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.7558, allocations: 8.531 kB / 1.098 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.7558, allocations: 9.359 kB / 1.098 GB, free: 2.742 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.756, allocations: 171.5 kB / 1.098 GB, free: 2.535 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.421e-05/0.7561, allocations: 4 kB / 1.098 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.7561, allocations: 4.5 kB / 1.098 GB, free: 2.527 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001021/0.7562, allocations: 20.66 kB / 1.098 GB, free: 2.508 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001237/0.7563, allocations: 53.06 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7564, allocations: 0 / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.316e-05/0.7564, allocations: 0 / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.7564, allocations: 3.031 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005399/0.757, allocations: 280.4 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.7572, allocations: 35.89 kB / 1.098 GB, free: 2.102 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.729e-05/0.7572, allocations: 16.84 kB / 1.098 GB, free: 2.082 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7573, allocations: 12 kB / 1.098 GB, free: 2.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.446e-05/0.7573, allocations: 30.56 kB / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.7573, allocations: 0 / 1.098 GB, free: 2.031 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0002102/0.7575, allocations: 50.2 kB / 1.098 GB, free: 1.977 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.7576, allocations: 51.41 kB / 1.098 GB, free: 1.914 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.7577, allocations: 108.7 kB / 1.098 GB, free: 1.805 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.431e-05/0.7577, allocations: 25.7 kB / 1.098 GB, free: 1.773 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.478e-05/0.7578, allocations: 100.1 kB / 1.099 GB, free: 1.672 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.7579, allocations: 7.891 kB / 1.099 GB, free: 1.664 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.7579, allocations: 4 kB / 1.099 GB, free: 1.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.758, allocations: 318.8 kB / 1.099 GB, free: 1.34 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.38e-05/0.7581, allocations: 8 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.993e-05/0.7582, allocations: 25.66 kB / 1.099 GB, free: 1.301 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.7582, allocations: 12.69 kB / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.7582, allocations: 0 / 1.099 GB, free: 1.289 MB / 0.698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.7584, allocations: 61.62 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.7584, allocations: 8 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.7584, allocations: 0 / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.7584, allocations: 0 / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.135e-05/0.7585, allocations: 9.109 kB / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.7585, allocations: 0 / 1.099 GB, free: 1.207 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001232/0.7587, allocations: 23.92 kB / 1.099 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-06/0.7587, allocations: 0 / 1.099 GB, free: 1.184 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.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 9.234e-05/0.7588, allocations: 108.7 kB / 1.099 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.974e-05/0.7589, allocations: 7.906 kB / 1.099 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.862e-05/0.7589, allocations: 10.81 kB / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.7589, allocations: 0 / 1.099 GB, free: 1.047 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7589, allocations: 4 kB / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7589, allocations: 0 / 1.099 GB, free: 1.043 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.7592, allocations: 152.6 kB / 1.099 GB, free: 0.8594 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.7592, allocations: 4 kB / 1.099 GB, free: 0.8555 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.407e-05/0.7593, allocations: 7.938 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.7593, allocations: 0.7969 kB / 1.099 GB, free: 0.8477 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.7593, allocations: 4 kB / 1.099 GB, free: 0.8438 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.7593, allocations: 3.906 kB / 1.099 GB, free: 0.8398 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/0.7593, allocations: 3.984 kB / 1.099 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001622/0.7595, allocations: 143.5 kB / 1.099 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.992e-05/0.7596, allocations: 85.11 kB / 1.099 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.673e-05/0.7596, allocations: 3.906 kB / 1.099 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.7597, allocations: 10.47 kB / 1.1 GB, free: 0.5664 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.7598, allocations: 8.484 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.653e-06/0.7598, allocations: 4 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.074e-05/0.7599, allocations: 91.28 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003008/0.7602, allocations: 8 kB / 1.1 GB, free: 468 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 (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 0.0001649/0.7604, allocations: 95.25 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000136/0.7605, allocations: 35.86 kB / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.7606, allocations: 0 / 1.1 GB, free: 328 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.84e-05/0.7606, allocations: 12 kB / 1.1 GB, free: 316 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002287/0.7609, allocations: 4.938 kB / 1.1 GB, free: 312 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.7612, allocations: 81.38 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003906/0.7616, allocations: 0.7032 MB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of SimCode: time 2.765e-06/0.7616, allocations: 0 / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of Templates: time 0.003344/0.765, allocations: 0.614 MB / 1.101 GB, free: 14.89 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.pipe 2>&1)