Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") [: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.469/2.469, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001614/0.001614, allocations: 169.3 kB / 360.4 MB, free: 7.484 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.811/1.811, allocations: 205.1 MB / 0.6188 GB, free: 12.4 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.001248/0.001247, allocations: 91.12 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.945e-06/8.035e-06, allocations: 0 / 0.8502 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5853, allocations: 115.2 MB / 0.9628 GB, free: 78.31 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.968/1.553, allocations: 402.3 MB / 1.356 GB, free: 160.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.554, allocations: 94.2 kB / 1.356 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.5332/2.087, allocations: 174.6 MB / 1.526 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.078e-05/2.087, allocations: 15.94 kB / 1.526 GB, free: 15.49 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001997/2.089, allocations: 0.784 MB / 1.527 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.144e-05/2.089, allocations: 8.031 kB / 1.527 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003352/2.09, allocations: 55.34 kB / 1.527 GB, free: 14.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001573/2.091, allocations: 461.3 kB / 1.527 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/2.091, allocations: 8 kB / 1.527 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-05/2.091, allocations: 20 kB / 1.528 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005349/2.092, allocations: 140.9 kB / 1.528 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/2.093, allocations: 232.4 kB / 1.528 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/2.093, allocations: 0 / 1.528 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.698e-05/2.093, allocations: 4 kB / 1.528 GB, free: 13.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/2.093, allocations: 11.84 kB / 1.528 GB, free: 13.67 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003262/2.096, allocations: 1.439 MB / 1.529 GB, free: 12.14 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003775/2.096, allocations: 137 kB / 1.529 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/2.097, allocations: 64.84 kB / 1.529 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002483/2.099, allocations: 1.352 MB / 1.531 GB, free: 10.37 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001048/2.099, allocations: 38.56 kB / 1.531 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=15): time 3.016e-06/2.099, allocations: 0 / 1.531 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of matching and sorting (n=15): time 0.0007804/2.1, allocations: 177.2 kB / 1.531 GB, free: 10.14 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/2.1, allocations: 55.31 kB / 1.531 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000986/2.101, allocations: 477.3 kB / 1.532 GB, free: 9.602 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.93e-05/2.101, allocations: 25.7 kB / 1.532 GB, free: 9.57 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000191/2.101, allocations: 203.9 kB / 1.532 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/2.101, allocations: 51.3 kB / 1.532 GB, free: 9.316 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.602e-05/2.101, allocations: 4 kB / 1.532 GB, free: 9.312 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001851/2.102, allocations: 358.7 kB / 1.532 GB, free: 8.953 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/2.102, allocations: 52.56 kB / 1.532 GB, free: 8.898 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003692/2.102, allocations: 213 kB / 1.532 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004373/2.103, allocations: 106.2 kB / 1.532 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.227e-06/2.103, allocations: 0 / 1.532 GB, free: 8.531 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008671/2.104, allocations: 268.8 kB / 1.533 GB, free: 8.262 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004281/2.104, allocations: 0.963 MB / 1.534 GB, free: 7.227 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/2.104, allocations: 4 kB / 1.534 GB, free: 7.223 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.222e-05/2.104, allocations: 4 kB / 1.534 GB, free: 7.219 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005344/2.105, allocations: 75.83 kB / 1.534 GB, free: 7.145 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.495e-05/2.105, allocations: 11.92 kB / 1.534 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007093/2.105, allocations: 47.72 kB / 1.534 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.264e-05/2.105, allocations: 16.09 kB / 1.534 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 7.364e-06/2.105, allocations: 1.406 kB / 1.534 GB, free: 7.07 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007016/2.106, allocations: 187.7 kB / 1.534 GB, free: 6.887 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/2.106, allocations: 8.25 kB / 1.534 GB, free: 6.879 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/2.106, allocations: 4 kB / 1.534 GB, free: 6.875 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/2.107, allocations: 71.83 kB / 1.534 GB, free: 6.805 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.256e-06/2.107, allocations: 4 kB / 1.534 GB, free: 6.801 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/2.107, allocations: 39.81 kB / 1.534 GB, free: 6.762 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.89e-05/2.107, allocations: 12 kB / 1.534 GB, free: 6.75 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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.0001358/2.107, allocations: 120.5 kB / 1.534 GB, free: 6.625 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/2.108, allocations: 47.44 kB / 1.534 GB, free: 6.578 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009863/2.109, allocations: 245.2 kB / 1.535 GB, free: 6.328 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.647e-06/2.109, allocations: 4 kB / 1.535 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/2.109, allocations: 0 / 1.535 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/2.109, allocations: 0 / 1.535 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0016/2.11, allocations: 0.6815 MB / 1.535 GB, free: 5.582 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.171e-06/2.11, allocations: 4.125 kB / 1.535 GB, free: 5.578 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002805/2.111, allocations: 35.97 kB / 1.535 GB, free: 5.543 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/2.111, allocations: 4 kB / 1.535 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/2.111, allocations: 0 / 1.535 GB, free: 5.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/2.111, allocations: 4 kB / 1.535 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/2.111, allocations: 0 / 1.535 GB, free: 5.535 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007093/2.111, allocations: 373 kB / 1.536 GB, free: 5.117 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002654/2.112, allocations: 156.4 kB / 1.536 GB, free: 4.945 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/2.112, allocations: 8 kB / 1.536 GB, free: 4.938 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004009/2.112, allocations: 23.97 kB / 1.536 GB, free: 4.914 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.039e-05/2.112, allocations: 11.89 kB / 1.536 GB, free: 4.902 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.56e-05/2.112, allocations: 12 kB / 1.536 GB, free: 4.891 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0007052/2.113, allocations: 362.9 kB / 1.536 GB, free: 4.539 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001298/2.114, allocations: 259.6 kB / 1.536 GB, free: 4.285 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001421/2.116, allocations: 0.5246 MB / 1.537 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008379/2.117, allocations: 293.2 kB / 1.537 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/2.117, allocations: 0 / 1.537 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/2.117, allocations: 75.84 kB / 1.537 GB, free: 3.488 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/2.119, allocations: 205.3 kB / 1.537 GB, free: 3.293 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/2.121, allocations: 0.5753 MB / 1.538 GB, free: 2.676 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008247/2.122, allocations: 0.9061 MB / 1.539 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of SimCode: time 3.125e-06/2.122, allocations: 0 / 1.539 GB, free: 1.742 MB / 0.8698 GB Notification: Performance of Templates: time 0.03264/2.154, allocations: 10.88 MB / 1.55 GB, free: 6.965 MB / 0.8855 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)