Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.492/1.492, allocations: 285.5 MB / 292.8 MB, free: 10.44 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001377/0.001378, allocations: 183.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.419/1.419, allocations: 205.1 MB / 0.6195 GB, free: 10.3 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008236/0.0008237, allocations: 89.09 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.156e-06/8.176e-06, allocations: 0 / 0.8511 GB, free: 2.988 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7069/0.7069, allocations: 115.3 MB / 0.9637 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.759/4.466, allocations: 2.113 GB / 3.076 GB, free: 24.61 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/4.467, allocations: 90.05 kB / 3.076 GB, free: 24.52 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.769/10.24, allocations: 1.65 GB / 4.726 GB, free: 112.4 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002471/10.24, allocations: 59.55 kB / 4.726 GB, free: 112.4 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: 341 * Number of variables: 341 Notification: Performance of Generate backend data structure: time 0.006911/10.24, allocations: 2.519 MB / 4.729 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/10.24, allocations: 7 kB / 4.729 GB, free: 111.3 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006307/10.25, allocations: 0.8915 MB / 4.73 GB, free: 111.2 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007112/10.26, allocations: 2.697 MB / 4.732 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.393e-05/10.26, allocations: 50.28 kB / 4.732 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/10.26, allocations: 90.28 kB / 4.732 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002247/10.26, allocations: 1.237 MB / 4.734 GB, free: 110.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002133/10.26, allocations: 1.406 MB / 4.735 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.666e-05/10.26, allocations: 0 / 4.735 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001234/10.26, allocations: 3.469 kB / 4.735 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.702e-05/10.26, allocations: 47.55 kB / 4.735 GB, free: 110.4 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01034/10.27, allocations: 7.611 MB / 4.742 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/10.27, allocations: 0.8698 MB / 4.743 GB, free: 106.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007677/10.27, allocations: 0.5381 MB / 4.744 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000304/10.27, allocations: 276.1 kB / 4.744 GB, free: 106.3 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/10.27, allocations: 48.05 kB / 4.744 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 3.196e-06/10.27, allocations: 0 / 4.744 GB, free: 106.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.004016/10.28, allocations: 1.141 MB / 4.745 GB, free: 106.1 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/10.28, allocations: 59.84 kB / 4.745 GB, free: 106 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001952/10.28, allocations: 1.298 MB / 4.747 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001298/10.28, allocations: 29.64 kB / 4.747 GB, free: 105.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003796/10.28, allocations: 0.6192 MB / 4.747 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/10.28, allocations: 259.6 kB / 4.747 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/10.28, allocations: 0 / 4.747 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 9.249e-05/10.28, allocations: 351.8 kB / 4.748 GB, free: 105 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004845/10.28, allocations: 356.5 kB / 4.748 GB, free: 105 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006798/10.28, allocations: 0.7611 MB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001249/10.28, allocations: 0.5132 MB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.203e-06/10.28, allocations: 2.625 kB / 4.749 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003222/10.29, allocations: 1.349 MB / 4.751 GB, free: 104.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007421/10.29, allocations: 3.844 MB / 4.754 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.358e-05/10.29, allocations: 12.03 kB / 4.754 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004215/10.29, allocations: 104.8 kB / 4.755 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001361/10.29, allocations: 261.9 kB / 4.755 GB, free: 100.3 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002393/10.29, allocations: 2.235 MB / 4.757 GB, free: 98.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002002/10.29, allocations: 164.9 kB / 4.757 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/10.29, allocations: 57.31 kB / 4.757 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.002e-05/10.29, allocations: 3.438 kB / 4.757 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/10.3, allocations: 1.052 MB / 4.758 GB, free: 98.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.854e-05/10.3, allocations: 9.906 kB / 4.758 GB, free: 98.42 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003213/10.3, allocations: 105.6 kB / 4.758 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001038/10.3, allocations: 243.3 kB / 4.759 GB, free: 98.41 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001975/10.3, allocations: 1.64 MB / 4.76 GB, free: 97.21 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001857/10.3, allocations: 142.3 kB / 4.76 GB, free: 97.17 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/10.3, allocations: 58.44 kB / 4.76 GB, free: 97.17 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 (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.0003887/10.3, allocations: 139.2 kB / 4.761 GB, free: 97.06 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003319/10.3, allocations: 187.5 kB / 4.761 GB, free: 96.96 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00314/10.31, allocations: 1.098 MB / 4.762 GB, free: 96.88 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.204e-05/10.31, allocations: 7.375 kB / 4.762 GB, free: 96.88 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/10.31, allocations: 1.125 kB / 4.762 GB, free: 96.88 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002019/10.31, allocations: 0.9238 MB / 4.763 GB, free: 96.7 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005185/10.31, allocations: 2.635 MB / 4.765 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/10.31, allocations: 6.5 kB / 4.765 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/10.31, allocations: 205.4 kB / 4.765 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002845/10.31, allocations: 89.27 kB / 4.766 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.094e-05/10.31, allocations: 17.44 kB / 4.766 GB, free: 96.16 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001971/10.32, allocations: 2.221 MB / 4.768 GB, free: 94.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/10.32, allocations: 3 kB / 4.768 GB, free: 94.38 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002849/10.32, allocations: 1.676 MB / 4.769 GB, free: 93.97 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008323/10.32, allocations: 350.3 kB / 4.77 GB, free: 93.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/10.32, allocations: 3.781 kB / 4.77 GB, free: 93.77 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001169/10.32, allocations: 108.6 kB / 4.77 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.355e-05/10.32, allocations: 47.38 kB / 4.77 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.082e-05/10.32, allocations: 33.7 kB / 4.77 GB, free: 93.76 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001409/10.32, allocations: 0.9783 MB / 4.771 GB, free: 93.61 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004684/10.33, allocations: 1.297 MB / 4.772 GB, free: 93.45 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 (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.005692/10.33, allocations: 4.385 MB / 4.776 GB, free: 91.71 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.00297/10.34, allocations: 1.704 MB / 4.778 GB, free: 91.44 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/10.34, allocations: 0 / 4.778 GB, free: 91.44 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/10.34, allocations: 0.5075 MB / 4.779 GB, free: 91.32 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003985/10.34, allocations: 0.8341 MB / 4.779 GB, free: 91.31 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/10.35, allocations: 2.736 MB / 4.782 GB, free: 90.61 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001401/10.35, allocations: 1.772 MB / 4.784 GB, free: 89.86 MB / 0.9792 GB Notification: Performance of SimCode: time 1.142e-06/10.35, allocations: 3.625 kB / 4.784 GB, free: 89.86 MB / 0.9792 GB Notification: Performance of Templates: time 0.09902/10.45, allocations: 58.81 MB / 4.841 GB, free: 75.18 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)