Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection.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.Examples.InteriorConvection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.HeatTransfer.Windows.BaseClasses.Examples.InteriorConvection") [: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.07/2.07, allocations: 253.1 MB / 260.4 MB, free: 7.613 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.001687/0.001686, allocations: 193.2 kB / 319.6 MB, free: 3.301 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.963/1.963, allocations: 205.4 MB / 0.5704 GB, free: 15.12 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.001295/0.001295, allocations: 95.31 kB / 0.6746 GB, free: 4.473 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.728e-06/9.889e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2081, allocations: 106.3 MB / 0.8881 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6515/0.8597, allocations: 135.5 MB / 1.02 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005051/0.8603, allocations: 89.61 kB / 1.02 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.02368/0.884, allocations: 2.928 MB / 1.023 GB, free: 440 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.574e-05/0.884, allocations: 4 kB / 1.023 GB, free: 436 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0008803/0.885, allocations: 404.1 kB / 1.024 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.506e-05/0.885, allocations: 8.031 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.8851, allocations: 7.906 kB / 1.024 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004949/0.8856, allocations: 208 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.207e-05/0.8857, allocations: 4 kB / 1.024 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.515e-05/0.8857, allocations: 7.938 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002323/0.886, allocations: 37 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.8863, allocations: 71.67 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.8863, allocations: 0 / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.8864, allocations: 3.906 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.8864, allocations: 1.031 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00116/0.8876, allocations: 355.9 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000342/0.8879, allocations: 41.75 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.996e-05/0.8881, allocations: 20.94 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.8881, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.168e-05/0.8881, allocations: 38.19 kB / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 2.936e-06/0.8882, allocations: 0 / 1.025 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0003879/0.8886, allocations: 52.91 kB / 1.025 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.223e-05/0.8886, allocations: 51.41 kB / 1.025 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001754/0.8888, allocations: 115.9 kB / 1.025 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.198e-05/0.8889, allocations: 25.7 kB / 1.025 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.791e-05/0.889, allocations: 107.4 kB / 1.025 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.222e-05/0.889, allocations: 11.81 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.935e-06/0.8891, allocations: 4 kB / 1.025 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.8892, allocations: 318.6 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.828e-05/0.8893, allocations: 11.06 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.175e-05/0.8894, allocations: 7.25 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.8896, allocations: 15.92 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.087e-06/0.8896, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002959/0.8899, allocations: 64.33 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.623e-05/0.89, allocations: 99.66 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.89, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.8901, allocations: 0 / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.8904, allocations: 16.17 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.8904, allocations: 3.938 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.8907, allocations: 23.33 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.8907, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.8907, allocations: 4 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002081/0.891, allocations: 27.66 kB / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.036e-06/0.891, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.335e-06/0.891, allocations: 0 / 1.025 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.8913, allocations: 19.92 kB / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.687e-06/0.8913, allocations: 0 / 1.025 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.8915, allocations: 15.98 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.8915, allocations: 3.875 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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 0.000112/0.8916, allocations: 101 kB / 1.026 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.13e-05/0.8917, allocations: 7.906 kB / 1.026 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002431/0.892, allocations: 57.27 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.892, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.892, allocations: 4 kB / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.8921, allocations: 0 / 1.026 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.8924, allocations: 165.7 kB / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.8925, allocations: 0 / 1.026 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000218/0.8927, allocations: 15.92 kB / 1.026 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.8927, allocations: 7.906 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.148e-05/0.8927, allocations: 0 / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.8928, allocations: 0.875 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.8928, allocations: 7.984 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002348/0.893, allocations: 145.5 kB / 1.026 GB, free: 13.64 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001003/0.8932, allocations: 85 kB / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.363e-05/0.8932, allocations: 0 / 1.026 GB, free: 13.54 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002919/0.8935, allocations: 11.98 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.615e-05/0.8936, allocations: 4 kB / 1.026 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.8936, allocations: 15.44 kB / 1.026 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0001219/0.8938, allocations: 100.9 kB / 1.026 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007321/0.8945, allocations: 35.84 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * 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.0002709/0.8948, allocations: 103.2 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002679/0.8951, allocations: 41.67 kB / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/0.8952, allocations: 0 / 1.026 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 7.021e-05/0.8952, allocations: 11.5 kB / 1.026 GB, free: 13.24 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004528/0.8957, allocations: 17.31 kB / 1.026 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005985/0.8963, allocations: 118.2 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004625/0.8968, allocations: 0.711 MB / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of SimCode: time 1.273e-06/0.8969, allocations: 0 / 1.027 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of Templates: time 0.007688/0.9046, allocations: 1.067 MB / 1.028 GB, free: 11.32 MB / 0.6511 GB