Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.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.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.52/1.52, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.0009705/0.0009705, allocations: 177.3 kB / 361.1 MB, free: 7.09 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.285/1.285, allocations: 205.1 MB / 0.6195 GB, free: 11.9 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.0008742/0.0008742, allocations: 93.3 kB / 0.7326 GB, free: 44.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.174e-05/1.176e-05, allocations: 4 kB / 0.8511 GB, free: 3.203 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6378/0.6378, allocations: 115.3 MB / 0.9637 GB, free: 78.03 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8728/1.511, allocations: 397.9 MB / 1.352 GB, free: 168.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/1.511, allocations: 92.41 kB / 1.352 GB, free: 168.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.3518/1.863, allocations: 174.1 MB / 1.522 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.35e-05/1.863, allocations: 15.98 kB / 1.522 GB, free: 7.852 MB / 0.8542 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.001481/1.864, allocations: 0.7395 MB / 1.523 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/1.864, allocations: 8.031 kB / 1.523 GB, free: 7.055 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/1.865, allocations: 55.34 kB / 1.523 GB, free: 7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009161/1.866, allocations: 421.5 kB / 1.524 GB, free: 6.547 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/1.866, allocations: 4 kB / 1.524 GB, free: 6.543 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/1.866, allocations: 27.94 kB / 1.524 GB, free: 6.516 MB / 0.8542 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000289/1.866, allocations: 124.8 kB / 1.524 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000274/1.866, allocations: 170.4 kB / 1.524 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/1.866, allocations: 4 kB / 1.524 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.866, allocations: 0 / 1.524 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/1.866, allocations: 4 kB / 1.524 GB, free: 6.215 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001386/1.868, allocations: 0.8643 MB / 1.525 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001881/1.868, allocations: 114.5 kB / 1.525 GB, free: 5.164 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.571e-05/1.868, allocations: 64.83 kB / 1.525 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002521/1.868, allocations: 340.4 kB / 1.525 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.145e-05/1.868, allocations: 30.56 kB / 1.525 GB, free: 4.652 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/1.868, allocations: 3.938 kB / 1.525 GB, free: 4.648 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.0004682/1.869, allocations: 161.4 kB / 1.525 GB, free: 4.484 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/1.869, allocations: 55.39 kB / 1.525 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/1.869, allocations: 357.1 kB / 1.526 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.925e-05/1.869, allocations: 29.7 kB / 1.526 GB, free: 4.031 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 9.615e-05/1.869, allocations: 172.4 kB / 1.526 GB, free: 3.855 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.807e-05/1.869, allocations: 47.3 kB / 1.526 GB, free: 3.809 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.079e-05/1.869, allocations: 3.938 kB / 1.526 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 7.146e-05/1.87, allocations: 346.8 kB / 1.526 GB, free: 3.457 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.472e-05/1.87, allocations: 48 kB / 1.526 GB, free: 3.41 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001518/1.87, allocations: 165 kB / 1.527 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002147/1.87, allocations: 72.98 kB / 1.527 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/1.87, allocations: 0 / 1.527 GB, free: 3.141 MB / 0.8542 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003989/1.87, allocations: 213.8 kB / 1.527 GB, free: 2.926 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 6.613e-05/1.87, allocations: 273.4 kB / 1.527 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/1.87, allocations: 0 / 1.527 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/1.871, allocations: 4 kB / 1.527 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002553/1.871, allocations: 55.97 kB / 1.527 GB, free: 2.582 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/1.871, allocations: 3.906 kB / 1.527 GB, free: 2.578 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003794/1.871, allocations: 39.8 kB / 1.527 GB, free: 2.539 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.448e-05/1.871, allocations: 12 kB / 1.527 GB, free: 2.527 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.244e-06/1.871, allocations: 7.938 kB / 1.527 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002989/1.872, allocations: 135.8 kB / 1.527 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-06/1.872, allocations: 0 / 1.527 GB, free: 2.387 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.208e-06/1.872, allocations: 4 kB / 1.527 GB, free: 2.383 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/1.872, allocations: 51.91 kB / 1.527 GB, free: 2.332 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.516e-06/1.872, allocations: 4 kB / 1.527 GB, free: 2.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003461/1.872, allocations: 43.8 kB / 1.527 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.619e-05/1.872, allocations: 8 kB / 1.527 GB, free: 2.277 MB / 0.8542 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.293e-05/1.872, allocations: 108.9 kB / 1.528 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.63e-05/1.872, allocations: 47.44 kB / 1.528 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004593/1.873, allocations: 216.9 kB / 1.528 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/1.873, allocations: 0 / 1.528 GB, free: 1.898 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.873, allocations: 7.938 kB / 1.528 GB, free: 1.891 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/1.873, allocations: 3.984 kB / 1.528 GB, free: 1.887 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/1.874, allocations: 0.6308 MB / 1.528 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/1.874, allocations: 0 / 1.528 GB, free: 1.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/1.874, allocations: 39.92 kB / 1.529 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/1.874, allocations: 0 / 1.529 GB, free: 1.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.874, allocations: 8.297 kB / 1.529 GB, free: 1.152 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.874, allocations: 4 kB / 1.529 GB, free: 1.148 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.874, allocations: 4 kB / 1.529 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003661/1.874, allocations: 351.9 kB / 1.529 GB, free: 0.75 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001356/1.874, allocations: 148.5 kB / 1.529 GB, free: 0.5859 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.878e-05/1.874, allocations: 3.984 kB / 1.529 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002578/1.875, allocations: 23.98 kB / 1.529 GB, free: 0.5586 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.38e-05/1.875, allocations: 15.89 kB / 1.529 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.49e-05/1.875, allocations: 11.98 kB / 1.529 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of sort global known variables: time 0.0002347/1.875, allocations: 275.2 kB / 1.529 GB, free: 272 kB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000751/1.876, allocations: 215.5 kB / 1.53 GB, free: 56 kB / 0.8542 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.00119/1.877, allocations: 0.4987 MB / 1.53 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004536/1.877, allocations: 242.2 kB / 1.53 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.877, allocations: 0 / 1.53 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/1.878, allocations: 67.92 kB / 1.53 GB, free: 15.31 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.879, allocations: 181.9 kB / 1.53 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/1.88, allocations: 0.4961 MB / 1.531 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004754/1.88, allocations: 0.8822 MB / 1.532 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of SimCode: time 2.71e-07/1.88, allocations: 4 kB / 1.532 GB, free: 13.69 MB / 0.8698 GB Notification: Performance of Templates: time 0.01638/1.897, allocations: 9.217 MB / 1.541 GB, free: 4.547 MB / 0.8698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValvesTable.pipe 2>&1)