Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_dp.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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 7.0.1/package.mo): time 2.27/2.27, allocations: 253.1 MB / 260.4 MB, free: 0.5859 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001663/0.001663, allocations: 179.7 kB / 319.6 MB, free: 7.699 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.011/2.011, allocations: 205.4 MB / 0.5704 GB, free: 25.61 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001394/0.001393, allocations: 89.48 kB / 0.6746 GB, free: 3.078 MB / 0.4948 GB Notification: Performance of FrontEnd - loaded program: time 1.632e-05/1.647e-05, allocations: 4 kB / 0.7843 GB, free: 2.691 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4962, allocations: 106.2 MB / 0.888 GB, free: 77.14 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.451/5.948, allocations: 2.231 GB / 3.119 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/5.948, allocations: 91.89 kB / 3.119 GB, free: 220.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.697/13.64, allocations: 1.599 GB / 4.718 GB, free: 107.8 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.000484/13.65, allocations: 63.23 kB / 4.718 GB, free: 107.8 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 347 * Number of variables: 347 Notification: Performance of Generate backend data structure: time 0.01112/13.66, allocations: 2.527 MB / 4.721 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/13.66, allocations: 14.44 kB / 4.721 GB, free: 107.1 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01007/13.67, allocations: 0.8766 MB / 4.722 GB, free: 107 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01257/13.68, allocations: 2.718 MB / 4.724 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/13.68, allocations: 49.72 kB / 4.724 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007736/13.68, allocations: 88.72 kB / 4.725 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004903/13.69, allocations: 1.253 MB / 4.726 GB, free: 106.6 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004992/13.69, allocations: 1.42 MB / 4.727 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.413e-05/13.69, allocations: 3.375 kB / 4.727 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002361/13.69, allocations: 3.25 kB / 4.727 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.768e-05/13.69, allocations: 50.33 kB / 4.727 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02877/13.72, allocations: 7.641 MB / 4.735 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003792/13.72, allocations: 0.9023 MB / 4.736 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002258/13.73, allocations: 0.5406 MB / 4.736 GB, free: 102.6 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006155/13.73, allocations: 282.3 kB / 4.736 GB, free: 102.3 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.661e-05/13.73, allocations: 44.78 kB / 4.736 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=81): time 5.24e-06/13.73, allocations: 0 / 4.736 GB, free: 102.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=81): time 0.01054/13.74, allocations: 1.179 MB / 4.738 GB, free: 102.1 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.663e-05/13.74, allocations: 59.53 kB / 4.738 GB, free: 102 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005224/13.74, allocations: 1.311 MB / 4.739 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004128/13.74, allocations: 28.92 kB / 4.739 GB, free: 101.8 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001088/13.74, allocations: 0.6246 MB / 4.74 GB, free: 101.5 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000758/13.74, allocations: 275.7 kB / 4.74 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001605/13.74, allocations: 3.469 kB / 4.74 GB, free: 101.4 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001773/13.75, allocations: 348.8 kB / 4.74 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00152/13.75, allocations: 357.4 kB / 4.74 GB, free: 101.1 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002068/13.75, allocations: 0.7672 MB / 4.741 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/13.75, allocations: 0.5161 MB / 4.742 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.927e-05/13.75, allocations: 5.125 kB / 4.742 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.008933/13.76, allocations: 1.391 MB / 4.743 GB, free: 100.4 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001216/13.76, allocations: 3.856 MB / 4.747 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.406e-05/13.76, allocations: 7.875 kB / 4.747 GB, free: 96.41 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/13.76, allocations: 136.6 kB / 4.747 GB, free: 96.39 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003993/13.77, allocations: 276.7 kB / 4.747 GB, free: 96.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005956/13.77, allocations: 3.377 MB / 4.751 GB, free: 93.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004716/13.78, allocations: 159.1 kB / 4.751 GB, free: 93.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005145/13.78, allocations: 67.91 kB / 4.751 GB, free: 93.47 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/13.78, allocations: 8.031 kB / 4.751 GB, free: 93.47 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007336/13.79, allocations: 1.152 MB / 4.752 GB, free: 93.35 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.677e-05/13.79, allocations: 14.38 kB / 4.752 GB, free: 93.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008881/13.79, allocations: 137.5 kB / 4.752 GB, free: 93.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003043/13.79, allocations: 239.2 kB / 4.752 GB, free: 93.33 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006565/13.8, allocations: 3.036 MB / 4.755 GB, free: 90.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00435/13.8, allocations: 144.4 kB / 4.755 GB, free: 90.84 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004265/13.8, allocations: 55.88 kB / 4.755 GB, free: 90.84 MB / 0.9167 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.0006972/13.8, allocations: 139.5 kB / 4.756 GB, free: 90.73 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000843/13.8, allocations: 184.6 kB / 4.756 GB, free: 90.63 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008/13.81, allocations: 1.221 MB / 4.757 GB, free: 90.45 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/13.81, allocations: 19.03 kB / 4.757 GB, free: 90.44 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/13.81, allocations: 0 / 4.757 GB, free: 90.44 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005672/13.82, allocations: 1.026 MB / 4.758 GB, free: 90.16 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01349/13.83, allocations: 2.683 MB / 4.761 GB, free: 89.63 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.41e-05/13.83, allocations: 0 / 4.761 GB, free: 89.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00348/13.83, allocations: 227.8 kB / 4.761 GB, free: 89.63 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008653/13.84, allocations: 119.5 kB / 4.761 GB, free: 89.61 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002571/13.84, allocations: 14.36 kB / 4.761 GB, free: 89.61 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006791/13.84, allocations: 4.69 MB / 4.766 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.073e-05/13.84, allocations: 0 / 4.766 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008134/13.85, allocations: 1.806 MB / 4.767 GB, free: 84.89 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001993/13.85, allocations: 359.6 kB / 4.768 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007949/13.85, allocations: 5.312 kB / 4.768 GB, free: 84.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003928/13.86, allocations: 115 kB / 4.768 GB, free: 84.69 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002771/13.86, allocations: 42.86 kB / 4.768 GB, free: 84.69 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002126/13.86, allocations: 35.75 kB / 4.768 GB, free: 84.69 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.003928/13.86, allocations: 0.9919 MB / 4.769 GB, free: 84.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.01197/13.87, allocations: 1.272 MB / 4.77 GB, free: 84.46 MB / 0.9167 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.00975/13.88, allocations: 4.397 MB / 4.774 GB, free: 82.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.005726/13.89, allocations: 1.832 MB / 4.776 GB, free: 82.42 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.949e-06/13.89, allocations: 7.094 kB / 4.776 GB, free: 82.42 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001775/13.89, allocations: 0.6406 MB / 4.777 GB, free: 82.21 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00742/13.9, allocations: 0.844 MB / 4.778 GB, free: 82.18 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009661/13.91, allocations: 2.784 MB / 4.78 GB, free: 81.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002988/13.91, allocations: 1.783 MB / 4.782 GB, free: 80.73 MB / 0.9167 GB Notification: Performance of SimCode: time 2.074e-06/13.91, allocations: 0 / 4.782 GB, free: 80.73 MB / 0.9167 GB Notification: Performance of Templates: time 0.1529/14.06, allocations: 59.76 MB / 4.84 GB, free: 78.95 MB / 0.9167 GB