Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp") [: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.301/2.301, 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.001645/0.001645, allocations: 184 kB / 360.4 MB, free: 7.488 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.833/1.833, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001283/0.001282, allocations: 92.81 kB / 0.7318 GB, free: 44.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.276e-05/1.28e-05, allocations: 4 kB / 0.8502 GB, free: 3.879 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.653/0.6531, allocations: 115.2 MB / 0.9628 GB, free: 78.33 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.17/5.824, allocations: 2.113 GB / 3.075 GB, free: 286.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/5.824, allocations: 90.64 kB / 3.075 GB, free: 286.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 7.306/13.13, allocations: 1.65 GB / 4.726 GB, free: 117.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004659/13.13, allocations: 56.19 kB / 4.726 GB, free: 117.8 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.009603/13.14, allocations: 2.53 MB / 4.728 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/13.14, allocations: 11.09 kB / 4.728 GB, free: 116.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01044/13.15, allocations: 0.899 MB / 4.729 GB, free: 116.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01253/13.16, allocations: 2.705 MB / 4.732 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001062/13.16, allocations: 43.59 kB / 4.732 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005579/13.16, allocations: 97.14 kB / 4.732 GB, free: 114.8 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0045/13.17, allocations: 1.246 MB / 4.733 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004557/13.17, allocations: 1.42 MB / 4.735 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.358e-05/13.17, allocations: 2.875 kB / 4.735 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002173/13.17, allocations: 2.156 kB / 4.735 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.068e-05/13.17, allocations: 47.08 kB / 4.735 GB, free: 113.7 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02455/13.2, allocations: 7.638 MB / 4.742 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/13.2, allocations: 0.8917 MB / 4.743 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002442/13.2, allocations: 0.5345 MB / 4.743 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000628/13.2, allocations: 288.1 kB / 4.744 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/13.2, allocations: 44.38 kB / 4.744 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=81): time 6.081e-06/13.2, allocations: 3.938 kB / 4.744 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81): time 0.01097/13.22, allocations: 1.186 MB / 4.745 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/13.22, allocations: 59.5 kB / 4.745 GB, free: 107 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005549/13.22, allocations: 1.301 MB / 4.746 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0004076/13.22, allocations: 29.42 kB / 4.746 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001015/13.22, allocations: 0.6427 MB / 4.747 GB, free: 106 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007572/13.22, allocations: 274.9 kB / 4.747 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001644/13.22, allocations: 0 / 4.747 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001688/13.22, allocations: 348.2 kB / 4.748 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/13.23, allocations: 357.7 kB / 4.748 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002193/13.23, allocations: 0.7667 MB / 4.749 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003259/13.23, allocations: 0.5219 MB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.622e-05/13.23, allocations: 2.75 kB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.007659/13.24, allocations: 1.393 MB / 4.751 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009414/13.24, allocations: 3.849 MB / 4.754 GB, free: 99.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.182e-05/13.24, allocations: 7.531 kB / 4.754 GB, free: 99.88 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008187/13.24, allocations: 142.6 kB / 4.754 GB, free: 99.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002751/13.24, allocations: 267.1 kB / 4.755 GB, free: 99.81 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004405/13.25, allocations: 3.383 MB / 4.758 GB, free: 96.69 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003357/13.25, allocations: 162.7 kB / 4.758 GB, free: 96.64 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003812/13.25, allocations: 62.66 kB / 4.758 GB, free: 96.63 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/13.25, allocations: 3.469 kB / 4.758 GB, free: 96.63 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005026/13.26, allocations: 1.159 MB / 4.759 GB, free: 96.18 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.654e-05/13.26, allocations: 10.59 kB / 4.759 GB, free: 96.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006195/13.26, allocations: 137.6 kB / 4.759 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/13.26, allocations: 242.7 kB / 4.76 GB, free: 96.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004467/13.26, allocations: 3.043 MB / 4.763 GB, free: 93.04 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003024/13.27, allocations: 146.5 kB / 4.763 GB, free: 92.93 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/13.27, allocations: 51.91 kB / 4.763 GB, free: 92.88 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: floMacSta.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004909/13.27, allocations: 136.7 kB / 4.763 GB, free: 92.74 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000608/13.27, allocations: 190.7 kB / 4.763 GB, free: 92.55 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005213/13.27, allocations: 1.225 MB / 4.764 GB, free: 91.52 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/13.27, allocations: 9.125 kB / 4.764 GB, free: 91.51 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.978e-06/13.27, allocations: 0 / 4.764 GB, free: 91.51 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00377/13.28, allocations: 1.048 MB / 4.765 GB, free: 90.54 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009476/13.29, allocations: 2.7 MB / 4.768 GB, free: 88.28 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/13.29, allocations: 0 / 4.768 GB, free: 88.28 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002308/13.29, allocations: 218 kB / 4.768 GB, free: 88.11 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005984/13.29, allocations: 119.9 kB / 4.768 GB, free: 88.01 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/13.29, allocations: 13.62 kB / 4.768 GB, free: 88 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004814/13.3, allocations: 4.72 MB / 4.773 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/13.3, allocations: 3.562 kB / 4.773 GB, free: 83.09 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005614/13.3, allocations: 1.801 MB / 4.775 GB, free: 81.2 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001495/13.3, allocations: 354.5 kB / 4.775 GB, free: 80.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006004/13.3, allocations: 7.5 kB / 4.775 GB, free: 80.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002826/13.31, allocations: 103 kB / 4.775 GB, free: 80.73 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002624/13.31, allocations: 52.08 kB / 4.775 GB, free: 80.69 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/13.31, allocations: 39.97 kB / 4.775 GB, free: 80.65 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.002532/13.31, allocations: 0.9791 MB / 4.776 GB, free: 79.65 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.008214/13.32, allocations: 1.301 MB / 4.777 GB, free: 78.35 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (floMacDyn.vol.dynBal.U,floMacDyn.vol.dynBal.m,floMacDyn.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007858/13.33, allocations: 4.379 MB / 4.782 GB, free: 74.4 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005887/13.33, allocations: 1.836 MB / 4.784 GB, free: 72.54 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/13.33, allocations: 0 / 4.784 GB, free: 72.54 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/13.33, allocations: 0.6506 MB / 4.784 GB, free: 71.87 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007531/13.34, allocations: 0.8497 MB / 4.785 GB, free: 71.05 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009394/13.35, allocations: 2.769 MB / 4.788 GB, free: 68.26 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002455/13.35, allocations: 1.782 MB / 4.789 GB, free: 66.45 MB / 0.9792 GB Notification: Performance of SimCode: time 1.322e-06/13.35, allocations: 0 / 4.789 GB, free: 66.45 MB / 0.9792 GB Notification: Performance of Templates: time 0.1492/13.5, allocations: 59.83 MB / 4.848 GB, free: 7.461 MB / 0.9792 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)