Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.Shade.Validation.Shade_T.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.Shade.Validation.Shade_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.5/2.5, allocations: 253.1 MB / 260.4 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001645/0.001645, allocations: 189.2 kB / 319.6 MB, free: 3.32 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.5704 GB, free: 15.08 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001721/0.00172, allocations: 90.39 kB / 0.6746 GB, free: 4.445 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.697e-06/8.956e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2117/0.2118, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6453/0.8572, allocations: 131.8 MB / 1.017 GB, free: 6.621 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.8575, allocations: 68.52 kB / 1.017 GB, free: 6.586 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.004576/0.8621, allocations: 0.7945 MB / 1.018 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.8621, allocations: 4 kB / 1.018 GB, free: 5.914 MB / 0.6355 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.8627, allocations: 353.9 kB / 1.018 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.8627, allocations: 12.03 kB / 1.018 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.755e-05/0.8628, allocations: 3.906 kB / 1.018 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.863, allocations: 186.8 kB / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.863, allocations: 0 / 1.018 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.394e-05/0.8631, allocations: 4 kB / 1.018 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001125/0.8632, allocations: 18.8 kB / 1.018 GB, free: 5.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001303/0.8633, allocations: 48.56 kB / 1.018 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.8634, allocations: 0 / 1.018 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.8634, allocations: 4 kB / 1.018 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.035e-06/0.8634, allocations: 0 / 1.018 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005839/0.864, allocations: 287.8 kB / 1.018 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.8642, allocations: 37.14 kB / 1.018 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.057e-05/0.8643, allocations: 16.61 kB / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.8643, allocations: 0 / 1.018 GB, free: 4.879 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.8643, allocations: 30.56 kB / 1.019 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.572e-06/0.8644, allocations: 0 / 1.019 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002317/0.8646, allocations: 56.42 kB / 1.019 GB, free: 4.785 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.047e-05/0.8647, allocations: 51.41 kB / 1.019 GB, free: 4.723 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.8648, allocations: 118.9 kB / 1.019 GB, free: 4.605 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.939e-05/0.8648, allocations: 28.95 kB / 1.019 GB, free: 4.574 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.8649, allocations: 84.12 kB / 1.019 GB, free: 4.488 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.865, allocations: 11.28 kB / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.865, allocations: 0 / 1.019 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001632/0.8652, allocations: 314.8 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.434e-05/0.8652, allocations: 14.69 kB / 1.019 GB, free: 4.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.317e-05/0.8653, allocations: 28.39 kB / 1.019 GB, free: 4.129 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.664e-05/0.8653, allocations: 4.844 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.8653, allocations: 0 / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001428/0.8655, allocations: 60.75 kB / 1.019 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.8655, allocations: 6.5 kB / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.8655, allocations: 0 / 1.019 GB, free: 4.062 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.8656, allocations: 3.906 kB / 1.019 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/0.8657, allocations: 4 kB / 1.019 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.8657, allocations: 7.938 kB / 1.019 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000123/0.8658, allocations: 23.52 kB / 1.019 GB, free: 4.023 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.8659, allocations: 3.938 kB / 1.019 GB, free: 4.02 MB / 0.6355 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 8.918e-05/0.866, allocations: 105 kB / 1.019 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.873e-05/0.866, allocations: 3.906 kB / 1.019 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.722e-05/0.8661, allocations: 11.98 kB / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.8661, allocations: 0 / 1.019 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8661, allocations: 4 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.8661, allocations: 0 / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002148/0.8663, allocations: 152.8 kB / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.8663, allocations: 0 / 1.02 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.037e-05/0.8664, allocations: 11.98 kB / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.8665, allocations: 0 / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.8665, allocations: 0 / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.8665, allocations: 0 / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.8665, allocations: 0 / 1.02 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001825/0.8667, allocations: 154.5 kB / 1.02 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.719e-05/0.8668, allocations: 81.02 kB / 1.02 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.952e-05/0.8668, allocations: 3.984 kB / 1.02 GB, free: 3.438 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001388/0.8669, allocations: 8 kB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.913e-05/0.867, allocations: 11.42 kB / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.8671, allocations: 0 / 1.02 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.721e-05/0.8672, allocations: 94.83 kB / 1.02 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003076/0.8675, allocations: 8 kB / 1.02 GB, free: 3.324 MB / 0.6355 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.0001476/0.8676, allocations: 97.69 kB / 1.02 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001439/0.8678, allocations: 22.56 kB / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.8678, allocations: 0 / 1.02 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.911e-05/0.8679, allocations: 15.67 kB / 1.02 GB, free: 3.199 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.8682, allocations: 11.84 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003759/0.8685, allocations: 90.62 kB / 1.02 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004897/0.869, allocations: 0.6993 MB / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of SimCode: time 1.202e-06/0.8691, allocations: 0 / 1.021 GB, free: 2.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.003796/0.8729, allocations: 0.6232 MB / 1.021 GB, free: 1.754 MB / 0.6355 GB