Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.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.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1") [: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.336/2.336, allocations: 284.9 MB / 292.2 MB, free: 10.71 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.001582/0.001582, allocations: 181.2 kB / 360.4 MB, free: 7.461 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.779/1.779, allocations: 205.1 MB / 0.6188 GB, free: 12.38 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.001266/0.001266, allocations: 86.92 kB / 0.7318 GB, free: 44.94 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.122e-05/1.139e-05, allocations: 0 / 0.8502 GB, free: 3.812 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6065/0.6065, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.673, allocations: 420.5 MB / 1.373 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/1.673, allocations: 95.5 kB / 1.373 GB, free: 147.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 5.918/7.591, allocations: 1.308 GB / 2.681 GB, free: 14.46 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0007282/7.592, allocations: 95.95 kB / 2.681 GB, free: 14.37 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.02023/7.612, allocations: 3.406 MB / 2.685 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.21e-05/7.612, allocations: 12.03 kB / 2.685 GB, free: 10.88 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005281/7.617, allocations: 0.5579 MB / 2.685 GB, free: 10.32 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02111/7.639, allocations: 4.344 MB / 2.689 GB, free: 5.91 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000147/7.639, allocations: 55.91 kB / 2.689 GB, free: 5.855 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007037/7.64, allocations: 112 kB / 2.689 GB, free: 5.746 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005299/7.645, allocations: 1.634 MB / 2.691 GB, free: 4.109 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005008/7.65, allocations: 1.833 MB / 2.693 GB, free: 2.137 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.373e-05/7.65, allocations: 7.938 kB / 2.693 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002372/7.65, allocations: 4 kB / 2.693 GB, free: 2.125 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.201e-05/7.65, allocations: 44 kB / 2.693 GB, free: 2.082 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4449/8.095, allocations: 11.51 MB / 2.704 GB, free: 228.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003186/8.098, allocations: 1.209 MB / 2.705 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002007/8.1, allocations: 0.9101 MB / 2.706 GB, free: 228.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009655/8.11, allocations: 3.368 MB / 2.71 GB, free: 226.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001558/8.112, allocations: 0.648 MB / 2.71 GB, free: 226.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 5.921e-06/8.112, allocations: 2.531 kB / 2.71 GB, free: 226.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.007701/8.12, allocations: 2.016 MB / 2.712 GB, free: 226.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/8.12, allocations: 72.2 kB / 2.712 GB, free: 226.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005646/8.125, allocations: 2.224 MB / 2.714 GB, free: 226 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0004101/8.126, allocations: 28.86 kB / 2.714 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.001081/8.127, allocations: 0.8421 MB / 2.715 GB, free: 225.6 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.000615/8.128, allocations: 338.8 kB / 2.716 GB, free: 225.4 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/8.128, allocations: 0 / 2.716 GB, free: 225.4 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001292/8.128, allocations: 365.9 kB / 2.716 GB, free: 225.1 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/8.129, allocations: 0.5496 MB / 2.716 GB, free: 225.1 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001857/8.131, allocations: 1.3 MB / 2.718 GB, free: 224.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00325/8.134, allocations: 0.8578 MB / 2.719 GB, free: 224.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.022e-05/8.135, allocations: 7.219 kB / 2.719 GB, free: 224.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009022/8.144, allocations: 2.472 MB / 2.721 GB, free: 223.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001759/8.145, allocations: 5.893 MB / 2.727 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.98e-05/8.145, allocations: 13.66 kB / 2.727 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/8.147, allocations: 446.3 kB / 2.727 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002562/8.15, allocations: 289.2 kB / 2.727 GB, free: 217.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00346/8.154, allocations: 2.079 MB / 2.729 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004536/8.158, allocations: 214.3 kB / 2.73 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005418/8.159, allocations: 86.94 kB / 2.73 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/8.159, allocations: 9.219 kB / 2.73 GB, free: 216.5 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006863/8.166, allocations: 2.063 MB / 2.732 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.237e-05/8.166, allocations: 19.25 kB / 2.732 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001651/8.167, allocations: 408.8 kB / 2.732 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002389/8.17, allocations: 281.1 kB / 2.732 GB, free: 216.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01017/8.18, allocations: 5.37 MB / 2.738 GB, free: 213.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003915/8.184, allocations: 182.6 kB / 2.738 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/8.185, allocations: 82 kB / 2.738 GB, free: 213.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.000611/8.185, allocations: 164.9 kB / 2.738 GB, free: 213.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009087/8.186, allocations: 282.7 kB / 2.738 GB, free: 213.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008332/8.195, allocations: 2.338 MB / 2.741 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.24e-05/8.195, allocations: 10.78 kB / 2.741 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/8.195, allocations: 9.953 kB / 2.741 GB, free: 213.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005221/8.2, allocations: 1.901 MB / 2.743 GB, free: 212.8 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01212/8.212, allocations: 3.931 MB / 2.746 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/8.212, allocations: 0 / 2.746 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/8.214, allocations: 178.4 kB / 2.747 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001511/8.215, allocations: 393 kB / 2.747 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002081/8.216, allocations: 21.98 kB / 2.747 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002522/8.218, allocations: 1.91 MB / 2.749 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.544e-06/8.218, allocations: 0 / 2.749 GB, free: 211.3 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008079/8.226, allocations: 2.908 MB / 2.752 GB, free: 210.9 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/8.229, allocations: 0.4902 MB / 2.752 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001009/8.23, allocations: 3.391 kB / 2.752 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003211/8.233, allocations: 130.4 kB / 2.752 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/8.233, allocations: 77.66 kB / 2.752 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001722/8.233, allocations: 46.52 kB / 2.752 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.003932/8.237, allocations: 1.705 MB / 2.754 GB, free: 210.4 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0073/8.245, allocations: 1.361 MB / 2.755 GB, free: 210.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002662/8.247, allocations: 1.04 MB / 2.756 GB, free: 210.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00736/8.255, allocations: 2.718 MB / 2.759 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.746e-06/8.255, allocations: 6.188 kB / 2.759 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001869/8.257, allocations: 0.6842 MB / 2.76 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009044/8.266, allocations: 1.026 MB / 2.761 GB, free: 209.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01373/8.28, allocations: 4.052 MB / 2.765 GB, free: 208.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003568/8.283, allocations: 2.338 MB / 2.767 GB, free: 208.2 MB / 0.9636 GB Notification: Performance of SimCode: time 1.903e-06/8.283, allocations: 0 / 2.767 GB, free: 208.2 MB / 0.9636 GB Notification: Performance of Templates: time 0.1592/8.443, allocations: 58.96 MB / 2.824 GB, free: 206.9 MB / 0.9636 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)