Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.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_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp") translateModel(Buildings.Fluid.Movers.Validation.FlowControlled_dp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp") [: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.53/1.53, 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.001427/0.001427, allocations: 183.3 kB / 361.1 MB, free: 7.117 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.461/1.461, 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.0009462/0.0009463, allocations: 93.45 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.756e-06/8.786e-06, allocations: 0 / 0.8511 GB, free: 3.004 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6471/0.6471, allocations: 115.3 MB / 0.9637 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.736/4.384, allocations: 2.113 GB / 3.076 GB, free: 20.27 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/4.384, allocations: 93.2 kB / 3.077 GB, free: 20.18 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.996/10.38, allocations: 1.65 GB / 4.727 GB, free: 113.8 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004827/10.38, allocations: 63.39 kB / 4.727 GB, free: 113.8 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: 345 * Number of variables: 345 Notification: Performance of Generate backend data structure: time 0.009243/10.39, allocations: 2.531 MB / 4.729 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/10.39, allocations: 7.188 kB / 4.729 GB, free: 112.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007043/10.4, allocations: 0.8886 MB / 4.73 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009508/10.41, allocations: 2.712 MB / 4.733 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001309/10.41, allocations: 46.22 kB / 4.733 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006866/10.41, allocations: 90.62 kB / 4.733 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003366/10.41, allocations: 1.25 MB / 4.734 GB, free: 112.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004317/10.41, allocations: 1.41 MB / 4.736 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.429e-05/10.41, allocations: 4.75 kB / 4.736 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002967/10.42, allocations: 5.094 kB / 4.736 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.327e-05/10.42, allocations: 54.89 kB / 4.736 GB, free: 111.9 MB / 0.9792 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/10.43, allocations: 7.629 MB / 4.743 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/10.43, allocations: 0.8966 MB / 4.744 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009318/10.43, allocations: 0.5432 MB / 4.745 GB, free: 108 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003493/10.43, allocations: 280.3 kB / 4.745 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.767e-05/10.43, allocations: 42.69 kB / 4.745 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=81): time 4.599e-06/10.43, allocations: 0 / 4.745 GB, free: 107.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=81): time 0.00492/10.44, allocations: 1.2 MB / 4.746 GB, free: 107.5 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/10.44, allocations: 59.56 kB / 4.746 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002689/10.44, allocations: 1.302 MB / 4.747 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001776/10.44, allocations: 26.92 kB / 4.747 GB, free: 107.2 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005172/10.44, allocations: 0.6278 MB / 4.748 GB, free: 106.9 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003347/10.44, allocations: 279.5 kB / 4.748 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.245e-05/10.44, allocations: 0 / 4.748 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001011/10.44, allocations: 343.4 kB / 4.749 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006381/10.44, allocations: 360.7 kB / 4.749 GB, free: 106.4 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008862/10.44, allocations: 0.7679 MB / 4.75 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/10.44, allocations: 0.5133 MB / 4.75 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/10.44, allocations: 3.531 kB / 4.75 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003519/10.45, allocations: 1.405 MB / 4.752 GB, free: 105.7 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008941/10.45, allocations: 3.847 MB / 4.755 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.842e-05/10.45, allocations: 10.34 kB / 4.755 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005109/10.45, allocations: 134.8 kB / 4.755 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001268/10.45, allocations: 269.4 kB / 4.756 GB, free: 101.7 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002775/10.45, allocations: 3.387 MB / 4.759 GB, free: 98.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002176/10.45, allocations: 163.6 kB / 4.759 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/10.45, allocations: 58.94 kB / 4.759 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 8.657e-06/10.45, allocations: 3.281 kB / 4.759 GB, free: 98.75 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00262/10.46, allocations: 1.165 MB / 4.76 GB, free: 98.62 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/10.46, allocations: 11.95 kB / 4.76 GB, free: 98.62 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/10.46, allocations: 132.7 kB / 4.761 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/10.46, allocations: 245.8 kB / 4.761 GB, free: 98.61 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002664/10.46, allocations: 3.043 MB / 4.764 GB, free: 96.14 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002004/10.46, allocations: 137.5 kB / 4.764 GB, free: 96.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/10.46, allocations: 57.69 kB / 4.764 GB, free: 96.1 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 (121): * Single equations (assignments): 115 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0004241/10.46, allocations: 140 kB / 4.764 GB, free: 95.97 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003813/10.46, allocations: 186 kB / 4.764 GB, free: 95.87 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003104/10.47, allocations: 1.231 MB / 4.765 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/10.47, allocations: 11.12 kB / 4.765 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.433e-06/10.47, allocations: 3.75 kB / 4.765 GB, free: 95.67 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00195/10.47, allocations: 1.035 MB / 4.766 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005388/10.47, allocations: 2.703 MB / 4.769 GB, free: 94.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/10.47, allocations: 0 / 4.769 GB, free: 94.83 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/10.47, allocations: 215.6 kB / 4.769 GB, free: 94.82 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003597/10.48, allocations: 115.4 kB / 4.769 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.524e-05/10.48, allocations: 17.53 kB / 4.769 GB, free: 94.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003004/10.48, allocations: 4.71 MB / 4.774 GB, free: 90.57 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/10.48, allocations: 0 / 4.774 GB, free: 90.57 MB / 0.9792 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003286/10.48, allocations: 1.812 MB / 4.776 GB, free: 90.06 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001007/10.48, allocations: 352.4 kB / 4.776 GB, free: 89.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002474/10.48, allocations: 5.438 kB / 4.776 GB, free: 89.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001231/10.48, allocations: 101.3 kB / 4.776 GB, free: 89.85 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001139/10.48, allocations: 58.28 kB / 4.776 GB, free: 89.84 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-05/10.48, allocations: 36.8 kB / 4.776 GB, free: 89.84 MB / 0.9792 GB Notification: Performance of sort global known variables: time 0.001575/10.49, allocations: 0.9807 MB / 4.777 GB, free: 89.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.004581/10.49, allocations: 1.292 MB / 4.779 GB, free: 89.54 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 (79): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.006003/10.5, allocations: 4.398 MB / 4.783 GB, free: 87.78 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003621/10.5, allocations: 1.838 MB / 4.785 GB, free: 87.4 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.543e-06/10.5, allocations: 0 / 4.785 GB, free: 87.4 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0009745/10.5, allocations: 0.6444 MB / 4.785 GB, free: 87.18 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005192/10.51, allocations: 0.851 MB / 4.786 GB, free: 87.15 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/10.51, allocations: 2.778 MB / 4.789 GB, free: 86.45 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001531/10.51, allocations: 1.775 MB / 4.791 GB, free: 85.71 MB / 0.9792 GB Notification: Performance of SimCode: time 6.91e-07/10.51, allocations: 0 / 4.791 GB, free: 85.71 MB / 0.9792 GB Notification: Performance of Templates: time 0.1106/10.62, allocations: 59.83 MB / 4.849 GB, free: 65.59 MB / 0.9792 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Movers.Validation.FlowControlled_dp.pipe 2>&1)