Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.258/1.258, allocations: 249.4 MB / 256.7 MB, free: 7.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 195.4 kB / 316 MB, free: 3.52 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.167/1.167, allocations: 205.2 MB / 0.5667 GB, free: 15.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008906/0.0008906, allocations: 89.66 kB / 0.671 GB, free: 4.676 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.3624/0.3633, allocations: 112.5 MB / 0.7808 GB, free: 102.9 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.5331, allocations: 106.3 MB / 0.8846 GB, free: 12.5 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.795/4.328, allocations: 2.232 GB / 3.116 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001926/4.328, allocations: 87.95 kB / 3.117 GB, free: 168.8 MB / 0.8698 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 4.575/8.903, allocations: 1.602 GB / 4.718 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.517e-05/8.903, allocations: 11.44 kB / 4.718 GB, free: 110.3 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005982/8.909, allocations: 0.8785 MB / 4.719 GB, free: 110.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007383/8.917, allocations: 2.701 MB / 4.722 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-05/8.917, allocations: 48 kB / 4.722 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005743/8.917, allocations: 86.69 kB / 4.722 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003001/8.92, allocations: 1.243 MB / 4.723 GB, free: 109.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002214/8.923, allocations: 1.407 MB / 4.724 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.461e-05/8.923, allocations: 6.875 kB / 4.724 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001195/8.923, allocations: 0 / 4.724 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.891e-05/8.923, allocations: 54.67 kB / 4.724 GB, free: 109.5 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009278/8.932, allocations: 7.611 MB / 4.732 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001072/8.933, allocations: 0.8809 MB / 4.733 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006873/8.934, allocations: 0.5433 MB / 4.733 GB, free: 105.7 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/8.934, allocations: 281.4 kB / 4.734 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.189e-05/8.934, allocations: 42.75 kB / 4.734 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=78): time 2.856e-06/8.934, allocations: 0 / 4.734 GB, free: 105.4 MB / 0.9167 GB Notification: Performance of matching and sorting (n=78): time 0.003338/8.938, allocations: 1.128 MB / 4.735 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.059e-05/8.938, allocations: 58.47 kB / 4.735 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001776/8.939, allocations: 1.304 MB / 4.736 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/8.94, allocations: 27.86 kB / 4.736 GB, free: 104.9 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/8.94, allocations: 0.6261 MB / 4.737 GB, free: 104.6 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002553/8.94, allocations: 268.5 kB / 4.737 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.099e-05/8.94, allocations: 0 / 4.737 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/8.94, allocations: 345.5 kB / 4.737 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004954/8.941, allocations: 355.5 kB / 4.738 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/8.941, allocations: 0.7573 MB / 4.738 GB, free: 103.7 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001069/8.942, allocations: 0.5159 MB / 4.739 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.438e-06/8.943, allocations: 0 / 4.739 GB, free: 103.6 MB / 0.9167 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002829/8.945, allocations: 1.348 MB / 4.74 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006926/8.946, allocations: 3.834 MB / 4.744 GB, free: 99.51 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/8.946, allocations: 10.59 kB / 4.744 GB, free: 99.51 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003699/8.946, allocations: 107.8 kB / 4.744 GB, free: 99.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001204/8.948, allocations: 271.3 kB / 4.744 GB, free: 99.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002073/8.95, allocations: 2.216 MB / 4.746 GB, free: 97.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/8.952, allocations: 164.9 kB / 4.747 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/8.952, allocations: 57.12 kB / 4.747 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 7.815e-06/8.952, allocations: 3.188 kB / 4.747 GB, free: 97.67 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002253/8.954, allocations: 1.043 MB / 4.748 GB, free: 97.64 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/8.954, allocations: 9.188 kB / 4.748 GB, free: 97.64 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002587/8.954, allocations: 108.3 kB / 4.748 GB, free: 97.63 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009349/8.955, allocations: 250.1 kB / 4.748 GB, free: 97.63 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/8.957, allocations: 1.63 MB / 4.75 GB, free: 96.42 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001661/8.959, allocations: 140.9 kB / 4.75 GB, free: 96.39 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/8.959, allocations: 58 kB / 4.75 GB, free: 96.39 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 (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.0004283/8.959, allocations: 145 kB / 4.75 GB, free: 96.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003496/8.96, allocations: 186.3 kB / 4.75 GB, free: 96.17 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002808/8.963, allocations: 1.097 MB / 4.751 GB, free: 96.09 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/8.963, allocations: 11.47 kB / 4.751 GB, free: 96.09 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/8.963, allocations: 0 / 4.751 GB, free: 96.09 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001741/8.964, allocations: 0.9104 MB / 4.752 GB, free: 95.91 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00467/8.969, allocations: 2.635 MB / 4.755 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/8.969, allocations: 3.688 kB / 4.755 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/8.97, allocations: 201.7 kB / 4.755 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00027/8.97, allocations: 95.08 kB / 4.755 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/8.97, allocations: 13.28 kB / 4.755 GB, free: 95.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/8.972, allocations: 2.209 MB / 4.757 GB, free: 93.58 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/8.972, allocations: 0 / 4.757 GB, free: 93.58 MB / 0.9167 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002685/8.975, allocations: 1.67 MB / 4.759 GB, free: 93.18 MB / 0.9167 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003928/8.979, allocations: 2.752 MB / 4.761 GB, free: 92.4 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009166/8.98, allocations: 356.8 kB / 4.762 GB, free: 92.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/8.98, allocations: 3.938 kB / 4.762 GB, free: 92.2 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00123/8.981, allocations: 108.5 kB / 4.762 GB, free: 92.19 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001012/8.981, allocations: 38.5 kB / 4.762 GB, free: 92.19 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.436e-05/8.982, allocations: 38.53 kB / 4.762 GB, free: 92.19 MB / 0.9167 GB Notification: Performance of sort global known variables: time 0.00145/8.983, allocations: 0.9795 MB / 4.763 GB, free: 92.05 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.007533/8.991, allocations: 2.281 MB / 4.765 GB, free: 91.89 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 (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.004542/8.995, allocations: 4.396 MB / 4.769 GB, free: 90.13 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.002619/8.998, allocations: 1.678 MB / 4.771 GB, free: 89.9 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/8.998, allocations: 0 / 4.771 GB, free: 89.9 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0006459/8.998, allocations: 0.5045 MB / 4.772 GB, free: 89.8 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/9.002, allocations: 0.8481 MB / 4.772 GB, free: 89.76 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005516/9.008, allocations: 2.743 MB / 4.775 GB, free: 89.05 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001377/9.009, allocations: 1.784 MB / 4.777 GB, free: 88.32 MB / 0.9167 GB Notification: Performance of SimCode: time 1.052e-06/9.009, allocations: 0 / 4.777 GB, free: 88.32 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Movers_Validation_FlowControlled_m_flow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)