Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.508/1.508, allocations: 285.5 MB / 292.8 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001509/0.001509, allocations: 181.3 kB / 361.1 MB, free: 7.102 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.1 MB / 0.6195 GB, free: 10.32 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009319/0.000932, allocations: 88.98 kB / 0.7325 GB, free: 44.24 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.777e-06/8.797e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7062/0.7062, allocations: 115.3 MB / 0.9637 GB, free: 78.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.92/4.626, allocations: 2.064 GB / 3.027 GB, free: 93.29 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003089/4.627, allocations: 84.89 kB / 3.027 GB, free: 93.21 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.22/5.846, allocations: 342.9 MB / 3.362 GB, free: 131.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.254e-05/5.846, allocations: 8 kB / 3.362 GB, free: 131.7 MB / 0.948 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.001572/5.848, allocations: 0.6655 MB / 3.363 GB, free: 131 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/5.848, allocations: 12.47 kB / 3.363 GB, free: 131 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000512/5.848, allocations: 67.48 kB / 3.363 GB, free: 130.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006568/5.849, allocations: 326.2 kB / 3.363 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/5.849, allocations: 4 kB / 3.363 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.775e-05/5.849, allocations: 16 kB / 3.363 GB, free: 130.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002608/5.849, allocations: 116.8 kB / 3.363 GB, free: 130.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003241/5.85, allocations: 255.8 kB / 3.364 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/5.85, allocations: 7.938 kB / 3.364 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/5.85, allocations: 3.938 kB / 3.364 GB, free: 130.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/5.85, allocations: 8 kB / 3.364 GB, free: 130.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001717/5.852, allocations: 1.675 MB / 3.365 GB, free: 128.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000192/5.852, allocations: 70.59 kB / 3.365 GB, free: 128.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/5.852, allocations: 64.88 kB / 3.365 GB, free: 128.2 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002769/5.852, allocations: 190.2 kB / 3.366 GB, free: 128 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/5.852, allocations: 38.5 kB / 3.366 GB, free: 128 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.814e-06/5.852, allocations: 0 / 3.366 GB, free: 128 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0005132/5.853, allocations: 157.4 kB / 3.366 GB, free: 127.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/5.853, allocations: 59.41 kB / 3.366 GB, free: 127.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/5.853, allocations: 219.4 kB / 3.366 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/5.853, allocations: 25.7 kB / 3.366 GB, free: 127.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 7.823e-05/5.853, allocations: 175.7 kB / 3.366 GB, free: 127.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.124e-05/5.853, allocations: 35.45 kB / 3.366 GB, free: 127.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.257e-06/5.853, allocations: 0 / 3.366 GB, free: 127.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.48e-05/5.853, allocations: 334.8 kB / 3.367 GB, free: 126.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.568e-05/5.853, allocations: 47.98 kB / 3.367 GB, free: 126.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001422/5.853, allocations: 181.2 kB / 3.367 GB, free: 126.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.993e-05/5.854, allocations: 67.91 kB / 3.367 GB, free: 126.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/5.854, allocations: 0 / 3.367 GB, free: 126.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002851/5.854, allocations: 197.4 kB / 3.367 GB, free: 126.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002984/5.854, allocations: 1.398 MB / 3.368 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/5.854, allocations: 4 kB / 3.368 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.955e-05/5.854, allocations: 4 kB / 3.368 GB, free: 124.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/5.854, allocations: 55.91 kB / 3.368 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/5.854, allocations: 8 kB / 3.369 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003137/5.855, allocations: 39.72 kB / 3.369 GB, free: 124.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.844e-05/5.855, allocations: 15.98 kB / 3.369 GB, free: 124.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.418e-06/5.855, allocations: 4 kB / 3.369 GB, free: 124.7 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002115/5.855, allocations: 143.8 kB / 3.369 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/5.855, allocations: 4 kB / 3.369 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.991e-06/5.855, allocations: 4 kB / 3.369 GB, free: 124.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001784/5.855, allocations: 56.36 kB / 3.369 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/5.855, allocations: 8 kB / 3.369 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002589/5.856, allocations: 35.81 kB / 3.369 GB, free: 124.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/5.856, allocations: 15.92 kB / 3.369 GB, free: 124.5 MB / 0.948 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 8.204e-05/5.856, allocations: 116.8 kB / 3.369 GB, free: 124.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.634e-05/5.856, allocations: 31.81 kB / 3.369 GB, free: 124.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002196/5.856, allocations: 131.4 kB / 3.369 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/5.856, allocations: 0 / 3.369 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/5.856, allocations: 0 / 3.369 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/5.856, allocations: 3.984 kB / 3.369 GB, free: 124.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006378/5.857, allocations: 0.5319 MB / 3.37 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/5.857, allocations: 4 kB / 3.37 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001332/5.857, allocations: 31.83 kB / 3.37 GB, free: 123.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/5.857, allocations: 4 kB / 3.37 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/5.857, allocations: 12.2 kB / 3.37 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/5.857, allocations: 0 / 3.37 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/5.857, allocations: 4 kB / 3.37 GB, free: 123.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002326/5.857, allocations: 355.9 kB / 3.37 GB, free: 123.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.339e-05/5.857, allocations: 112.8 kB / 3.37 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.04e-05/5.857, allocations: 0 / 3.37 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002162/5.857, allocations: 23.91 kB / 3.37 GB, free: 123 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.367e-05/5.857, allocations: 15.91 kB / 3.37 GB, free: 122.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.927e-06/5.857, allocations: 8 kB / 3.37 GB, free: 122.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001361/5.858, allocations: 179.1 kB / 3.37 GB, free: 122.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009086/5.859, allocations: 223.6 kB / 3.371 GB, free: 122.5 MB / 0.948 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.002147/5.861, allocations: 1.42 MB / 3.372 GB, free: 121.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003576/5.861, allocations: 202.4 kB / 3.372 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/5.861, allocations: 0 / 3.372 GB, free: 120.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.826e-05/5.861, allocations: 52.55 kB / 3.372 GB, free: 120.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006923/5.862, allocations: 98.5 kB / 3.372 GB, free: 120.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006758/5.863, allocations: 351.2 kB / 3.373 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003506/5.863, allocations: 0.8148 MB / 3.373 GB, free: 119.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/5.863, allocations: 0 / 3.373 GB, free: 119.5 MB / 0.948 GB Notification: Performance of Templates: time 0.01881/5.882, allocations: 11.75 MB / 3.385 GB, free: 107.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)