Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") [: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.421/1.421, allocations: 289.8 MB / 297.1 MB, free: 6.676 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.001211/0.001211, allocations: 181.3 kB / 366.3 MB, free: 1.977 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.342/1.342, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.001013/0.001013, allocations: 82.28 kB / 0.7395 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.073e-05/1.082e-05, allocations: 4 kB / 0.859 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5973/0.5973, allocations: 116.3 MB / 0.9726 GB, free: 68.18 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7941/1.391, allocations: 398.9 MB / 1.362 GB, free: 89.18 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002692/1.392, allocations: 97.7 kB / 1.362 GB, free: 89.12 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3489/1.741, allocations: 174.1 MB / 1.532 GB, free: 6.992 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.713e-05/1.741, allocations: 15.98 kB / 1.532 GB, free: 6.977 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.001467/1.742, allocations: 0.7395 MB / 1.533 GB, free: 6.188 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/1.742, allocations: 12.03 kB / 1.533 GB, free: 6.176 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/1.743, allocations: 51.34 kB / 1.533 GB, free: 6.125 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008966/1.743, allocations: 429.4 kB / 1.533 GB, free: 5.664 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.947e-05/1.744, allocations: 4 kB / 1.533 GB, free: 5.66 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-05/1.744, allocations: 20 kB / 1.533 GB, free: 5.641 MB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002891/1.744, allocations: 124.8 kB / 1.534 GB, free: 5.52 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002899/1.744, allocations: 166.4 kB / 1.534 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/1.744, allocations: 0 / 1.534 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/1.744, allocations: 0 / 1.534 GB, free: 5.352 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/1.744, allocations: 11.98 kB / 1.534 GB, free: 5.34 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001486/1.746, allocations: 0.8713 MB / 1.535 GB, free: 4.406 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002059/1.746, allocations: 122.4 kB / 1.535 GB, free: 4.277 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/1.746, allocations: 52.84 kB / 1.535 GB, free: 4.223 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003034/1.746, allocations: 340.4 kB / 1.535 GB, free: 3.816 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/1.746, allocations: 38.56 kB / 1.535 GB, free: 3.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=14): time 1.523e-06/1.746, allocations: 3.938 kB / 1.535 GB, free: 3.766 MB / 0.9011 GB Notification: Performance of matching and sorting (n=14): time 0.0004858/1.747, allocations: 157.2 kB / 1.535 GB, free: 3.605 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/1.747, allocations: 51.41 kB / 1.535 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004129/1.747, allocations: 361.1 kB / 1.536 GB, free: 3.188 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 3.236e-05/1.747, allocations: 25.7 kB / 1.536 GB, free: 3.156 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.000113/1.748, allocations: 168.4 kB / 1.536 GB, free: 2.984 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 3.811e-05/1.748, allocations: 59.23 kB / 1.536 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.939e-06/1.748, allocations: 0 / 1.536 GB, free: 2.926 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001131/1.748, allocations: 350.8 kB / 1.536 GB, free: 2.574 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/1.748, allocations: 44 kB / 1.536 GB, free: 2.531 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/1.748, allocations: 159 kB / 1.536 GB, free: 2.336 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002994/1.748, allocations: 74.86 kB / 1.537 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/1.748, allocations: 0 / 1.537 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004378/1.749, allocations: 221 kB / 1.537 GB, free: 2.043 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.936e-05/1.749, allocations: 267 kB / 1.537 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/1.749, allocations: 0 / 1.537 GB, free: 1.762 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/1.749, allocations: 4 kB / 1.537 GB, free: 1.758 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002618/1.749, allocations: 43.97 kB / 1.537 GB, free: 1.715 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/1.749, allocations: 11.84 kB / 1.537 GB, free: 1.703 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004026/1.75, allocations: 43.8 kB / 1.537 GB, free: 1.66 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.728e-05/1.75, allocations: 12 kB / 1.537 GB, free: 1.648 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/1.75, allocations: 4 kB / 1.537 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003294/1.75, allocations: 146.6 kB / 1.537 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-06/1.75, allocations: 0 / 1.537 GB, free: 1.504 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.833e-06/1.75, allocations: 8 kB / 1.537 GB, free: 1.496 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/1.75, allocations: 43.97 kB / 1.537 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.186e-06/1.75, allocations: 0 / 1.537 GB, free: 1.453 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003596/1.751, allocations: 39.81 kB / 1.537 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.055e-05/1.751, allocations: 15.98 kB / 1.537 GB, free: 1.398 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * 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.942e-05/1.751, allocations: 109.2 kB / 1.537 GB, free: 1.285 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.141e-05/1.751, allocations: 43.44 kB / 1.537 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005103/1.751, allocations: 220.9 kB / 1.538 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/1.751, allocations: 8 kB / 1.538 GB, free: 1.016 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/1.751, allocations: 3.938 kB / 1.538 GB, free: 1.012 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/1.751, allocations: 3.984 kB / 1.538 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009459/1.752, allocations: 0.629 MB / 1.538 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/1.752, allocations: 0 / 1.538 GB, free: 332 kB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/1.753, allocations: 35.92 kB / 1.538 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/1.753, allocations: 0 / 1.538 GB, free: 296 kB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.753, allocations: 7.984 kB / 1.538 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/1.753, allocations: 0 / 1.538 GB, free: 288 kB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/1.753, allocations: 4 kB / 1.538 GB, free: 284 kB / 0.9011 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004153/1.753, allocations: 357.4 kB / 1.539 GB, free: 15.87 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001613/1.753, allocations: 140.5 kB / 1.539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.104e-05/1.753, allocations: 4 kB / 1.539 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/1.754, allocations: 23.97 kB / 1.539 GB, free: 15.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.08e-05/1.754, allocations: 15.89 kB / 1.539 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/1.754, allocations: 12.17 kB / 1.539 GB, free: 15.66 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.000349/1.754, allocations: 271.2 kB / 1.539 GB, free: 15.4 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008215/1.755, allocations: 231.5 kB / 1.539 GB, free: 15.17 MB / 0.9167 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 (16): * Single equations (assignments): 14 * 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.001108/1.756, allocations: 496.9 kB / 1.54 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004515/1.756, allocations: 238.2 kB / 1.54 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.878e-06/1.756, allocations: 4 kB / 1.54 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/1.757, allocations: 71.86 kB / 1.54 GB, free: 14.41 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001043/1.758, allocations: 181.9 kB / 1.54 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.759, allocations: 0.4928 MB / 1.541 GB, free: 13.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004834/1.759, allocations: 0.8776 MB / 1.542 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of SimCode: time 4e-07/1.759, allocations: 0 / 1.542 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of Templates: time 0.01773/1.777, allocations: 9.223 MB / 1.551 GB, free: 3.664 MB / 0.9167 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)