Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.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.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.513/1.513, allocations: 289.8 MB / 297.1 MB, free: 6.617 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.001109/0.001109, allocations: 189.2 kB / 366.3 MB, free: 1.938 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.35/1.35, allocations: 205.1 MB / 0.6256 GB, free: 5.773 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.0009107/0.0009107, allocations: 96.12 kB / 0.7395 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.583e-06/6.623e-06, allocations: 0 / 0.859 GB, free: 13.14 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5846/0.5846, allocations: 116.3 MB / 0.9726 GB, free: 68.64 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7857/1.37, allocations: 403.4 MB / 1.367 GB, free: 84.59 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001983/1.371, allocations: 100.8 kB / 1.367 GB, free: 84.53 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.3366/1.707, allocations: 174.6 MB / 1.537 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.833e-05/1.707, allocations: 23.98 kB / 1.537 GB, free: 1.879 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001743/1.709, allocations: 0.7706 MB / 1.538 GB, free: 1.062 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/1.709, allocations: 8.031 kB / 1.538 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002346/1.71, allocations: 59.34 kB / 1.538 GB, free: 0.9961 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009861/1.711, allocations: 465.2 kB / 1.538 GB, free: 0.5 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/1.711, allocations: 4 kB / 1.538 GB, free: 0.4961 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.903e-05/1.711, allocations: 20 kB / 1.538 GB, free: 488 kB / 0.9011 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003137/1.711, allocations: 149 kB / 1.539 GB, free: 340 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003872/1.711, allocations: 232.3 kB / 1.539 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.711, allocations: 0 / 1.539 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/1.711, allocations: 0 / 1.539 GB, free: 88 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.711, allocations: 15.84 kB / 1.539 GB, free: 72 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002034/1.713, allocations: 1.452 MB / 1.54 GB, free: 14.53 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002227/1.714, allocations: 130.9 kB / 1.54 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/1.714, allocations: 64.84 kB / 1.54 GB, free: 14.32 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001599/1.715, allocations: 1.348 MB / 1.542 GB, free: 12.77 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/1.715, allocations: 38.56 kB / 1.542 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/1.715, allocations: 0 / 1.542 GB, free: 12.72 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15): time 0.0005096/1.716, allocations: 181.2 kB / 1.542 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.195e-05/1.716, allocations: 55.31 kB / 1.542 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005481/1.717, allocations: 469.3 kB / 1.542 GB, free: 12 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/1.717, allocations: 29.69 kB / 1.542 GB, free: 11.97 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001346/1.717, allocations: 207.9 kB / 1.543 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/1.717, allocations: 51.3 kB / 1.543 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.111e-05/1.717, allocations: 0 / 1.543 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001553/1.717, allocations: 362.7 kB / 1.543 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001015/1.717, allocations: 48.56 kB / 1.543 GB, free: 11.3 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/1.717, allocations: 209.1 kB / 1.543 GB, free: 11.04 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/1.718, allocations: 104 kB / 1.543 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/1.718, allocations: 0 / 1.543 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005233/1.718, allocations: 275.7 kB / 1.544 GB, free: 10.66 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003902/1.718, allocations: 0.9696 MB / 1.545 GB, free: 9.617 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.587e-06/1.719, allocations: 4 kB / 1.545 GB, free: 9.613 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.752e-05/1.719, allocations: 4 kB / 1.545 GB, free: 9.609 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/1.719, allocations: 67.89 kB / 1.545 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.719, allocations: 4 kB / 1.545 GB, free: 9.539 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/1.719, allocations: 43.72 kB / 1.545 GB, free: 9.496 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/1.719, allocations: 16 kB / 1.545 GB, free: 9.48 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-06/1.719, allocations: 4 kB / 1.545 GB, free: 9.477 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004137/1.72, allocations: 187.9 kB / 1.545 GB, free: 9.293 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.344e-06/1.72, allocations: 4.031 kB / 1.545 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.093e-06/1.72, allocations: 4 kB / 1.545 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002525/1.72, allocations: 75.83 kB / 1.545 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/1.72, allocations: 7.938 kB / 1.545 GB, free: 9.203 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000323/1.72, allocations: 39.81 kB / 1.545 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.719e-05/1.72, allocations: 16 kB / 1.545 GB, free: 9.148 MB / 0.9167 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.0001388/1.721, allocations: 116.8 kB / 1.545 GB, free: 9.027 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.295e-05/1.721, allocations: 47.38 kB / 1.545 GB, free: 8.98 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005372/1.721, allocations: 241.3 kB / 1.545 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.926e-05/1.721, allocations: 0 / 1.545 GB, free: 8.738 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/1.721, allocations: 4 kB / 1.545 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/1.721, allocations: 0 / 1.545 GB, free: 8.734 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009542/1.722, allocations: 0.6737 MB / 1.546 GB, free: 8.004 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/1.722, allocations: 8.125 kB / 1.546 GB, free: 7.996 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/1.722, allocations: 43.91 kB / 1.546 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.722, allocations: 4 kB / 1.546 GB, free: 7.949 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.44e-05/1.722, allocations: 4 kB / 1.546 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/1.722, allocations: 0 / 1.546 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/1.722, allocations: 0 / 1.546 GB, free: 7.945 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004643/1.723, allocations: 379.5 kB / 1.547 GB, free: 7.523 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001827/1.723, allocations: 152.4 kB / 1.547 GB, free: 7.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.405e-05/1.723, allocations: 7.938 kB / 1.547 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002388/1.723, allocations: 19.97 kB / 1.547 GB, free: 7.328 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/1.723, allocations: 19.89 kB / 1.547 GB, free: 7.309 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.295e-05/1.723, allocations: 4 kB / 1.547 GB, free: 7.305 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.0004023/1.724, allocations: 366.9 kB / 1.547 GB, free: 6.949 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0008574/1.725, allocations: 259.6 kB / 1.547 GB, free: 6.695 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 (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.001061/1.726, allocations: 0.5361 MB / 1.548 GB, free: 6.195 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0004811/1.726, allocations: 286.3 kB / 1.548 GB, free: 5.914 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/1.726, allocations: 4 kB / 1.548 GB, free: 5.91 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001177/1.726, allocations: 75.91 kB / 1.548 GB, free: 5.836 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001114/1.728, allocations: 204.1 kB / 1.548 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/1.729, allocations: 0.5782 MB / 1.549 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005429/1.729, allocations: 0.9016 MB / 1.55 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of SimCode: time 2.91e-07/1.729, allocations: 0 / 1.55 GB, free: 4.098 MB / 0.9167 GB Notification: Performance of Templates: time 0.01907/1.748, allocations: 10.89 MB / 1.56 GB, free: 9.301 MB / 0.9323 GB make -j1 -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.makefile (rm -f Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; mkfifo Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe >> ../files/Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.sim & ./Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValveTable.pipe 2>&1)