Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom.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.Examples.BeamDepthInRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.Examples.BeamDepthInRoom") [: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.058/2.058, allocations: 253.1 MB / 260.4 MB, free: 7.484 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.001609/0.001608, allocations: 193.2 kB / 319.6 MB, free: 3.305 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.885/1.885, 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.001264/0.001264, allocations: 91.33 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.706e-06/8.827e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1945/0.1945, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6175/0.8121, allocations: 140.2 MB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/0.8124, allocations: 78.08 kB / 1.025 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.1226/0.9351, allocations: 25.5 MB / 1.05 GB, free: 9.465 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 4.609e-05/0.9352, allocations: 16 kB / 1.05 GB, free: 9.449 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00508/0.9403, allocations: 1.109 MB / 1.051 GB, free: 8.355 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.007e-05/0.9403, allocations: 8.031 kB / 1.051 GB, free: 8.348 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004189/0.9408, allocations: 110.7 kB / 1.051 GB, free: 8.238 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03267/0.9734, allocations: 9.445 MB / 1.06 GB, free: 1.055 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001892/0.9754, allocations: 412.8 kB / 1.061 GB, free: 0.5781 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002986/0.9757, allocations: 48 kB / 1.061 GB, free: 0.5312 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00216/0.9779, allocations: 0.5812 MB / 1.061 GB, free: 196 kB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002103/0.9801, allocations: 0.6843 MB / 1.062 GB, free: 15.69 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.929e-05/0.9801, allocations: 7.938 kB / 1.062 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.9803, allocations: 0 / 1.062 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.595e-05/0.9803, allocations: 16 kB / 1.062 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009031/0.9893, allocations: 2.475 MB / 1.064 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007141/0.9965, allocations: 1.006 MB / 1.065 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001045/0.9976, allocations: 332.6 kB / 1.066 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/0.9978, allocations: 23.3 kB / 1.066 GB, free: 12.84 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001117/0.9979, allocations: 41.75 kB / 1.066 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 3.707e-06/0.9979, allocations: 4 kB / 1.066 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.002197/1, allocations: 0.6519 MB / 1.066 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/1, allocations: 143.5 kB / 1.067 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009981/1.001, allocations: 474.4 kB / 1.067 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/1.001, allocations: 25.7 kB / 1.067 GB, free: 11.78 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/1.002, allocations: 259.5 kB / 1.067 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/1.002, allocations: 255.1 kB / 1.068 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.961e-05/1.002, allocations: 0 / 1.068 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002087/1.002, allocations: 377 kB / 1.068 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006891/1.003, allocations: 218.8 kB / 1.068 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007836/1.004, allocations: 303.7 kB / 1.068 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000768/1.004, allocations: 252.9 kB / 1.069 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/1.004, allocations: 0 / 1.069 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.002066/1.007, allocations: 0.6497 MB / 1.069 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/1.007, allocations: 4 kB / 1.069 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/1.007, allocations: 0 / 1.069 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.625e-05/1.007, allocations: 8 kB / 1.069 GB, free: 10.04 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00242/1.009, allocations: 198.9 kB / 1.07 GB, free: 9.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/1.009, allocations: 4 kB / 1.07 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001895/1.011, allocations: 91.45 kB / 1.07 GB, free: 9.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001195/1.011, allocations: 34.47 kB / 1.07 GB, free: 9.727 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0002383/1.011, allocations: 116.8 kB / 1.07 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002884/1.012, allocations: 75.05 kB / 1.07 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003883/1.016, allocations: 1.056 MB / 1.071 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.498e-05/1.016, allocations: 19.94 kB / 1.071 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.016, allocations: 3.938 kB / 1.071 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.146e-05/1.016, allocations: 11.97 kB / 1.071 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/1.018, allocations: 0.9099 MB / 1.072 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.708e-06/1.018, allocations: 3.984 kB / 1.072 GB, free: 8.043 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002741/1.02, allocations: 249.1 kB / 1.072 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.477e-05/1.021, allocations: 11.98 kB / 1.072 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.902e-05/1.021, allocations: 11.3 kB / 1.072 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.023e-05/1.021, allocations: 8 kB / 1.072 GB, free: 7.781 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/1.021, allocations: 4 kB / 1.072 GB, free: 7.777 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002524/1.023, allocations: 1.177 MB / 1.073 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006777/1.024, allocations: 302.5 kB / 1.074 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002095/1.024, allocations: 0 / 1.074 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/1.026, allocations: 55.94 kB / 1.074 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/1.026, allocations: 84.98 kB / 1.074 GB, free: 6.434 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.027, allocations: 35.23 kB / 1.074 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008588/1.027, allocations: 413.5 kB / 1.074 GB, free: 6.109 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001571/1.029, allocations: 296.3 kB / 1.074 GB, free: 5.828 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 120 * 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.001313/1.03, allocations: 413.3 kB / 1.075 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001909/1.032, allocations: 0.6406 MB / 1.075 GB, free: 5.047 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/1.032, allocations: 4 kB / 1.075 GB, free: 5.043 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001189/1.033, allocations: 451.8 kB / 1.076 GB, free: 4.738 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007487/1.034, allocations: 38.97 kB / 1.076 GB, free: 4.719 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/1.039, allocations: 1.174 MB / 1.077 GB, free: 3.707 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001575/1.04, allocations: 1.149 MB / 1.078 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/1.04, allocations: 0 / 1.078 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of Templates: time 0.03414/1.074, allocations: 10.57 MB / 1.088 GB, free: 8.039 MB / 0.698 GB