Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure") translateModel(Buildings.Fluid.Sensors.Examples.Pressure,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.522/1.522, allocations: 289.8 MB / 297.1 MB, free: 6.641 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.001152/0.001152, allocations: 173.3 kB / 366.3 MB, free: 2.004 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.534/1.534, allocations: 205.1 MB / 0.6256 GB, free: 7.461 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.000964/0.000964, allocations: 82.69 kB / 0.7395 GB, free: 39.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.064e-05/1.066e-05, allocations: 4 kB / 0.859 GB, free: 13.59 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6525/0.6525, allocations: 116.3 MB / 0.9726 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.038/4.69, allocations: 2.065 GB / 3.037 GB, free: 65.07 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/4.691, allocations: 81.06 kB / 3.037 GB, free: 64.99 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.118/5.809, allocations: 342.9 MB / 3.372 GB, free: 100.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.272e-05/5.809, allocations: 11.98 kB / 3.372 GB, free: 100.1 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.001208/5.811, allocations: 0.6694 MB / 3.373 GB, free: 99.43 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/5.811, allocations: 8.031 kB / 3.373 GB, free: 99.43 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/5.811, allocations: 67.48 kB / 3.373 GB, free: 99.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004793/5.811, allocations: 318.2 kB / 3.373 GB, free: 99.01 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/5.811, allocations: 11.98 kB / 3.373 GB, free: 99 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.745e-05/5.812, allocations: 19.94 kB / 3.373 GB, free: 98.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002316/5.812, allocations: 124.8 kB / 3.373 GB, free: 98.86 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003038/5.812, allocations: 244.7 kB / 3.373 GB, free: 98.57 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.163e-05/5.812, allocations: 4 kB / 3.373 GB, free: 98.57 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.016e-05/5.812, allocations: 4 kB / 3.373 GB, free: 98.57 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.245e-06/5.812, allocations: 4 kB / 3.373 GB, free: 98.56 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001285/5.813, allocations: 1.665 MB / 3.375 GB, free: 96.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/5.814, allocations: 86.5 kB / 3.375 GB, free: 96.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/5.814, allocations: 64.89 kB / 3.375 GB, free: 96.64 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002475/5.814, allocations: 182.2 kB / 3.375 GB, free: 96.42 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.546e-05/5.814, allocations: 42.47 kB / 3.375 GB, free: 96.37 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/5.814, allocations: 0 / 3.375 GB, free: 96.37 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.0004425/5.814, allocations: 153.5 kB / 3.376 GB, free: 96.21 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.817e-05/5.814, allocations: 51.41 kB / 3.376 GB, free: 96.15 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001747/5.815, allocations: 227.4 kB / 3.376 GB, free: 95.93 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/5.815, allocations: 29.64 kB / 3.376 GB, free: 95.89 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 6.883e-05/5.815, allocations: 175.7 kB / 3.376 GB, free: 95.71 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.006e-05/5.815, allocations: 39.39 kB / 3.376 GB, free: 95.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.624e-06/5.815, allocations: 0 / 3.376 GB, free: 95.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.49e-05/5.815, allocations: 338.8 kB / 3.376 GB, free: 95.34 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.846e-05/5.815, allocations: 39.98 kB / 3.376 GB, free: 95.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/5.815, allocations: 179.4 kB / 3.377 GB, free: 95.05 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.866e-05/5.815, allocations: 63.91 kB / 3.377 GB, free: 94.99 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.287e-06/5.815, allocations: 4 kB / 3.377 GB, free: 94.98 MB / 0.948 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002547/5.815, allocations: 204.9 kB / 3.377 GB, free: 94.78 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002696/5.816, allocations: 1.393 MB / 3.378 GB, free: 93.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/5.816, allocations: 4 kB / 3.378 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/5.816, allocations: 4 kB / 3.378 GB, free: 93.27 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001956/5.816, allocations: 59.91 kB / 3.378 GB, free: 93.21 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/5.816, allocations: 4 kB / 3.378 GB, free: 93.21 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002524/5.816, allocations: 39.72 kB / 3.378 GB, free: 93.17 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/5.816, allocations: 12 kB / 3.378 GB, free: 93.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 6.152e-06/5.816, allocations: 11.94 kB / 3.378 GB, free: 93.14 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001838/5.816, allocations: 135.7 kB / 3.379 GB, free: 93.01 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/5.816, allocations: 4 kB / 3.379 GB, free: 93.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.178e-06/5.816, allocations: 4 kB / 3.379 GB, free: 93 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/5.817, allocations: 56.33 kB / 3.379 GB, free: 92.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.022e-06/5.817, allocations: 11.92 kB / 3.379 GB, free: 92.94 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/5.817, allocations: 27.83 kB / 3.379 GB, free: 92.91 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/5.817, allocations: 12.28 kB / 3.379 GB, free: 92.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 7.052e-05/5.817, allocations: 120.8 kB / 3.379 GB, free: 92.77 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.253e-05/5.817, allocations: 27.7 kB / 3.379 GB, free: 92.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002128/5.817, allocations: 135.4 kB / 3.379 GB, free: 92.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/5.817, allocations: 4 kB / 3.379 GB, free: 92.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/5.817, allocations: 0 / 3.379 GB, free: 92.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/5.817, allocations: 3.984 kB / 3.379 GB, free: 92.59 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005664/5.818, allocations: 0.5434 MB / 3.379 GB, free: 91.98 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/5.818, allocations: 4 kB / 3.379 GB, free: 91.98 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000126/5.818, allocations: 28.2 kB / 3.379 GB, free: 91.95 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/5.818, allocations: 4 kB / 3.379 GB, free: 91.95 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.145e-05/5.818, allocations: 4 kB / 3.379 GB, free: 91.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/5.818, allocations: 7.922 kB / 3.38 GB, free: 91.94 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/5.818, allocations: 4 kB / 3.38 GB, free: 91.93 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002186/5.818, allocations: 351.7 kB / 3.38 GB, free: 91.51 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.559e-05/5.818, allocations: 112.8 kB / 3.38 GB, free: 91.38 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.983e-05/5.818, allocations: 4 kB / 3.38 GB, free: 91.38 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001981/5.819, allocations: 19.98 kB / 3.38 GB, free: 91.36 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/5.819, allocations: 15.89 kB / 3.38 GB, free: 91.34 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.496e-06/5.819, allocations: 4 kB / 3.38 GB, free: 91.34 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0001189/5.819, allocations: 179.1 kB / 3.38 GB, free: 91.16 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007652/5.82, allocations: 219.7 kB / 3.38 GB, free: 90.95 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.001612/5.821, allocations: 1.416 MB / 3.382 GB, free: 89.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000294/5.822, allocations: 203 kB / 3.382 GB, free: 89.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/5.822, allocations: 4.062 kB / 3.382 GB, free: 89.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.999e-05/5.822, allocations: 55.95 kB / 3.382 GB, free: 89.24 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005869/5.822, allocations: 98.86 kB / 3.382 GB, free: 89.15 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005633/5.823, allocations: 354.5 kB / 3.382 GB, free: 88.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002436/5.823, allocations: 0.8224 MB / 3.383 GB, free: 87.91 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/5.823, allocations: 0 / 3.383 GB, free: 87.91 MB / 0.948 GB Notification: Performance of Templates: time 0.01672/5.84, allocations: 11.74 MB / 3.395 GB, free: 76.23 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Pressure.pipe 2>&1)