Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade.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.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Validation.HeatCapacityConstantShade") [: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.119/2.119, allocations: 253.1 MB / 260.4 MB, free: 7.547 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.001639/0.001638, allocations: 177.3 kB / 319.6 MB, free: 3.312 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 1.895/1.895, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001253/0.001253, allocations: 89.88 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.148e-05/1.167e-05, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2522/0.2522, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6935/0.9458, allocations: 135.5 MB / 1.02 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003964/0.9462, allocations: 77.83 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.03936/0.9856, allocations: 6.548 MB / 1.027 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.047e-05/0.9857, allocations: 8 kB / 1.027 GB, free: 13.5 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.001338/0.9871, allocations: 0.5391 MB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.56e-05/0.9871, allocations: 8.031 kB / 1.027 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000176/0.9873, allocations: 55.31 kB / 1.027 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009329/0.9883, allocations: 311.3 kB / 1.028 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.043e-05/0.9884, allocations: 12 kB / 1.028 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.9885, allocations: 20 kB / 1.028 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008081/0.9893, allocations: 166 kB / 1.028 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009868/0.9903, allocations: 295.5 kB / 1.028 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.661e-05/0.9904, allocations: 11.89 kB / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.789e-05/0.9904, allocations: 0 / 1.028 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.162e-05/0.9905, allocations: 8 kB / 1.028 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/0.9936, allocations: 1.42 MB / 1.03 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007887/0.9944, allocations: 254.8 kB / 1.03 GB, free: 10.55 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003227/0.9948, allocations: 99.69 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.978e-05/0.9948, allocations: 4 kB / 1.03 GB, free: 10.47 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.9949, allocations: 42 kB / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 4.428e-06/0.9949, allocations: 0 / 1.03 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.000908/0.9958, allocations: 195 kB / 1.03 GB, free: 10.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.996, allocations: 140 kB / 1.03 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003455/0.9963, allocations: 166.7 kB / 1.03 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.388e-05/0.9964, allocations: 29.7 kB / 1.031 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001671/0.9966, allocations: 176.5 kB / 1.031 GB, free: 9.754 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001498/0.9967, allocations: 116.3 kB / 1.031 GB, free: 9.652 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.055e-05/0.9968, allocations: 3.938 kB / 1.031 GB, free: 9.648 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002015/0.997, allocations: 337.5 kB / 1.031 GB, free: 9.32 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002905/0.9973, allocations: 59.69 kB / 1.031 GB, free: 9.281 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003546/0.9976, allocations: 134.3 kB / 1.031 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003489/0.998, allocations: 86.58 kB / 1.031 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.998, allocations: 0 / 1.031 GB, free: 9.094 MB / 0.6511 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0009079/0.999, allocations: 249 kB / 1.032 GB, free: 8.891 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.999, allocations: 12.06 kB / 1.032 GB, free: 8.879 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.999, allocations: 4 kB / 1.032 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.827e-05/0.9991, allocations: 4 kB / 1.032 GB, free: 8.871 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008779/1, allocations: 94.95 kB / 1.032 GB, free: 8.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.455e-05/1, allocations: 4 kB / 1.032 GB, free: 8.777 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/1, allocations: 27.69 kB / 1.032 GB, free: 8.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.283e-05/1.001, allocations: 15.44 kB / 1.032 GB, free: 8.738 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 45 * 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 0.0001512/1.001, allocations: 108.9 kB / 1.032 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000236/1.001, allocations: 23.72 kB / 1.032 GB, free: 8.602 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000162/1.001, allocations: 34.08 kB / 1.032 GB, free: 8.586 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/1.001, allocations: 4 kB / 1.032 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-05/1.001, allocations: 3.906 kB / 1.032 GB, free: 8.578 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.001, allocations: 3.984 kB / 1.032 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001078/1.002, allocations: 292 kB / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/1.002, allocations: 0 / 1.032 GB, free: 8.297 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001071/1.003, allocations: 83.52 kB / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.003, allocations: 0 / 1.032 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.442e-05/1.003, allocations: 8 kB / 1.032 GB, free: 8.211 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.656e-06/1.004, allocations: 7.875 kB / 1.032 GB, free: 8.203 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.004, allocations: 7.906 kB / 1.032 GB, free: 8.195 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009502/1.004, allocations: 0.622 MB / 1.033 GB, free: 7.609 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/1.005, allocations: 119.9 kB / 1.033 GB, free: 7.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.68e-05/1.005, allocations: 4.188 kB / 1.033 GB, free: 7.477 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004454/1.005, allocations: 11.91 kB / 1.033 GB, free: 7.465 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/1.005, allocations: 19.78 kB / 1.033 GB, free: 7.449 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/1.005, allocations: 7.938 kB / 1.033 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001763/1.005, allocations: 140.3 kB / 1.033 GB, free: 7.324 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007439/1.006, allocations: 91.81 kB / 1.033 GB, free: 7.234 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (heaCapGla.TUns,heaCapGla.TSha,heaCapSha1.T,heaCapUns1.T,heaCapGla01.TSha,heaCapSha2.T,heaCapGla01.TUns,heaCapUns2.T,heaCapGlaNoSha.TUns,heaCapUns3.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 30 * 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.0002818/1.007, allocations: 131.2 kB / 1.033 GB, free: 7.098 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.000522/1.007, allocations: 186.3 kB / 1.034 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/1.007, allocations: 0 / 1.034 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002124/1.007, allocations: 92.55 kB / 1.034 GB, free: 6.895 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006291/1.008, allocations: 43.69 kB / 1.034 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00249/1.01, allocations: 0.9416 MB / 1.035 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005949/1.011, allocations: 0.8259 MB / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of SimCode: time 1.353e-06/1.011, allocations: 0 / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of Templates: time 0.01049/1.022, allocations: 2.694 MB / 1.038 GB, free: 2.43 MB / 0.6511 GB