Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb.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.Fluid.Sensors.Examples.TemperatureDryBulb,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.TemperatureDryBulb") [: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.341/2.341, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.00384/0.00384, allocations: 177.2 kB / 319.6 MB, free: 3.309 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.906/1.906, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001252, allocations: 91.39 kB / 0.6746 GB, free: 4.402 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.648e-06/9.798e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.238/0.2381, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.97/6.208, allocations: 2.181 GB / 3.069 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003402/6.209, allocations: 86.25 kB / 3.069 GB, free: 181.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.884/8.092, allocations: 412.1 MB / 3.472 GB, free: 117.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.884e-05/8.092, allocations: 12 kB / 3.472 GB, free: 117.2 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.003018/8.095, allocations: 1.005 MB / 3.473 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/8.096, allocations: 8.031 kB / 3.473 GB, free: 116.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003517/8.099, allocations: 274.8 kB / 3.473 GB, free: 115.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/8.101, allocations: 484.2 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/8.101, allocations: 12 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/8.101, allocations: 28 kB / 3.474 GB, free: 115.3 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001202/8.102, allocations: 393.8 kB / 3.474 GB, free: 114.9 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/8.103, allocations: 493.5 kB / 3.475 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/8.103, allocations: 4 kB / 3.475 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/8.103, allocations: 0 / 3.475 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.549e-05/8.103, allocations: 8 kB / 3.475 GB, free: 114.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004329/8.108, allocations: 2.144 MB / 3.477 GB, free: 112.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/8.109, allocations: 370.5 kB / 3.477 GB, free: 111.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004649/8.109, allocations: 197.4 kB / 3.477 GB, free: 111.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/8.11, allocations: 0.6378 MB / 3.478 GB, free: 110.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005906/8.111, allocations: 243 kB / 3.478 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=37): time 4.308e-06/8.111, allocations: 4 kB / 3.478 GB, free: 110.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=37): time 0.003641/8.115, allocations: 0.6222 MB / 3.479 GB, free: 109.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.183e-05/8.115, allocations: 59.41 kB / 3.479 GB, free: 109.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004948/8.115, allocations: 309.1 kB / 3.479 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.248e-05/8.115, allocations: 25.7 kB / 3.479 GB, free: 109.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000168/8.116, allocations: 216 kB / 3.479 GB, free: 109.3 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000154/8.116, allocations: 122.2 kB / 3.479 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.879e-05/8.116, allocations: 0 / 3.479 GB, free: 109.2 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.116, allocations: 358.8 kB / 3.48 GB, free: 108.8 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000401/8.116, allocations: 140.9 kB / 3.48 GB, free: 108.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005043/8.117, allocations: 269.5 kB / 3.48 GB, free: 108.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000868/8.118, allocations: 236.4 kB / 3.48 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.69e-06/8.118, allocations: 0 / 3.48 GB, free: 108.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001634/8.119, allocations: 0.5159 MB / 3.481 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/8.119, allocations: 7.938 kB / 3.481 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/8.12, allocations: 4 kB / 3.481 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-05/8.12, allocations: 8 kB / 3.481 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009764/8.121, allocations: 112.2 kB / 3.481 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/8.121, allocations: 4 kB / 3.481 GB, free: 107.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00113/8.122, allocations: 87.47 kB / 3.481 GB, free: 107.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.583e-05/8.122, allocations: 24 kB / 3.481 GB, free: 107.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.m_flow1.T_start,m_flow1.T_start,$PRE.m_flow1.count,m_flow1.count,$PRE.m_flow2.T_start,m_flow2.T_start,$PRE.m_flow2.count,m_flow2.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 2 * 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.0001787/8.122, allocations: 120.8 kB / 3.481 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/8.122, allocations: 55.33 kB / 3.481 GB, free: 107.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001651/8.124, allocations: 477.4 kB / 3.482 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/8.124, allocations: 4 kB / 3.482 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/8.124, allocations: 0 / 3.482 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/8.124, allocations: 11.92 kB / 3.482 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/8.127, allocations: 1.222 MB / 3.483 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.528e-06/8.127, allocations: 3.906 kB / 3.483 GB, free: 105.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008932/8.128, allocations: 92.27 kB / 3.483 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-05/8.128, allocations: 11.94 kB / 3.483 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.322e-05/8.128, allocations: 4 kB / 3.483 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.028e-05/8.128, allocations: 15.98 kB / 3.483 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/8.128, allocations: 4 kB / 3.483 GB, free: 105.2 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002066/8.13, allocations: 0.9926 MB / 3.484 GB, free: 104.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003586/8.131, allocations: 156.4 kB / 3.484 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/8.131, allocations: 11.98 kB / 3.484 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009515/8.132, allocations: 48.02 kB / 3.484 GB, free: 103.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001881/8.132, allocations: 51.84 kB / 3.484 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.917e-05/8.132, allocations: 12 kB / 3.484 GB, free: 103.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0003619/8.132, allocations: 231.2 kB / 3.484 GB, free: 103.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001317/8.134, allocations: 251.7 kB / 3.485 GB, free: 103.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (temDyn.T,temDynLoss.T) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,m_flow1.T_start,m_flow1.count,m_flow2.T_start,m_flow2.count) * Number of discrete states: 2 (m_flow2.count,m_flow1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.003134/8.137, allocations: 1.665 MB / 3.486 GB, free: 101.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001263/8.138, allocations: 427.8 kB / 3.487 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/8.138, allocations: 0.75 kB / 3.487 GB, free: 101.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008065/8.139, allocations: 240.2 kB / 3.487 GB, free: 100.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001952/8.141, allocations: 173.6 kB / 3.487 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/8.144, allocations: 0.8007 MB / 3.488 GB, free: 99.92 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007444/8.145, allocations: 0.9255 MB / 3.489 GB, free: 98.97 MB / 0.8698 GB Notification: Performance of SimCode: time 1.674e-06/8.145, allocations: 0 / 3.489 GB, free: 98.97 MB / 0.8698 GB Notification: Performance of Templates: time 0.0431/8.188, allocations: 16.7 MB / 3.505 GB, free: 82.37 MB / 0.8698 GB