Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.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.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves") translateModel(Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.274/2.274, allocations: 284.9 MB / 292.2 MB, free: 10.8 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.001708/0.001707, allocations: 181.2 kB / 360.4 MB, free: 7.508 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.918/1.918, allocations: 205.1 MB / 0.6188 GB, free: 12.45 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.001659/0.001658, allocations: 82.14 kB / 0.7318 GB, free: 45.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.439e-05/1.451e-05, allocations: 4 kB / 0.8502 GB, free: 3.887 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6427/0.6428, allocations: 115.2 MB / 0.9628 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9517/1.595, allocations: 400.3 MB / 1.354 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/1.595, allocations: 97.12 kB / 1.354 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.963/3.558, allocations: 427.1 MB / 1.771 GB, free: 225.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001878/3.559, allocations: 35.36 kB / 1.771 GB, free: 225.3 MB / 0.948 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.004313/3.563, allocations: 1.301 MB / 1.772 GB, free: 224 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/3.563, allocations: 15.97 kB / 1.772 GB, free: 224 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/3.564, allocations: 146.5 kB / 1.772 GB, free: 223.8 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003548/3.568, allocations: 0.8433 MB / 1.773 GB, free: 223 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.857e-05/3.568, allocations: 21.5 kB / 1.773 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006341/3.568, allocations: 80 kB / 1.773 GB, free: 222.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001332/3.57, allocations: 398.4 kB / 1.774 GB, free: 222.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/3.571, allocations: 0.52 MB / 1.774 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/3.571, allocations: 3.938 kB / 1.774 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.638e-05/3.571, allocations: 0 / 1.774 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.44e-05/3.571, allocations: 16 kB / 1.774 GB, free: 221.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008058/3.579, allocations: 2.939 MB / 1.777 GB, free: 218.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000903/3.58, allocations: 307.4 kB / 1.777 GB, free: 218.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003672/3.581, allocations: 133.4 kB / 1.777 GB, free: 218.4 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003965/3.581, allocations: 348.7 kB / 1.778 GB, free: 218 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/3.581, allocations: 38.75 kB / 1.778 GB, free: 218 MB / 0.948 GB Notification: Performance of pre-optimization done (n=33): time 3.346e-06/3.581, allocations: 0 / 1.778 GB, free: 218 MB / 0.948 GB Notification: Performance of matching and sorting (n=33): time 0.002841/3.584, allocations: 494.7 kB / 1.778 GB, free: 217.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/3.584, allocations: 59.39 kB / 1.778 GB, free: 217.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/3.585, allocations: 0.6313 MB / 1.779 GB, free: 216.8 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006669/3.586, allocations: 33.7 kB / 1.779 GB, free: 216.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007766/3.587, allocations: 409.1 kB / 1.779 GB, free: 216.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/3.587, allocations: 106.4 kB / 1.779 GB, free: 216.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.232e-05/3.587, allocations: 4 kB / 1.779 GB, free: 216.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.081e-05/3.587, allocations: 326 kB / 1.78 GB, free: 215.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/3.588, allocations: 153.3 kB / 1.78 GB, free: 215.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002481/3.59, allocations: 1.415 MB / 1.781 GB, free: 213.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001868/3.592, allocations: 395.7 kB / 1.782 GB, free: 213.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/3.592, allocations: 4 kB / 1.782 GB, free: 213.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.00345/3.596, allocations: 0.6632 MB / 1.782 GB, free: 212.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001968/3.596, allocations: 0.8058 MB / 1.783 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/3.596, allocations: 1.438 kB / 1.783 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.455e-05/3.596, allocations: 7.906 kB / 1.783 GB, free: 212 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/3.599, allocations: 215.5 kB / 1.783 GB, free: 211.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001941/3.601, allocations: 3 MB / 1.786 GB, free: 208.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006954/3.608, allocations: 0.7694 MB / 1.787 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002397/3.608, allocations: 27.98 kB / 1.787 GB, free: 207.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/3.608, allocations: 4 kB / 1.787 GB, free: 207.9 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002123/3.61, allocations: 0.4907 MB / 1.788 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/3.61, allocations: 4 kB / 1.788 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/3.611, allocations: 4 kB / 1.788 GB, free: 207.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/3.612, allocations: 164 kB / 1.788 GB, free: 207.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/3.612, allocations: 4 kB / 1.788 GB, free: 207.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006809/3.619, allocations: 0.7538 MB / 1.788 GB, free: 206.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002549/3.619, allocations: 30.3 kB / 1.788 GB, free: 206.4 MB / 0.948 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.0007569/3.62, allocations: 133.9 kB / 1.789 GB, free: 206.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003421/3.62, allocations: 86.88 kB / 1.789 GB, free: 206.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002695/3.623, allocations: 0.5681 MB / 1.789 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/3.623, allocations: 11.98 kB / 1.789 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/3.623, allocations: 3.906 kB / 1.789 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.298e-06/3.623, allocations: 0 / 1.789 GB, free: 205.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/3.627, allocations: 1.218 MB / 1.79 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.005e-05/3.627, allocations: 8.125 kB / 1.79 GB, free: 204.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/3.628, allocations: 119.4 kB / 1.791 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.191e-05/3.628, allocations: 4 kB / 1.791 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.042e-05/3.628, allocations: 5.812 kB / 1.791 GB, free: 204.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/3.629, allocations: 2.965 MB / 1.793 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.734e-06/3.629, allocations: 4.031 kB / 1.793 GB, free: 201.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002176/3.631, allocations: 0.6617 MB / 1.794 GB, free: 200.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004903/3.632, allocations: 215.8 kB / 1.794 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001693/3.632, allocations: 0 / 1.794 GB, free: 200.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001059/3.633, allocations: 75.77 kB / 1.794 GB, free: 200.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.015e-05/3.633, allocations: 19.97 kB / 1.794 GB, free: 200.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.806e-05/3.633, allocations: 19.98 kB / 1.794 GB, free: 200.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008513/3.634, allocations: 472.1 kB / 1.795 GB, free: 199.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002728/3.637, allocations: 0.5928 MB / 1.795 GB, free: 199 MB / 0.948 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.001384/3.638, allocations: 0.5059 MB / 1.796 GB, free: 198.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.005645/3.644, allocations: 0.7688 MB / 1.797 GB, free: 197.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/3.644, allocations: 8.188 kB / 1.797 GB, free: 197.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009906/3.645, allocations: 223.6 kB / 1.797 GB, free: 197.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0041/3.649, allocations: 383.6 kB / 1.797 GB, free: 197.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/3.653, allocations: 1.054 MB / 1.798 GB, free: 196.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008474/3.654, allocations: 1.128 MB / 1.799 GB, free: 194.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.262e-06/3.654, allocations: 0 / 1.799 GB, free: 194.9 MB / 0.948 GB Notification: Performance of Templates: time 0.06449/3.718, allocations: 26.71 MB / 1.826 GB, free: 168.8 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.sim & ./Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Actuators.Valves.Examples.TwoWayValves.pipe 2>&1)