Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") [: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.473/1.473, allocations: 285.5 MB / 292.8 MB, free: 10.46 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.001095/0.001095, allocations: 185.3 kB / 361.1 MB, free: 7.102 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.355/1.355, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.001018/0.001019, allocations: 90.42 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.081e-05/1.084e-05, allocations: 4 kB / 0.8511 GB, free: 2.984 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6482/0.6482, allocations: 115.3 MB / 0.9637 GB, free: 78.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8306/1.479, allocations: 400.5 MB / 1.355 GB, free: 165.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/1.479, allocations: 100.2 kB / 1.355 GB, free: 165.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.233/2.712, allocations: 427.1 MB / 1.772 GB, free: 196.4 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 8.642e-05/2.713, allocations: 39.91 kB / 1.772 GB, free: 196.4 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002573/2.715, allocations: 1.303 MB / 1.773 GB, free: 195 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/2.715, allocations: 8.031 kB / 1.773 GB, free: 195 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003853/2.716, allocations: 154.5 kB / 1.773 GB, free: 194.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/2.717, allocations: 0.8519 MB / 1.774 GB, free: 194 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/2.717, allocations: 16 kB / 1.774 GB, free: 194 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002068/2.718, allocations: 80 kB / 1.774 GB, free: 193.9 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006889/2.718, allocations: 398.4 kB / 1.775 GB, free: 193.5 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007043/2.719, allocations: 0.522 MB / 1.775 GB, free: 193 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/2.719, allocations: 4 kB / 1.775 GB, free: 193 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.131e-05/2.719, allocations: 0 / 1.775 GB, free: 193 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/2.719, allocations: 12 kB / 1.775 GB, free: 193 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003741/2.723, allocations: 2.922 MB / 1.778 GB, free: 189.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004811/2.723, allocations: 310.8 kB / 1.778 GB, free: 189.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001942/2.723, allocations: 137.4 kB / 1.779 GB, free: 189.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002767/2.724, allocations: 347.8 kB / 1.779 GB, free: 189.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/2.724, allocations: 46.75 kB / 1.779 GB, free: 189 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=33): time 2.755e-06/2.724, allocations: 3.938 kB / 1.779 GB, free: 189 MB / 0.9323 GB Notification: Performance of matching and sorting (n=33): time 0.001415/2.725, allocations: 498.7 kB / 1.779 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.571e-05/2.725, allocations: 55.41 kB / 1.779 GB, free: 188.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006425/2.726, allocations: 0.6273 MB / 1.78 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001392/2.726, allocations: 33.7 kB / 1.78 GB, free: 187.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002744/2.726, allocations: 409.3 kB / 1.78 GB, free: 187.4 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 6.28e-05/2.726, allocations: 106.4 kB / 1.781 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.807e-05/2.726, allocations: 0 / 1.781 GB, free: 187.3 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/2.727, allocations: 330 kB / 1.781 GB, free: 186.9 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002447/2.727, allocations: 153.3 kB / 1.781 GB, free: 186.8 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001093/2.728, allocations: 1.415 MB / 1.782 GB, free: 185 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/2.729, allocations: 392.6 kB / 1.783 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/2.729, allocations: 0 / 1.783 GB, free: 184.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001463/2.73, allocations: 0.6676 MB / 1.783 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001766/2.73, allocations: 0.8057 MB / 1.784 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.247e-06/2.73, allocations: 4 kB / 1.784 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.384e-05/2.73, allocations: 9.266 kB / 1.784 GB, free: 183 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001409/2.732, allocations: 209.8 kB / 1.784 GB, free: 182.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/2.733, allocations: 2.997 MB / 1.787 GB, free: 179.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/2.737, allocations: 0.7693 MB / 1.788 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.628e-05/2.737, allocations: 31.98 kB / 1.788 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.937e-06/2.737, allocations: 4 kB / 1.788 GB, free: 178.9 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001179/2.738, allocations: 498.5 kB / 1.789 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/2.738, allocations: 0 / 1.789 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.906e-06/2.738, allocations: 8 kB / 1.789 GB, free: 178.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007027/2.739, allocations: 164 kB / 1.789 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/2.739, allocations: 4 kB / 1.789 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/2.742, allocations: 0.7498 MB / 1.79 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.56e-05/2.742, allocations: 27.98 kB / 1.79 GB, free: 177.5 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (71): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003258/2.742, allocations: 133.9 kB / 1.79 GB, free: 177.3 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/2.743, allocations: 90.81 kB / 1.79 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001515/2.744, allocations: 0.571 MB / 1.79 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/2.744, allocations: 4 kB / 1.79 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/2.744, allocations: 11.84 kB / 1.79 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/2.744, allocations: 7.984 kB / 1.79 GB, free: 176.7 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002186/2.746, allocations: 1.231 MB / 1.792 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.581e-06/2.746, allocations: 0 / 1.792 GB, free: 175.4 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005707/2.747, allocations: 123.9 kB / 1.792 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/2.747, allocations: 4 kB / 1.792 GB, free: 175.3 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/2.747, allocations: 4 kB / 1.792 GB, free: 175.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008688/2.748, allocations: 2.961 MB / 1.795 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/2.748, allocations: 0 / 1.795 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001224/2.749, allocations: 0.6598 MB / 1.795 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004054/2.75, allocations: 215.8 kB / 1.795 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/2.75, allocations: 0 / 1.795 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006381/2.75, allocations: 72.28 kB / 1.795 GB, free: 171.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/2.75, allocations: 27.91 kB / 1.795 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-05/2.75, allocations: 12 kB / 1.796 GB, free: 171.1 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0006101/2.751, allocations: 480 kB / 1.796 GB, free: 170.6 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002656/2.754, allocations: 0.5811 MB / 1.797 GB, free: 170.1 MB / 0.9323 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 (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/2.755, allocations: 0.5154 MB / 1.797 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.00335/2.759, allocations: 0.7728 MB / 1.798 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/2.759, allocations: 4.75 kB / 1.798 GB, free: 168.8 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0005357/2.759, allocations: 219.7 kB / 1.798 GB, free: 168.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002266/2.761, allocations: 401.8 kB / 1.798 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/2.764, allocations: 1.065 MB / 1.799 GB, free: 167.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005176/2.764, allocations: 1.124 MB / 1.801 GB, free: 166 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/2.764, allocations: 0 / 1.801 GB, free: 166 MB / 0.9323 GB Notification: Performance of Templates: time 0.0385/2.803, allocations: 26.7 MB / 1.827 GB, free: 139.8 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)