Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure.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.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Pressure") [: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.131/2.131, allocations: 253.1 MB / 260.4 MB, free: 7.598 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.001672/0.001672, allocations: 189 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.91/1.91, 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.001405/0.001404, allocations: 90 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.094e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.1982, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.718/5.916, allocations: 2.183 GB / 3.071 GB, free: 180 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003182/5.916, allocations: 89.2 kB / 3.071 GB, free: 180 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.548/7.465, allocations: 331.8 MB / 3.395 GB, free: 170.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 4.507e-05/7.465, allocations: 15.06 kB / 3.395 GB, free: 170.6 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001571/7.466, allocations: 0.6689 MB / 3.395 GB, free: 170 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.099e-05/7.466, allocations: 8.844 kB / 3.395 GB, free: 170 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005615/7.467, allocations: 63.14 kB / 3.395 GB, free: 169.9 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008307/7.468, allocations: 320.6 kB / 3.396 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/7.468, allocations: 7.125 kB / 3.396 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-05/7.468, allocations: 14.34 kB / 3.396 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004312/7.468, allocations: 125.4 kB / 3.396 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005115/7.469, allocations: 250.1 kB / 3.396 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.607e-05/7.469, allocations: 1.344 kB / 3.396 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/7.469, allocations: 0 / 3.396 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.342e-05/7.469, allocations: 6.25 kB / 3.396 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/7.471, allocations: 1.667 MB / 3.398 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002845/7.472, allocations: 68.03 kB / 3.398 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/7.472, allocations: 62.44 kB / 3.398 GB, free: 167.8 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003868/7.472, allocations: 197 kB / 3.398 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/7.472, allocations: 35.56 kB / 3.398 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.936e-06/7.472, allocations: 0 / 3.398 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0007725/7.473, allocations: 153 kB / 3.398 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/7.473, allocations: 56.78 kB / 3.398 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/7.473, allocations: 217.4 kB / 3.399 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/7.473, allocations: 25.7 kB / 3.399 GB, free: 167.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001063/7.474, allocations: 176.4 kB / 3.399 GB, free: 167 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.645e-05/7.474, allocations: 35.95 kB / 3.399 GB, free: 167 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.254e-05/7.474, allocations: 0 / 3.399 GB, free: 167 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.666e-05/7.474, allocations: 332.2 kB / 3.399 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001244/7.474, allocations: 39.61 kB / 3.399 GB, free: 166.7 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000241/7.474, allocations: 170.4 kB / 3.399 GB, free: 166.5 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000181/7.474, allocations: 76.33 kB / 3.399 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/7.474, allocations: 1.375 kB / 3.399 GB, free: 166.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005005/7.475, allocations: 198.8 kB / 3.4 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003254/7.475, allocations: 1.403 MB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/7.475, allocations: 3.594 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.303e-05/7.475, allocations: 6.438 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/7.476, allocations: 50.8 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/7.476, allocations: 8.641 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005082/7.476, allocations: 37.98 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.257e-05/7.476, allocations: 11.62 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/7.476, allocations: 2.844 kB / 3.401 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003869/7.477, allocations: 146 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/7.477, allocations: 7.5 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/7.477, allocations: 5.062 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003573/7.477, allocations: 54.12 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/7.477, allocations: 5.219 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004256/7.478, allocations: 41.56 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.632e-05/7.478, allocations: 10.56 kB / 3.401 GB, free: 164.7 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001078/7.478, allocations: 110.5 kB / 3.401 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/7.478, allocations: 26.12 kB / 3.401 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000422/7.478, allocations: 132.3 kB / 3.402 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/7.478, allocations: 5.125 kB / 3.402 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/7.478, allocations: 0.9688 kB / 3.402 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/7.478, allocations: 0 / 3.402 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/7.479, allocations: 0.5324 MB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/7.479, allocations: 2.031 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/7.48, allocations: 26.36 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-06/7.48, allocations: 2.734 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/7.48, allocations: 10.38 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.013e-06/7.48, allocations: 2.688 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.621e-06/7.48, allocations: 11.12 kB / 3.402 GB, free: 164 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003695/7.48, allocations: 354.9 kB / 3.402 GB, free: 163.6 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/7.48, allocations: 107.6 kB / 3.403 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.95e-05/7.48, allocations: 3.5 kB / 3.403 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/7.481, allocations: 31.53 kB / 3.403 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.355e-05/7.481, allocations: 17.16 kB / 3.403 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/7.481, allocations: 5.188 kB / 3.403 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0002242/7.481, allocations: 170.9 kB / 3.403 GB, free: 163.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001273/7.482, allocations: 227 kB / 3.403 GB, free: 163.2 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.002646/7.485, allocations: 1.407 MB / 3.404 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007536/7.486, allocations: 203.4 kB / 3.405 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/7.486, allocations: 0.625 kB / 3.405 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/7.486, allocations: 51.58 kB / 3.405 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001248/7.487, allocations: 98.91 kB / 3.405 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/7.488, allocations: 347.2 kB / 3.405 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004332/7.489, allocations: 0.8036 MB / 3.406 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of SimCode: time 2.084e-06/7.489, allocations: 0 / 3.406 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.03446/7.523, allocations: 11.58 MB / 3.417 GB, free: 155.5 MB / 0.8698 GB