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: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow",fmuType="me",version="2.0",platforms={"static"}) [: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.389/1.389, allocations: 285.5 MB / 292.8 MB, free: 10.48 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.001106/0.001106, allocations: 185.2 kB / 361.1 MB, free: 7.074 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.189/1.189, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0008342/0.0008341, allocations: 82.02 kB / 0.7325 GB, free: 44.21 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2233/0.2242, allocations: 121.4 MB / 0.8511 GB, free: 2.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.7465, allocations: 115.3 MB / 0.9637 GB, free: 78.19 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.169/3.915, allocations: 2.113 GB / 3.076 GB, free: 40.05 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001841/3.915, allocations: 89.81 kB / 3.076 GB, free: 39.97 MB / 0.948 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 4.799/8.714, allocations: 1.652 GB / 4.729 GB, free: 114 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.333e-05/8.714, allocations: 11.3 kB / 4.729 GB, free: 114 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005828/8.72, allocations: 0.8929 MB / 4.73 GB, free: 113.9 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007273/8.727, allocations: 2.698 MB / 4.732 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.611e-05/8.727, allocations: 45.81 kB / 4.732 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004486/8.728, allocations: 94.16 kB / 4.732 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002607/8.73, allocations: 1.235 MB / 4.734 GB, free: 113.4 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002349/8.733, allocations: 1.404 MB / 4.735 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.21e-05/8.733, allocations: 2.219 kB / 4.735 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/8.733, allocations: 3.906 kB / 4.735 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.295e-05/8.733, allocations: 46.7 kB / 4.735 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009339/8.742, allocations: 7.611 MB / 4.743 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009793/8.743, allocations: 0.8641 MB / 4.743 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006986/8.744, allocations: 0.5372 MB / 4.744 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002863/8.744, allocations: 280.6 kB / 4.744 GB, free: 109 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/8.744, allocations: 42.25 kB / 4.744 GB, free: 109 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=78): time 3.336e-06/8.744, allocations: 1.75 kB / 4.744 GB, free: 109 MB / 0.9792 GB Notification: Performance of matching and sorting (n=78): time 0.003578/8.748, allocations: 1.134 MB / 4.745 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/8.748, allocations: 59.91 kB / 4.745 GB, free: 108.8 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001792/8.75, allocations: 1.303 MB / 4.747 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000114/8.75, allocations: 29.23 kB / 4.747 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003926/8.75, allocations: 0.6225 MB / 4.747 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002388/8.751, allocations: 258.5 kB / 4.748 GB, free: 108 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.705e-05/8.751, allocations: 0 / 4.748 GB, free: 108 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.713e-05/8.751, allocations: 354.8 kB / 4.748 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004791/8.751, allocations: 356.8 kB / 4.748 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/8.752, allocations: 0.769 MB / 4.749 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009891/8.753, allocations: 0.5101 MB / 4.749 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.839e-06/8.753, allocations: 5.594 kB / 4.749 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002687/8.756, allocations: 1.348 MB / 4.751 GB, free: 107 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006571/8.756, allocations: 3.838 MB / 4.755 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/8.756, allocations: 11.47 kB / 4.755 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003593/8.757, allocations: 101.1 kB / 4.755 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/8.758, allocations: 270.6 kB / 4.755 GB, free: 103 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002195/8.76, allocations: 2.227 MB / 4.757 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/8.762, allocations: 171.2 kB / 4.757 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001337/8.762, allocations: 60.62 kB / 4.757 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 6.903e-06/8.762, allocations: 3.594 kB / 4.757 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002271/8.764, allocations: 1.043 MB / 4.758 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/8.764, allocations: 11.41 kB / 4.758 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002722/8.765, allocations: 103.1 kB / 4.758 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009686/8.766, allocations: 246.4 kB / 4.759 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001894/8.767, allocations: 1.639 MB / 4.76 GB, free: 99.96 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/8.769, allocations: 142.2 kB / 4.76 GB, free: 99.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/8.769, allocations: 51.44 kB / 4.76 GB, free: 99.92 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.000339/8.77, allocations: 146.1 kB / 4.761 GB, free: 99.81 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004237/8.77, allocations: 184.7 kB / 4.761 GB, free: 99.71 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002714/8.773, allocations: 1.102 MB / 4.762 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/8.773, allocations: 7.312 kB / 4.762 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/8.773, allocations: 0 / 4.762 GB, free: 99.62 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001728/8.775, allocations: 0.92 MB / 4.763 GB, free: 99.45 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005169/8.78, allocations: 2.64 MB / 4.765 GB, free: 98.91 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/8.78, allocations: 2.406 kB / 4.765 GB, free: 98.91 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001042/8.781, allocations: 205.4 kB / 4.766 GB, free: 98.91 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002854/8.781, allocations: 94.25 kB / 4.766 GB, free: 98.9 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.706e-05/8.781, allocations: 16.2 kB / 4.766 GB, free: 98.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/8.783, allocations: 2.216 MB / 4.768 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/8.783, allocations: 1.469 kB / 4.768 GB, free: 97.12 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003087/8.786, allocations: 1.689 MB / 4.769 GB, free: 96.72 MB / 0.9792 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004251/8.791, allocations: 2.754 MB / 4.772 GB, free: 95.95 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008441/8.791, allocations: 347.8 kB / 4.772 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003983/8.792, allocations: 6.281 kB / 4.772 GB, free: 95.75 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/8.793, allocations: 101.2 kB / 4.773 GB, free: 95.74 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/8.793, allocations: 51.67 kB / 4.773 GB, free: 95.73 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.178e-05/8.793, allocations: 34.3 kB / 4.773 GB, free: 95.73 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001921/8.795, allocations: 0.9783 MB / 4.774 GB, free: 95.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007664/8.803, allocations: 2.303 MB / 4.776 GB, free: 95.43 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.004878/8.808, allocations: 4.393 MB / 4.78 GB, free: 93.68 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.002651/8.811, allocations: 1.687 MB / 4.782 GB, free: 93.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/8.811, allocations: 0 / 4.782 GB, free: 93.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0007069/8.811, allocations: 0.5108 MB / 4.782 GB, free: 93.35 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003657/8.815, allocations: 0.8424 MB / 4.783 GB, free: 93.33 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/8.82, allocations: 2.737 MB / 4.786 GB, free: 92.64 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/8.822, allocations: 1.775 MB / 4.788 GB, free: 91.9 MB / 0.9792 GB Notification: Performance of SimCode: time 8.12e-07/8.822, allocations: 0 / 4.788 GB, free: 91.9 MB / 0.9792 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)