Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.262/2.262, allocations: 284.9 MB / 292.2 MB, free: 10.73 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001635/0.001634, allocations: 188.2 kB / 360.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.841/1.841, allocations: 205.1 MB / 0.6188 GB, free: 12.38 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001281/0.001281, allocations: 91.28 kB / 0.7318 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.261e-05/1.276e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6277/0.6277, allocations: 115.2 MB / 0.9628 GB, free: 78.11 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.956/5.583, allocations: 2.063 GB / 3.026 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003614/5.584, allocations: 85.7 kB / 3.026 GB, free: 273.2 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.206/6.79, allocations: 342.9 MB / 3.361 GB, free: 5.418 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.927e-05/6.79, allocations: 8 kB / 3.361 GB, free: 5.41 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.001569/6.792, allocations: 0.6617 MB / 3.362 GB, free: 4.703 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/6.792, allocations: 12.53 kB / 3.362 GB, free: 4.691 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005294/6.792, allocations: 71.47 kB / 3.362 GB, free: 4.621 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008926/6.793, allocations: 318.2 kB / 3.362 GB, free: 4.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/6.793, allocations: 8 kB / 3.362 GB, free: 4.262 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.219e-05/6.793, allocations: 12 kB / 3.362 GB, free: 4.25 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000442/6.794, allocations: 120.8 kB / 3.362 GB, free: 4.133 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005482/6.794, allocations: 256.3 kB / 3.363 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.456e-05/6.794, allocations: 0 / 3.363 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/6.794, allocations: 0 / 3.363 GB, free: 3.844 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.908e-05/6.795, allocations: 15.91 kB / 3.363 GB, free: 3.828 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002585/6.797, allocations: 1.672 MB / 3.364 GB, free: 2.055 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002873/6.797, allocations: 66.64 kB / 3.364 GB, free: 1.98 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/6.798, allocations: 68.81 kB / 3.364 GB, free: 1.91 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000438/6.798, allocations: 198.1 kB / 3.365 GB, free: 1.68 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/6.798, allocations: 34.56 kB / 3.365 GB, free: 1.637 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 2.745e-06/6.798, allocations: 0 / 3.365 GB, free: 1.637 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0007808/6.799, allocations: 151.6 kB / 3.365 GB, free: 1.484 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.604e-05/6.799, allocations: 55.34 kB / 3.365 GB, free: 1.418 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000375/6.799, allocations: 227.3 kB / 3.365 GB, free: 1.191 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/6.799, allocations: 29.7 kB / 3.365 GB, free: 1.156 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000146/6.8, allocations: 167.8 kB / 3.365 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.482e-05/6.8, allocations: 39.39 kB / 3.365 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.307e-05/6.8, allocations: 0 / 3.365 GB, free: 0.9453 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001515/6.8, allocations: 334.8 kB / 3.366 GB, free: 0.6094 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001313/6.8, allocations: 43.98 kB / 3.366 GB, free: 0.5664 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003594/6.8, allocations: 187 kB / 3.366 GB, free: 324 kB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002073/6.801, allocations: 76.67 kB / 3.366 GB, free: 248 kB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/6.801, allocations: 0 / 3.366 GB, free: 248 kB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005801/6.801, allocations: 201.4 kB / 3.366 GB, free: 40 kB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.358/7.159, allocations: 1.395 MB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/7.159, allocations: 3.844 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.618e-05/7.159, allocations: 3.875 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004658/7.16, allocations: 54.09 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/7.16, allocations: 3.719 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005223/7.16, allocations: 34.64 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.404e-05/7.16, allocations: 18.25 kB / 3.367 GB, free: 331.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/7.16, allocations: 11.38 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003764/7.161, allocations: 143.3 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/7.161, allocations: 3.812 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/7.161, allocations: 3.844 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/7.161, allocations: 56.52 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.202e-06/7.161, allocations: 3.969 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004548/7.162, allocations: 32.11 kB / 3.368 GB, free: 331.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.53e-05/7.162, allocations: 19.16 kB / 3.368 GB, free: 331.9 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 0.0001264/7.162, allocations: 118 kB / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.281e-05/7.162, allocations: 27.12 kB / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/7.162, allocations: 134.6 kB / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/7.162, allocations: 3.75 kB / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/7.162, allocations: 0 / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.309e-06/7.162, allocations: 0 / 3.368 GB, free: 331.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00105/7.164, allocations: 0.5372 MB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/7.164, allocations: 2.375 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/7.164, allocations: 37.58 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.458e-06/7.164, allocations: 3.375 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/7.164, allocations: 3.328 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.851e-06/7.164, allocations: 4.594 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.081e-06/7.164, allocations: 6.219 kB / 3.369 GB, free: 331.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003757/7.164, allocations: 352.4 kB / 3.369 GB, free: 331.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/7.164, allocations: 108.5 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.881e-05/7.165, allocations: 3.156 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003694/7.165, allocations: 17.38 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/7.165, allocations: 21.94 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.556e-05/7.165, allocations: 4.469 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0002255/7.165, allocations: 182.3 kB / 3.369 GB, free: 331 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001193/7.166, allocations: 222.5 kB / 3.369 GB, free: 330.9 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.002216/7.169, allocations: 1.43 MB / 3.371 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0006401/7.169, allocations: 194 kB / 3.371 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.207e-06/7.169, allocations: 0 / 3.371 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/7.17, allocations: 51.94 kB / 3.371 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/7.171, allocations: 109.3 kB / 3.371 GB, free: 330.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009147/7.172, allocations: 346.6 kB / 3.372 GB, free: 330.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003563/7.172, allocations: 0.8088 MB / 3.372 GB, free: 329.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.162e-06/7.172, allocations: 6.938 kB / 3.372 GB, free: 329.8 MB / 0.948 GB Notification: Performance of Templates: time 0.02946/7.202, allocations: 11.75 MB / 3.384 GB, free: 329.6 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)