Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") translateModel(Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow") [: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 1.6.0+build.1/package.mo): time 0.4812/0.4812, allocations: 94.73 MB / 102 MB, free: 10.36 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001105/0.001105, allocations: 175.1 kB / 125.3 MB, free: 11.99 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.119/1.119, allocations: 170.5 MB / 319 MB, free: 9.32 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001587/0.001587, allocations: 110.3 kB / 381 MB, free: 18.11 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.963e-06/7.113e-06, allocations: 0 / 448.6 MB, free: 2.09 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1394, allocations: 61.53 MB / 0.4981 GB, free: 4.465 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.122/1.262, allocations: 451.2 MB / 0.9387 GB, free: 174.6 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002618/1.262, allocations: 89.5 kB / 0.9388 GB, free: 174.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.8315/2.094, allocations: 296.6 MB / 1.228 GB, free: 97.43 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002083/2.094, allocations: 36.06 kB / 1.229 GB, free: 97.4 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 159 * Number of variables: 159 Notification: Performance of Generate backend data structure: time 0.004182/2.098, allocations: 1.402 MB / 1.23 GB, free: 95.96 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.698e-05/2.098, allocations: 13.03 kB / 1.23 GB, free: 95.95 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001435/2.099, allocations: 170.1 kB / 1.23 GB, free: 95.79 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003626/2.103, allocations: 1.157 MB / 1.231 GB, free: 94.61 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.455e-05/2.103, allocations: 20 kB / 1.231 GB, free: 94.59 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002305/2.103, allocations: 44 kB / 1.231 GB, free: 94.54 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001387/2.105, allocations: 0.6586 MB / 1.232 GB, free: 93.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001247/2.106, allocations: 0.79 MB / 1.233 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/2.106, allocations: 3.938 kB / 1.233 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.789e-05/2.106, allocations: 4.75 kB / 1.233 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.588e-05/2.106, allocations: 16 kB / 1.233 GB, free: 93 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006032/2.112, allocations: 3.92 MB / 1.237 GB, free: 88.95 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008318/2.113, allocations: 0.5368 MB / 1.237 GB, free: 88.41 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/2.114, allocations: 303.2 kB / 1.237 GB, free: 88.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001493/2.114, allocations: 179.5 kB / 1.238 GB, free: 87.91 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/2.114, allocations: 46.84 kB / 1.238 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=47): time 2.985e-06/2.114, allocations: 0 / 1.238 GB, free: 87.85 MB / 0.5261 GB Notification: Performance of matching and sorting (n=47): time 0.002664/2.116, allocations: 0.8967 MB / 1.238 GB, free: 86.94 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.745e-05/2.117, allocations: 303.2 kB / 1.239 GB, free: 86.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/2.118, allocations: 1.119 MB / 1.24 GB, free: 85.45 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 9.683e-05/2.118, allocations: 25.7 kB / 1.24 GB, free: 85.42 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/2.119, allocations: 376.9 kB / 1.24 GB, free: 85.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000113/2.119, allocations: 157.6 kB / 1.24 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.398e-05/2.119, allocations: 3.938 kB / 1.24 GB, free: 84.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.307e-05/2.119, allocations: 337.9 kB / 1.241 GB, free: 84.55 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000424/2.119, allocations: 309.3 kB / 1.241 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005363/2.12, allocations: 0.5515 MB / 1.242 GB, free: 83.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001511/2.121, allocations: 0.5089 MB / 1.242 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/2.121, allocations: 4 kB / 1.242 GB, free: 83.08 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003588/2.125, allocations: 1.291 MB / 1.243 GB, free: 81.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003165/2.125, allocations: 1.508 MB / 1.245 GB, free: 80.17 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.608e-05/2.125, allocations: 4 kB / 1.245 GB, free: 80.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00298/2.128, allocations: 493.5 kB / 1.245 GB, free: 79.68 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007338/2.129, allocations: 159.8 kB / 1.245 GB, free: 79.53 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/2.131, allocations: 1.048 MB / 1.246 GB, free: 78.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001612/2.132, allocations: 119.3 kB / 1.247 GB, free: 78.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/2.132, allocations: 43.97 kB / 1.247 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/2.132, allocations: 0 / 1.247 GB, free: 78.29 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001436/2.134, allocations: 0.7784 MB / 1.247 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.014e-05/2.134, allocations: 4 kB / 1.247 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/2.134, allocations: 8 kB / 1.247 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008416/2.135, allocations: 187.8 kB / 1.248 GB, free: 77.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/2.135, allocations: 19.92 kB / 1.248 GB, free: 77.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001548/2.136, allocations: 99.38 kB / 1.248 GB, free: 77.21 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/2.136, allocations: 51.91 kB / 1.248 GB, free: 77.16 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 64 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003001/2.137, allocations: 125 kB / 1.248 GB, free: 77.03 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004496/2.137, allocations: 118.5 kB / 1.248 GB, free: 76.91 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003167/2.14, allocations: 1.098 MB / 1.249 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/2.14, allocations: 4.75 kB / 1.249 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.936e-06/2.14, allocations: 0 / 1.249 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/2.14, allocations: 3.984 kB / 1.249 GB, free: 75.8 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004168/2.145, allocations: 1.973 MB / 1.251 GB, free: 73.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/2.145, allocations: 3.984 kB / 1.251 GB, free: 73.78 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/2.145, allocations: 104 kB / 1.251 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001538/2.147, allocations: 302.8 kB / 1.251 GB, free: 73.38 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.136e-05/2.147, allocations: 15.98 kB / 1.251 GB, free: 73.37 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001256/2.148, allocations: 0.8968 MB / 1.252 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.735e-06/2.148, allocations: 4 kB / 1.252 GB, free: 72.45 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003321/2.151, allocations: 1.453 MB / 1.254 GB, free: 70.95 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008904/2.152, allocations: 248.7 kB / 1.254 GB, free: 70.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004788/2.153, allocations: 11.98 kB / 1.254 GB, free: 70.68 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001273/2.154, allocations: 55.86 kB / 1.254 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001324/2.154, allocations: 40.44 kB / 1.254 GB, free: 70.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/2.154, allocations: 27.97 kB / 1.254 GB, free: 70.55 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.001558/2.156, allocations: 0.8562 MB / 1.255 GB, free: 69.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002749/2.159, allocations: 0.6472 MB / 1.255 GB, free: 69.05 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (mixBox.filter.x[1],mixBox.filter.x[2],mixBox.filterOutMin.x[1],mixBox.filterOutMin.x[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 41 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/2.16, allocations: 453.3 kB / 1.256 GB, free: 68.63 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002304/2.162, allocations: 1.281 MB / 1.257 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/2.162, allocations: 0.625 kB / 1.257 GB, free: 67.33 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0005696/2.163, allocations: 337.9 kB / 1.257 GB, free: 67 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/2.165, allocations: 397 kB / 1.258 GB, free: 66.62 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/2.169, allocations: 1.609 MB / 1.259 GB, free: 64.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/2.171, allocations: 1.281 MB / 1.261 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of SimCode: time 1.022e-06/2.171, allocations: 0 / 1.261 GB, free: 63.67 MB / 0.5261 GB Notification: Performance of Templates: time 0.04786/2.218, allocations: 30.18 MB / 1.29 GB, free: 33.72 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.makefile (rm -f Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.sim & ./Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Actuators.Dampers.Examples.MixingBoxMinimumFlow.pipe 2>&1)