Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.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_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") [: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.138/2.138, allocations: 253.1 MB / 260.4 MB, free: 7.578 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.001648/0.001648, allocations: 185.1 kB / 319.6 MB, free: 3.312 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 1.838/1.838, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001547/0.001547, allocations: 88.27 kB / 0.6746 GB, free: 4.398 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.142e-05, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2167/0.2167, allocations: 106.2 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.652/5.868, allocations: 2.232 GB / 3.12 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/5.869, allocations: 95.25 kB / 3.12 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 8.029/13.9, allocations: 1.599 GB / 4.719 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0004008/13.9, allocations: 60.06 kB / 4.719 GB, free: 105.3 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008892/13.91, allocations: 2.51 MB / 4.721 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/13.91, allocations: 10 kB / 4.721 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/13.92, allocations: 0.877 MB / 4.722 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/13.93, allocations: 2.714 MB / 4.725 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.608e-05/13.93, allocations: 41.53 kB / 4.725 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004934/13.93, allocations: 89.5 kB / 4.725 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004395/13.93, allocations: 1.238 MB / 4.726 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003987/13.94, allocations: 1.407 MB / 4.728 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.243e-05/13.94, allocations: 7.281 kB / 4.728 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002121/13.94, allocations: 0 / 4.728 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-05/13.94, allocations: 50.59 kB / 4.728 GB, free: 103.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01648/13.96, allocations: 7.605 MB / 4.735 GB, free: 99.65 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002117/13.96, allocations: 0.8786 MB / 4.736 GB, free: 99.62 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001329/13.96, allocations: 0.5383 MB / 4.736 GB, free: 99.61 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003958/13.96, allocations: 282 kB / 4.737 GB, free: 99.33 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/13.96, allocations: 40.91 kB / 4.737 GB, free: 99.29 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=78): time 3.547e-06/13.96, allocations: 2.812 kB / 4.737 GB, free: 99.29 MB / 0.9323 GB Notification: Performance of matching and sorting (n=78): time 0.006082/13.97, allocations: 1.134 MB / 4.738 GB, free: 99.13 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.056e-05/13.97, allocations: 61.5 kB / 4.738 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002941/13.97, allocations: 1.299 MB / 4.739 GB, free: 98.86 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003131/13.97, allocations: 25.7 kB / 4.739 GB, free: 98.83 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004812/13.97, allocations: 0.6288 MB / 4.74 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003707/13.97, allocations: 268.6 kB / 4.74 GB, free: 98.32 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.398e-05/13.97, allocations: 0 / 4.74 GB, free: 98.32 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001034/13.97, allocations: 344.4 kB / 4.74 GB, free: 98.02 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009146/13.97, allocations: 359.4 kB / 4.741 GB, free: 98.01 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/13.97, allocations: 0.7582 MB / 4.741 GB, free: 97.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001829/13.97, allocations: 0.5145 MB / 4.742 GB, free: 97.49 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/13.97, allocations: 3.188 kB / 4.742 GB, free: 97.49 MB / 0.9323 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005215/13.98, allocations: 1.341 MB / 4.743 GB, free: 97.33 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008877/13.98, allocations: 3.843 MB / 4.747 GB, free: 93.35 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.025e-05/13.98, allocations: 11.31 kB / 4.747 GB, free: 93.35 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/13.98, allocations: 103.2 kB / 4.747 GB, free: 93.34 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002541/13.98, allocations: 268.5 kB / 4.747 GB, free: 93.34 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003403/13.99, allocations: 2.212 MB / 4.75 GB, free: 91.56 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003049/13.99, allocations: 167.8 kB / 4.75 GB, free: 91.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001879/13.99, allocations: 60.12 kB / 4.75 GB, free: 91.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/13.99, allocations: 3.594 kB / 4.75 GB, free: 91.5 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004073/13.99, allocations: 1.041 MB / 4.751 GB, free: 91.48 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/13.99, allocations: 9.375 kB / 4.751 GB, free: 91.48 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004658/14, allocations: 111.7 kB / 4.751 GB, free: 91.47 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001942/14, allocations: 246.6 kB / 4.751 GB, free: 91.47 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003038/14, allocations: 1.627 MB / 4.753 GB, free: 90.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/14, allocations: 138.4 kB / 4.753 GB, free: 90.23 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/14, allocations: 53.36 kB / 4.753 GB, free: 90.23 MB / 0.9323 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 (122): * Single equations (assignments): 118 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004717/14, allocations: 141.3 kB / 4.753 GB, free: 90.12 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/14, allocations: 185.4 kB / 4.753 GB, free: 90.02 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004793/14.01, allocations: 1.102 MB / 4.754 GB, free: 89.94 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.421e-05/14.01, allocations: 6.812 kB / 4.754 GB, free: 89.94 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/14.01, allocations: 6.016 kB / 4.754 GB, free: 89.94 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003243/14.01, allocations: 0.9189 MB / 4.755 GB, free: 89.76 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008336/14.02, allocations: 2.632 MB / 4.758 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/14.02, allocations: 3.25 kB / 4.758 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/14.02, allocations: 202.9 kB / 4.758 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004675/14.02, allocations: 95.39 kB / 4.758 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.397e-05/14.02, allocations: 14.05 kB / 4.758 GB, free: 89.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003212/14.03, allocations: 2.212 MB / 4.76 GB, free: 87.43 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/14.03, allocations: 2.812 kB / 4.76 GB, free: 87.43 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005199/14.03, allocations: 1.664 MB / 4.762 GB, free: 87.02 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001318/14.03, allocations: 356.2 kB / 4.762 GB, free: 86.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003915/14.03, allocations: 7.844 kB / 4.762 GB, free: 86.82 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002163/14.04, allocations: 106.2 kB / 4.762 GB, free: 86.81 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/14.04, allocations: 44.27 kB / 4.762 GB, free: 86.81 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/14.04, allocations: 31.81 kB / 4.762 GB, free: 86.81 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002154/14.04, allocations: 0.9858 MB / 4.763 GB, free: 86.66 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.006691/14.04, allocations: 1.28 MB / 4.765 GB, free: 86.51 MB / 0.9323 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 (77): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.007649/14.05, allocations: 4.389 MB / 4.769 GB, free: 84.75 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004702/14.06, allocations: 1.676 MB / 4.771 GB, free: 84.53 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.725e-06/14.06, allocations: 0 / 4.771 GB, free: 84.53 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001286/14.06, allocations: 0.5129 MB / 4.771 GB, free: 84.42 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00702/14.07, allocations: 0.8458 MB / 4.772 GB, free: 84.38 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008672/14.07, allocations: 2.743 MB / 4.775 GB, free: 83.68 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002578/14.08, allocations: 1.77 MB / 4.776 GB, free: 82.94 MB / 0.9323 GB Notification: Performance of SimCode: time 1.283e-06/14.08, allocations: 0 / 4.776 GB, free: 82.94 MB / 0.9323 GB Notification: Performance of Templates: time 0.1978/14.27, allocations: 58.74 MB / 4.834 GB, free: 79.3 MB / 0.9323 GB