Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_m_flow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.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 8.0.0/package.mo): time 2.357/2.357, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001689/0.001688, allocations: 191.2 kB / 360.4 MB, free: 7.523 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.834/1.834, allocations: 205.1 MB / 0.6188 GB, free: 12.48 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001275/0.001274, allocations: 96.22 kB / 0.7318 GB, free: 45.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.322e-05/1.339e-05, allocations: 4 kB / 0.8502 GB, free: 3.891 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7035/0.7035, allocations: 115.3 MB / 0.9628 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.162/5.865, allocations: 2.112 GB / 3.075 GB, free: 328.5 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/5.866, allocations: 90.84 kB / 3.075 GB, free: 328.5 MB / 1.104 GB Notification: Performance of FrontEnd: time 7.249/13.12, allocations: 1.65 GB / 4.725 GB, free: 9.445 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.000424/13.12, allocations: 64.14 kB / 4.725 GB, free: 9.383 MB / 1.182 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.009784/13.13, allocations: 2.517 MB / 4.728 GB, free: 6.809 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/13.13, allocations: 8.031 kB / 4.728 GB, free: 6.801 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/13.14, allocations: 0.8904 MB / 4.729 GB, free: 5.906 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01276/13.15, allocations: 2.701 MB / 4.731 GB, free: 3.129 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/13.15, allocations: 44 kB / 4.731 GB, free: 3.086 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005462/13.15, allocations: 91.91 kB / 4.731 GB, free: 2.996 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004508/13.15, allocations: 1.235 MB / 4.733 GB, free: 1.758 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004792/13.16, allocations: 1.402 MB / 4.734 GB, free: 300 kB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.173e-05/13.16, allocations: 0 / 4.734 GB, free: 300 kB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002191/13.16, allocations: 0 / 4.734 GB, free: 300 kB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/13.16, allocations: 50.55 kB / 4.734 GB, free: 248 kB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5974/13.76, allocations: 7.603 MB / 4.741 GB, free: 228 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00198/13.76, allocations: 0.8745 MB / 4.742 GB, free: 228 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001423/13.76, allocations: 0.5385 MB / 4.743 GB, free: 228 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004415/13.76, allocations: 281.5 kB / 4.743 GB, free: 227.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/13.76, allocations: 43.91 kB / 4.743 GB, free: 227.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=78): time 3.957e-06/13.76, allocations: 0 / 4.743 GB, free: 227.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=78): time 0.006369/13.77, allocations: 1.147 MB / 4.744 GB, free: 227.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/13.77, allocations: 61.19 kB / 4.744 GB, free: 227.5 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/13.77, allocations: 1.295 MB / 4.746 GB, free: 227.3 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003146/13.77, allocations: 29.2 kB / 4.746 GB, free: 227.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004874/13.77, allocations: 0.6169 MB / 4.746 GB, free: 227 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003808/13.77, allocations: 267.5 kB / 4.746 GB, free: 226.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.342e-05/13.77, allocations: 0 / 4.746 GB, free: 226.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001031/13.77, allocations: 345.6 kB / 4.747 GB, free: 226.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009502/13.77, allocations: 352.8 kB / 4.747 GB, free: 226.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/13.77, allocations: 0.7631 MB / 4.748 GB, free: 226 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001801/13.78, allocations: 0.5167 MB / 4.748 GB, free: 226 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/13.78, allocations: 3.875 kB / 4.748 GB, free: 226 MB / 1.182 GB Notification: Performance of matching and sorting (n=128) (initialization): time 0.005149/13.78, allocations: 1.343 MB / 4.75 GB, free: 225.9 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008734/13.78, allocations: 3.839 MB / 4.753 GB, free: 221.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/13.78, allocations: 9.406 kB / 4.753 GB, free: 221.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000641/13.78, allocations: 102.7 kB / 4.754 GB, free: 221.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002616/13.78, allocations: 267.6 kB / 4.754 GB, free: 221.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003621/13.79, allocations: 2.233 MB / 4.756 GB, free: 220.1 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003158/13.79, allocations: 170.4 kB / 4.756 GB, free: 220.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/13.79, allocations: 58 kB / 4.756 GB, free: 220.1 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/13.79, allocations: 2.375 kB / 4.756 GB, free: 220.1 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004203/13.8, allocations: 1.054 MB / 4.757 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.937e-05/13.8, allocations: 8.156 kB / 4.757 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004674/13.8, allocations: 102.4 kB / 4.757 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002006/13.8, allocations: 240.7 kB / 4.758 GB, free: 220 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003066/13.8, allocations: 1.646 MB / 4.759 GB, free: 218.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002849/13.8, allocations: 144.5 kB / 4.759 GB, free: 218.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/13.81, allocations: 48.47 kB / 4.759 GB, free: 218.8 MB / 1.182 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.0004643/13.81, allocations: 137.1 kB / 4.759 GB, free: 218.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004539/13.81, allocations: 188.8 kB / 4.76 GB, free: 218.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004802/13.81, allocations: 1.099 MB / 4.761 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/13.81, allocations: 9 kB / 4.761 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.162e-06/13.81, allocations: 6 kB / 4.761 GB, free: 218.5 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003435/13.81, allocations: 0.9113 MB / 4.762 GB, free: 218.3 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008595/13.82, allocations: 2.645 MB / 4.764 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.767e-06/13.82, allocations: 0 / 4.764 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002047/13.83, allocations: 206.7 kB / 4.764 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/13.83, allocations: 91.23 kB / 4.764 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001095/13.83, allocations: 15.39 kB / 4.765 GB, free: 217.8 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003203/13.83, allocations: 2.214 MB / 4.767 GB, free: 216 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.593e-06/13.83, allocations: 7.594 kB / 4.767 GB, free: 216 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00511/13.83, allocations: 1.67 MB / 4.768 GB, free: 215.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/13.84, allocations: 347.3 kB / 4.769 GB, free: 215.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004324/13.84, allocations: 7.875 kB / 4.769 GB, free: 215.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/13.84, allocations: 105.8 kB / 4.769 GB, free: 215.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002187/13.84, allocations: 47.2 kB / 4.769 GB, free: 215.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/13.84, allocations: 33.66 kB / 4.769 GB, free: 215.4 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.002543/13.84, allocations: 0.9846 MB / 4.77 GB, free: 215.3 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007838/13.85, allocations: 1.294 MB / 4.771 GB, free: 215.2 MB / 1.182 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.007983/13.86, allocations: 4.389 MB / 4.775 GB, free: 213.6 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.005183/13.86, allocations: 1.69 MB / 4.777 GB, free: 213.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/13.86, allocations: 0 / 4.777 GB, free: 213.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/13.86, allocations: 0.5129 MB / 4.777 GB, free: 213.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007566/13.87, allocations: 0.8361 MB / 4.778 GB, free: 213.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009182/13.88, allocations: 2.733 MB / 4.781 GB, free: 212.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002492/13.88, allocations: 1.769 MB / 4.783 GB, free: 211.8 MB / 1.182 GB Notification: Performance of SimCode: time 1.563e-06/13.88, allocations: 2.312 kB / 4.783 GB, free: 211.8 MB / 1.182 GB Notification: Performance of Templates: time 0.15/14.03, allocations: 58.81 MB / 4.84 GB, free: 210.5 MB / 1.182 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.sim & ./Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Movers.Validation.FlowControlled_m_flow.pipe 2>&1)